/* ============================================================
   Cookie Banner — RGPD / LSSI
   ============================================================ */

#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #1a1a2e;
    color: #e0e0e0;
    padding: 1rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.4);
    font-size: 0.9rem;
    border-top: 3px solid #4a7c59;
}

#cookie-banner.d-none {
    display: none !important;
}

.cookie-banner__text {
    flex: 1 1 300px;
}

.cookie-banner__text p {
    margin: 0;
    line-height: 1.5;
}

.cookie-banner__text a {
    color: #7ecf9e;
    text-decoration: underline;
}

.cookie-banner__text a:hover {
    color: #a8dfbe;
}

.cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    flex-shrink: 0;
}

.cookie-banner__actions .btn {
    white-space: nowrap;
    min-width: 120px;
}

@media (max-width: 576px) {
    #cookie-banner {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-banner__actions {
        flex-direction: column;
    }

    .cookie-banner__actions .btn {
        width: 100%;
    }
}
