/* Bandeau de consentement aux cookies - AéroMétéo */
#cookie-consent-banner[hidden] {
    display: none;
}

#cookie-consent-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 24px;
    padding: 14px 20px;
    background: #1b1b1b;
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.4);
    border-top: 1px solid #333;
}

#cookie-consent-banner .cc-message {
    margin: 0;
    max-width: 720px;
}

#cookie-consent-banner .cc-message a {
    color: #8ecbff;
    text-decoration: underline;
}

#cookie-consent-banner .cc-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

#cookie-consent-banner .cc-btn {
    min-width: 130px;
    padding: 9px 16px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

#cookie-consent-banner .cc-btn-accept {
    background: #2f6fed;
    border: 1px solid #2f6fed;
    color: #fff;
}

#cookie-consent-banner .cc-btn-accept:hover {
    background: #1f5cd6;
    border-color: #1f5cd6;
}

#cookie-consent-banner .cc-btn-refuse {
    background: transparent;
    border: 1px solid #888;
    color: #fff;
}

#cookie-consent-banner .cc-btn-refuse:hover {
    background: #333;
    border-color: #aaa;
}

/* Bouton "Gérer mes cookies" du pied de page */
.cc-manage {
    background: none;
    border: none;
    padding: 0;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    text-decoration: underline;
    cursor: pointer;
}

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

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