/* ----------------------------------------------- */
/* Styles pour l'affichage des messages tournants  */
/* ----------------------------------------------- */
#rotating-message-container {
    background-color: #2563EB; /* Fond noir */
    color: #FFFFFF; /* Texte blanc */
    padding: 10px 15px; /* Réduit le padding vertical pour moins de hauteur */
    text-align: center;
    font-family: sans-serif;
    min-height: 40px; /* Réduit la hauteur minimale */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-sizing: border-box;
}

#rotating-message-text {
    margin: 0;
    font-size: 1em; /* Taille de police par défaut */
    font-weight: 500;
    white-space: nowrap; 
    transition: opacity 0.5s ease-in-out; 
    line-height: 1.2;
}

/* ------------------------------------------------------------------- */
/* Styles Responsive (Mobile) */
/* ------------------------------------------------------------------- */
@media (max-width: 600px) {
    #rotating-message-container {
        padding: 8px 10px; /* Encore moins de padding sur mobile */
        min-height: 30px; 
    }
    #rotating-message-text {
        font-size: 0.9em; /* Texte légèrement plus petit sur mobile pour s'adapter */
        white-space: normal; /* Permet le retour à la ligne si le message est très long */
        padding: 0 5px;
    }
}

/* ------------------------------------------------------------------- */
/* Styles pour les Liens/Texte */
/* ------------------------------------------------------------------- */
#rotating-message-text a,
#rotating-message-text span {
    color: inherit; 
    text-decoration: none;
    transition: color 0.3s;
    cursor: default; 
    display: block; 
}

#rotating-message-text a {
    cursor: pointer;
    text-decoration: underline;
}

#rotating-message-text a:hover {
    color: #4299e1; /* Couleur d'accentuation bleue */
}