/* ============================================================
   Cookie Consent Banner — cookieconsent.css
   ============================================================ */

.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: #1a1a2e;
    color: #f0f0f0;
    padding: 18px 24px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.35);
    font-family: inherit;
    animation: slideUp 0.4s ease-out;
}

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

/* Masqué par défaut si le consentement est déjà enregistré */
.cookie-consent-banner.cookie-hidden {
    display: none;
}

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

.cookie-consent-text {
    flex: 1 1 300px;
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #ddd;
}

.cookie-consent-text strong {
    color: #fff;
}

.cookie-consent-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

/* Boutons */
.cookie-btn {
    cursor: pointer;
    border: none;
    border-radius: 6px;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.15s ease, opacity 0.15s ease;
    white-space: nowrap;
}

.cookie-btn:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

.cookie-btn-accept {
    background: #4caf50;
    color: #fff;
}

.cookie-btn-refuse {
    background: transparent;
    color: #ccc;
    border: 1px solid #555;
}

.cookie-btn-refuse:hover {
    border-color: #aaa;
    color: #fff;
}

/* Responsive */
@media (max-width: 600px) {
    .cookie-consent-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-consent-buttons {
        justify-content: center;
    }
}
