/* ========================================
   Cookie Consent Banner
   ======================================== */

.cookie-consent-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9998;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #1a1a1a;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    padding: 24px 32px;
    font-family: "Roboto", "roboto-light", sans-serif;
    color: #ccc;
    max-height: 48vh;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.4s 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;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.cookie-consent-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 12px 0;
    flex-shrink: 0;
}

.cookie-consent-body {
    overflow-y: auto;
    flex: 1 1 auto;
    padding-right: 8px;
    margin-bottom: 4px;
}

.cookie-consent-body::-webkit-scrollbar {
    width: 6px;
}

.cookie-consent-body::-webkit-scrollbar-track {
    background: #2a2a2a;
    border-radius: 3px;
}

.cookie-consent-body::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 3px;
}

.cookie-consent-body::-webkit-scrollbar-thumb:hover {
    background: #777;
}

.cookie-consent-body p {
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 6px 0;
    color: #b0b0b0;
}

.cookie-consent-body a {
    color: #64b5f6;
    text-decoration: none;
}

.cookie-consent-body a:hover {
    color: #90caf9;
    text-decoration: underline;
}

.cookie-consent-body ul {
    margin: 4px 0 10px 20px;
    padding: 0;
}

.cookie-consent-body ul li {
    font-size: 13px;
    line-height: 1.6;
    color: #b0b0b0;
}

.cookie-consent-body strong {
    color: #e0e0e0;
}

.cookie-consent-body em {
    color: #999;
}

.cookie-consent-actions {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    margin-top: 16px;
    flex-shrink: 0;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cookie-consent-btn {
    padding: 10px 32px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    font-family: "Roboto", sans-serif;
    cursor: pointer;
    border: none;
    transition: background-color 0.2s ease, transform 0.1s ease;
    min-width: 140px;
}

.cookie-consent-btn:active {
    transform: scale(0.97);
}

.cookie-consent-btn-reject {
    background: #3a3a3a;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cookie-consent-btn-reject:hover {
    background: #4a4a4a;
}

.cookie-consent-btn-accept {
    background: #2196F3;
    color: #fff;
}

.cookie-consent-btn-accept:hover {
    background: #1e88e5;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .cookie-consent-banner {
        padding: 16px 20px;
        max-height: 70vh;
    }

    .cookie-consent-title {
        font-size: 16px;
    }

    .cookie-consent-body p,
    .cookie-consent-body ul li {
        font-size: 12px;
    }

    .cookie-consent-actions {
        flex-direction: column;
        gap: 10px;
    }

    .cookie-consent-btn {
        width: 100%;
    }
}
