  /* CSS à ajouter dans votre fichier CSS */
  .stepper-wrapper {
    margin-top: 50px;
    margin-bottom: 50px;
    display: flex;
    justify-content: space-between;
    position: relative;
}

/* Ligne de connexion entre les étapes */
.stepper-wrapper::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e0e0e0;
    z-index: 1;
}

.stepper-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    z-index: 2;
}

.step-counter {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    margin-bottom: 6px;
    transition: all 0.3s ease;
    z-index:2;
}

.step-name {
    color: #666;
    font-size: 14px;
    transition: all 0.3s ease;
}

/* Étape active */
.stepper-item.active .step-counter {
    background-color: #007bff;
    border-color: #007bff;
    color: white;
}

.stepper-item.active .step-name {
    color: #007bff;
    font-weight: bold;
}

/* Étape complétée */
.stepper-item.completed .step-counter {
    background-color: #28a745;
    border-color:#28a745;
    color: white;
}

.stepper-item.completed .step-name {
    color: #28a745;
}

/* Ligne de progression */
.stepper-item.completed::after {
    position: absolute;
    content: "";
    border-bottom: 2px solid #28a745;
    width: 95%;
    top: 20px;
    left: 55%;
    z-index: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .stepper-wrapper {
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .step-name {
        font-size: 12px;
    }

    .step-counter {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .stepper-wrapper::before {
        top: 15px;
    }

    .stepper-item.completed::after {
        top: 15px;
    }
}

/* Pour les très petits écrans */
@media (max-width: 480px) {
    .step-name {
        display: none;
    }
    
    .stepper-wrapper {
        margin: 20px 0;
    }
}

.stepper-item.clickable {
  cursor: pointer;
}

.stepper-item.clickable:hover .step-counter {
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.stepper-item.clickable:hover .step-name {
  text-decoration: underline;
}



/* Animations */
.stepper-item {
    opacity: 0;
    transform: translateY(20px);
}

.stepper-item.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/** Style pour les checkbox **/
.custom-checkbox .form-group {
    display: flex !important;
    align-items: end !important;
}
.custom-checkbox .form-group input[type="checkbox"] {
    margin-right: 5px;
}