/*Ce fichier n'est pas généré par scss*/
.timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Aligner en haut */
    width: 100%;
    padding: 2rem 0;
    margin: 2rem 0;
    position: relative;
}
  
.timeline-item {
    flex: 1;
    text-align: center;
    position: relative;
    cursor: pointer;
}
  
.timeline-year {
    font-size: 2rem;
    font-weight: 500;
    color: #100E4F; /* Couleur de l'année correspond à celle de la barre */
    margin-bottom: 0.5rem;
    display: block; /* Afficher l'année au-dessus de la barre */
}
  
.timeline-bar {
    width: 100%;
    height: 33px;
    background-color: #100E4F; /* Couleur de fond de chaque barre */
    transition: background-color 0.3s, transform 0.3s;
    border-color: white;
    border-style: solid;
    border-width: 1px;
}
  
.timeline-item:hover .timeline-bar {
    background-color: #ED1D25; /* Couleur au survol */
}
  
.timeline-item:hover .timeline-year {
    color: #100E4F; /* Couleur de l'année lors du survol */
}

.timeline-item[data-selected="true"] .timeline-bar {
    background-color: #ED1D25; /* Couleur rouge pour la barre de l'élément sélectionné */
}
  
.timeline-item[data-selected="true"] .timeline-year {
    color: #ED1D25; /* Couleur rouge pour l'année de l'élément sélectionné */
}  
  
#timeline-cursor {
    position: absolute;
    top: calc(90%); /* Place le curseur juste en dessous de la frise */
    left: 0;
    transform: translateX(-50%);
    transition: left 0.3s ease-in-out; /* Transition fluide lorsqu'on bouge le curseur */
    height: 54px; /* Ajuster la taille du curseur selon vos préférences */
    pointer-events: none; /* Empêche le curseur d'intercepter les clics */
}

/* Styles pour l'année 2025 verrouillée */
.timeline-item-locked {
    cursor: not-allowed; /* Empêche le clic */
}

.timeline-item-locked .timeline-bar {
    background-color: #808080; /* Couleur grise pour la barre verrouillée */
}

.timeline-item-locked:hover .timeline-bar {
    background-color: #808080; /* Couleur grise pour la barre verrouillée */
}

.timeline-item-future .timeline-bar {
    background-color: #808080; /* Couleur grise pour la barre */
    border: 2px solid #100E4F;
}
