/* Bannière cookie - Position fixe en bas */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
    background: #1e1e2e;
    /* Même fond que ton site */
    color: #eee;
    padding: 16px 24px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.3);
    border-top: 2px solid #ff6b6b;
    font-family: system-ui, -apple-system, sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out;
    box-sizing: border-box;
}

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

.cookie-consent-banner p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    flex: 1;
    min-width: 200px;
}

.cookie-consent-banner .cookie-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.cookie-consent-banner .cookie-btn {
    padding: 8px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.cookie-consent-banner .cookie-btn-accept {
    background: #ff6b6b;
    color: white;
}

.cookie-consent-banner .cookie-btn-accept:hover {
    background: #e55555;
}

.cookie-consent-banner .cookie-btn-decline {
    background: #3a3a4a;
    color: #ccc;
}

.cookie-consent-banner .cookie-btn-decline:hover {
    background: #4a4a5a;
}

.cookie-consent-banner .cookie-btn-settings {
    background: transparent;
    color: #aaa;
    text-decoration: underline;
    padding: 8px 12px;
}

.cookie-consent-banner .cookie-btn-settings:hover {
    color: #fff;
}

/* Lien vers la politique de cookies (si tu en as une) */
.cookie-consent-banner .cookie-policy-link {
    color: #ff6b6b;
    text-decoration: underline;
    margin-left: 4px;
}

.cookie-consent-banner .cookie-policy-link:hover {
    color: #ff4444;
}

/* Responsive */
@media (max-width: 600px) {
    .cookie-consent-banner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 16px;
    }

    .cookie-consent-banner .cookie-buttons {
        justify-content: center;
        width: 100%;
    }

    .cookie-consent-banner .cookie-btn {
        flex: 1;
        text-align: center;
        min-width: 80px;
    }
}

/* 🔥 FORCER LES STYLES DE LA BANNIÈRE (pour contrer login.css) */
.cookie-consent-banner .cookie-btn {
    width: auto !important;
    min-width: 80px !important;
    max-width: 150px !important;
    padding: 8px 20px !important;
    margin: 0 !important;
    display: inline-block !important;
    flex: 0 1 auto !important;
}

.cookie-consent-banner .cookie-buttons {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: auto !important;
}

.cookie-consent-banner {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 15px !important;
    padding: 16px 24px !important;
    min-height: 70px !important;
}