body {
    margin: 0;
    padding: 0;
    background-color: white; 
    overflow: hidden;
    font-family: monospace;
}

.bars-wrapper {
    display: flex;
    width: 100vw;
    height: 100vh;
    align-items: flex-end;
    position: relative;
}

.time-unit {
    width: 16.6666%; 
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Positionnement de l'intitulé (label) */
.label {
    position: absolute;
    top: 5px; 
    right: 5px;
    color: black; 
    padding: 2px 4px;
    font-size: 0.7em; 
    font-weight: normal; 
    z-index: 10;
}

/* Positionnement du pourcentage */
.percentage {
    position: absolute;
    top: 25px; 
    right: 5px;
    color: black; 
    background-color: white;
    padding: 2px 4px;
    font-size: 0.7em;
    font-weight: bold;
    border-radius: 3px;
    z-index: 10;
}

/* NOUVEAU : Détail temporel en bas à droite */
.time-detail {
    position: absolute;
    bottom: 5px; /* Décalé de 5px du bas */
    right: 5px; /* Décalé de 5px de la droite */
    color: white; /* Couleur du texte en blanc */
    font-size: 0.8em;
    font-weight: bold;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.5); /* Pour aider à la lisibilité sur le noir */
    z-index: 5; /* Assure qu'il est au-dessus de la barre mais sous le pourcentage */
}

/* Conteneur de la barre */
.progress-bar-shell {
    width: 100%;
    height: 100%;
    background-color: #eee; 
    overflow: hidden;
    display: flex; 
    flex-direction: column-reverse;
}

/* Toutes les barres sont en noir */
.progress-bar {
    width: 100%;
    height: 0; 
    transition: height 0.1s linear; 
    background-color: black !important; 
}