/* Cookie Consent Banner - RGPD Compliant */

.cookie-consent-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    background: rgba(26, 26, 26, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 169, 98, 0.2);
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    max-width: 380px;
    padding: 1.25rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cookie-consent-banner.show {
    opacity: 1;
    transform: translateY(0);
}

.cookie-consent-content {
    display: block;
}

.cookie-consent-icon {
    display: none;
}

.cookie-consent-text {
    margin-bottom: 1rem;
}

.cookie-consent-title {
    color: #c9a962;
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.3px;
}

.cookie-consent-message {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.8125rem;
    line-height: 1.5;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
}

.cookie-consent-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem;
}

.cookie-consent-btn {
    padding: 0.625rem 1rem;
    border: none;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.cookie-consent-btn-accept {
    background: #c9a962;
    color: #0d0d0d;
}

.cookie-consent-btn-accept:hover {
    background: #d4b56d;
    transform: translateY(-1px);
}

.cookie-consent-btn-reject {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cookie-consent-btn-reject:hover {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.25);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .cookie-consent-banner {
        bottom: 0;
        right: 0;
        left: 0;
        max-width: 100%;
        border-radius: 12px 12px 0 0;
        border-bottom: none;
        padding: 1.25rem;
    }

    .cookie-consent-text {
        margin-bottom: 1rem;
    }

    .cookie-consent-title {
        font-size: 0.875rem;
    }

    .cookie-consent-message {
        font-size: 0.8125rem;
    }

    .cookie-consent-actions {
        grid-template-columns: 1fr 1fr;
        gap: 0.625rem;
    }

    .cookie-consent-btn {
        padding: 0.75rem 1rem;
        font-size: 0.8125rem;
    }
}

@media (max-width: 480px) {
    .cookie-consent-banner {
        padding: 1rem;
    }

    .cookie-consent-message {
        font-size: 0.75rem;
    }

    .cookie-consent-btn {
        padding: 0.625rem 0.875rem;
        font-size: 0.75rem;
    }
}

/* Animation pour l'entrée */
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Bouton de gestion des cookies (optionnel pour footer) */
.cookie-settings-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cookie-settings-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(201, 169, 98, 0.5);
    color: #c9a962;
}

.cookie-settings-btn .material-symbols-outlined {
    font-size: 16px;
}
