/* Barre principale */
#sherkane-gamification-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 90%;
    max-width: 1200px;
    margin: 10px auto 0 auto;
    z-index: 9999;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 15px;
    border: 2px solid #0a8840;
    border-radius: 8px;
}

/* Padding global pour éviter de cacher le haut du site */
body {
    padding-top: 65px;
} 

/* Texte */
#sherkane-gamification-bar .gamif-message {
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
}



/* Barre de progression */
#sherkane-gamification-bar .progress {
    background: #f0f0f0;
    height: 12px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 0; /* Nettoyage */
}

#sherkane-gamification-bar .progress-bar {
    background: #0a8840;
    height: 100%;
    width: 0%;
    transition: width 0.4s ease;
}

/* Style pour les éléments dynamiques */
.gamif-highlight {
    color: #0a8840; /* La couleur jaune que tu utilises déjà */
    font-weight: bold;
    /* Tu peux ajouter d'autres styles ici si besoin, ex: text-decoration: underline; */
}

/* On garde le reste du texte en noir pour bien faire ressortir les éléments colorés */
#sherkane-gamification-bar .gamif-message {
    color: #333; 
}

@media (max-width: 767px) {
    #sherkane-gamification-bar {
        padding: 10px;
    }
    body {
    padding-top: 65px;
    }

    #sherkane-gamification-bar .gamif-message {
		display: block !important;
        font-size: 12px;
        margin-bottom: 5px;
    }
    #sherkane-gamification-bar .progress {
        height: 8px;
    }
}

/* Style pour les éléments dynamiques */
#sherkane-gamification-bar .gamif-highlight {
    color: #0a8840; /* La couleur jaune que tu utilises déjà */
    font-weight: bold;
    /* Tu peux ajouter d'autres styles ici si besoin, ex: text-decoration: underline; */
}

/* On garde le reste du texte en noir pour bien faire ressortir les éléments colorés */
#sherkane-gamification-bar .gamif-message {
    color: #333; 
}