/* ==============================
      TIMELINE HORIZONTALE
   ============================== */

.timeline-container {
    width: 100%;
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

.timeline-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-family: 'Arial Black', Arial, sans-serif;
    font-size: 18px;
    font-weight: bold;
    color: #FF6B35;
}

.timeline-label span {
    text-align: center;
}

.timeline-bar {
    width: 100%;
    height: 12px;
    background: linear-gradient(90deg, #2d2d2d 0%, #1a1a1a 100%);
    border-radius: 6px;
    position: relative;
    margin: 15px 0;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.timeline-fill {
    height: 100%;
    background: linear-gradient(90deg, #FF6B35 0%, #ED1C24 100%);
    border-radius: 6px;
    position: relative;
    transition: width 1s ease-in-out;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.6);
}

/* Bout rond final */
.timeline-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: #ED1C24;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(237, 28, 36, 0.8);
}

/* Animation */
@keyframes fillTimeline {
    from { width: 0; }
    to { width: 90%; } /* Ajuste la valeur selon besoin */
}

.timeline-fill {
    animation: fillTimeline 2s ease-in-out;
}

/* ========= Responsive ========= */

@media (max-width: 768px) {
    .timeline-label {
        font-size: 14px;
    }

    .timeline-bar {
        height: 8px;
    }

    .timeline-fill::after {
        width: 15px;
        height: 15px;
    }
}
