/**
 * Cookie Consent Banner Styles.
 *
 * TASARIM KARARLARI:
 * - Fixed bottom: mobilde de görünür.
 * - Glassmorphism: backdrop-filter blur.
 * - Dark theme: koyu arka plan, yüksek kontrast.
 * - Animate slide-up on show.
 * - Mobile responsive: full-width on small screens.
 */

#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

#cookie-consent-banner.show {
    transform: translateY(0);
    pointer-events: auto;
}

.cookie-banner-inner {
    background: rgba(15, 23, 42, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    padding: 1.5rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.cookie-banner-inner h6 {
    color: #fff;
    font-weight: 600;
}

.cookie-banner-inner p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #94a3b8;
    margin-bottom: 1rem;
}

.cookie-banner-inner a {
    color: #60a5fa;
    text-decoration: underline;
}

.cookie-btn-group {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cookie-btn-group .btn {
    min-width: 140px;
    font-weight: 500;
    border-radius: 8px;
    padding: 0.6rem 1.5rem;
}

#cookie-consent-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#cookie-consent-details.show {
    max-height: 400px;
}

.consent-category {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.consent-category label {
    font-size: 0.875rem;
    color: #cbd5e1;
}

.consent-category small {
    color: #64748b;
    font-size: 0.75rem;
}

/* Toggle switch */
.form-check-input.consent-toggle {
    width: 3rem;
    height: 1.5rem;
    cursor: pointer;
}

.form-check-input.consent-toggle:checked {
    background-color: #2563eb;
    border-color: #2563eb;
}

@media (max-width: 768px) {
    .cookie-btn-group {
        flex-direction: column;
    }
    .cookie-btn-group .btn {
        min-width: 100%;
    }
}
