/* Styles pour la bannière de consentement des cookies */
#cookieConsentBanner {
    display: none; /* Cachée par défaut, gérée par JS */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333; /* Fond gris foncé */
    color: white; /* Texte blanc */
    text-align: center;
    padding: 15px;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.2); /* Ombre légère en haut */
    z-index: 1000; /* Assure qu'elle est au-dessus des autres éléments */
    box-sizing: border-box; /* Inclut le padding dans la largeur/hauteur */
}

#cookieConsentBanner p {
    margin: 0;
    margin-bottom: 10px; /* Espace entre le texte et les boutons */
}

#cookieConsentBanner a {
    color: lightblue; /* Couleur du lien "En savoir plus" */
    text-decoration: none;
    font-weight: bold;
}

#cookieConsentBanner a:hover {
    text-decoration: underline;
}

#cookieConsentBanner button {
    border: none;
    padding: 8px 15px;
    margin: 0 5px; /* Marge autour des boutons */
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease; /* Effet de transition au survol */
}

#acceptCookies {
    background-color: #4CAF50; /* Vert pour "Accepter" */
    color: white;
}

#acceptCookies:hover {
    background-color: #45a049; /* Vert plus foncé au survol */
}

#declineCookies {
    background-color: #f44336; /* Rouge pour "Refuser" */
    color: white;
}

#declineCookies:hover {
    background-color: #da190b; /* Rouge plus foncé au survol */
}

/* Media Queries pour la responsivité (optionnel mais recommandé) */
@media (max-width: 600px) {
    #cookieConsentBanner {
        flex-direction: column; /* Les éléments s'empilent sur les petits écrans */
        padding: 10px;
    }
    #cookieConsentBanner p {
        margin-bottom: 10px;
    }
    #cookieConsentBanner button {
        width: calc(100% - 10px); /* Les boutons prennent presque toute la largeur */
        margin: 5px 0; /* Marge verticale entre les boutons */
    }
}