/**
 * Cookie Consent Banner Styles
 * GDPR/KVKK uyumlu cookie consent banner stilleri
 */

.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    padding: 20px;
    border-top: 3px solid #F4B22F;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.cookie-consent-text {
    flex: 1;
    min-width: 300px;
}

.cookie-consent-text h4 {
    color: #F4B22F;
    font-size: 1.2rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-consent-text p {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 0.95rem;
    line-height: 1.6;
}

.cookie-consent-links {
    margin-top: 10px;
    font-size: 0.9rem;
}

.cookie-consent-links a {
    color: #F4B22F;
    text-decoration: none;
    font-weight: 500;
}

.cookie-consent-links a:hover {
    text-decoration: underline;
}

.cookie-consent-links .separator {
    margin: 0 10px;
    color: #ccc;
}

.cookie-consent-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-consent-actions .btn {
    white-space: nowrap;
}

.cookie-consent-settings {
    max-width: 1200px;
    margin: 20px auto 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.cookie-consent-settings h5 {
    color: #F4B22F;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.cookie-setting-item {
    margin-bottom: 15px;
    padding: 15px;
    background: white;
    border-radius: 5px;
    border: 1px solid #e9ecef;
}

.cookie-setting-item .form-check-label {
    display: block;
    cursor: pointer;
}

.cookie-setting-item .form-check-label strong {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.cookie-setting-item .form-check-label small {
    display: block;
    color: #666;
    font-size: 0.85rem;
}

.cookie-settings-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cookie-consent-actions {
        width: 100%;
    }
    
    .cookie-consent-actions .btn {
        flex: 1;
    }
    
    .cookie-consent-text h4 {
        font-size: 1rem;
    }
    
    .cookie-consent-text p {
        font-size: 0.9rem;
    }
}

/* Light mode / Dark mode desteği */
body.lightmode .cookie-consent-banner {
    background: #fff;
    color: #333;
}

body.darkmode .cookie-consent-banner {
    background: #1a1a1a;
    color: #fff;
}

body.darkmode .cookie-consent-text p {
    color: #ccc;
}

body.darkmode .cookie-consent-settings {
    background: #2a2a2a;
    border-color: #444;
}

body.darkmode .cookie-setting-item {
    background: #333;
    border-color: #444;
}

body.darkmode .cookie-setting-item .form-check-label strong {
    color: #fff;
}

body.darkmode .cookie-setting-item .form-check-label small {
    color: #aaa;
}

