/* ===================================================================
   AFFILIATION TIMELINE - Timeline des étapes d'inscription
   =================================================================== */

.affiliation-timeline {
    position: sticky;
    top: 100px;
    padding: 2rem 1rem;
}

.timeline-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    position: relative;
    padding-left: 0;
}

.timeline-step:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 40px;
    width: 2px;
    height: calc(100% + 1rem);
    background-color: #dee2e6;
}

.timeline-step.active:not(:last-child)::before {
    background-color: #0066cc;
}

.timeline-marker {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    flex-shrink: 0;
    z-index: 1;
    position: relative;
}

.timeline-step.active .timeline-marker {
    background-color: #0066cc;
    color: white;
}

.timeline-step.completed .timeline-marker {
    background-color: #28a745;
    color: white;
}

.timeline-content {
    margin-left: 1rem;
    padding-top: 0.5rem;
}

.timeline-content h6 {
    margin: 0;
    font-size: 0.9rem;
    color: #6c757d;
}

.timeline-step.active .timeline-content h6 {
    color: #0066cc;
    font-weight: 600;
}

.timeline-step.completed .timeline-content h6 {
    color: #28a745;
}

/* Form container */
.form-container {
    background-color: #f8f9fa;
    min-height: 100vh;
}

.form-content {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 992px) {
    .affiliation-timeline {
        position: static;
        padding: 1rem;
        display: flex;
        justify-content: space-around;
        overflow-x: auto;
    }

    .timeline-step {
        flex-direction: column;
        align-items: center;
        margin-bottom: 0;
        margin-right: 1rem;
    }

    .timeline-step::before {
        display: none;
    }

    .timeline-content {
        margin-left: 0;
        margin-top: 0.5rem;
        text-align: center;
    }

    .timeline-content h6 {
        font-size: 0.75rem;
        white-space: nowrap;
    }
}
