button.next-step {
  background-color: #007BFF !important;
  color: #fff !important;
  border: none !important;
}

button.prev-step {
  background-color: #6C757D !important;
  color: #fff !important;
  border: none !important;
}

/* Conteneur principal pour l'image et les options */
#step-1-container {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background-color: #fff; /* Fond blanc */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Légère ombre */
    margin-bottom: 20px;
}

/* Image principale */
#image-container img {
    max-width: 300px;
    border: 0px solid #0000;
    border-radius: 5px;
}

/* Conteneur des options principales */
#options-container {
    display: flex;
    flex-direction: column; /* Options empilées verticalement */
    gap: 10px;
    font-size: 16px;
}

/* Conteneur séparé pour les options supplémentaires */
#pare-brise-options {
    background-color: #fff; /* Fond blanc */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Légère ombre */
    margin-top: 20px; /* Marge entre le premier et le deuxième conteneur */
}

/* Responsive : empilement sur mobile */
@media (max-width: 768px) {
    #step-1-container {
        flex-direction: column; /* Empile l'image et les options */
        align-items: center; /* Centre les éléments sur mobile */
    }

    #image-container {
        margin-bottom: 20px; /* Espace entre l'image et les options */
    }

    #options-container {
        align-items: center; /* Centrer les options sous l'image */
        width: 100%; /* Prend toute la largeur */
    }
}

  
  
  /* Barre des étapes */
        #progress-bar {
            display: flex;
            justify-content: center;
            margin-bottom: 20px;
        }
        
        .step {
    cursor: pointer;
    font-weight: bold;
    padding: 10px;
    margin-right: 10px;
}

.step.active {
    color: blue;
}

.step.completed {
    color: blue;
}

.step.failed {
    color: blue;
}

.step.disabled {
    color: blue;
}

/* Conteneur de la barre de progression */
#progress-container {
    width: 100%;
    height: 10px;
    background-color: #e0e0e0;
    border-radius: 5px;
    margin-top: 10px;
    overflow: hidden;
}

/* Remplissage de la barre de progression */
#progress-fill {
    height: 100%;
    width: 0%;
    background-color: #4caf50;
    transition: width 0.3s ease-in-out;
}


        /* Étape 1 */
        .step-1-content {
            display: flex;
            gap: 20px;
        }
        .image-container img {
            max-width: 200px;
        }
        .options-container {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .option {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .option input {
            margin: 0;
        }

        /* Options de type de dommage */
        .damage-options {
            display: flex;
            gap: 20px;
        }
        .damage-option {
            display: flex;
            flex-direction: column;
            align-items: center;
            cursor: pointer;
        }
        .damage-option input {
            display: none;
        }
        .damage-option img {
            border: 2px solid transparent;
            border-radius: 8px;
            transition: 0.3s;
        }
        .damage-option input:checked + img {
            border-color: #0073aa;
            box-shadow: 0 0 10px rgba(0, 115, 170, 0.5);
        }
        
        /* Styles pour l'étape 3 */
    .address-fields {
        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: 10px;
        margin-bottom: 20px;
    }
    .time-slot-selection {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin: 20px 0;
    }
    .time-slot-selection label {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    #availability-date {
        margin-bottom: 20px;
    }
    
    
    /* Styles pour l'étape 4  VALIDER NE PLUS TOUCHER*/
    .contact-fields {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-bottom: 20px;
    }
    .optional-fields {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .optional-fields label {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    
     /* Style du message de confirmation */
    #confirmation-message {
        background-color: #f9f9f9;
        border: 1px solid #ddd;
        border-radius: 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        margin-top: 20px;
    }
    #confirmation-message h2 {
        color: #0073aa;
        margin-bottom: 10px;
    }
    #confirmation-message p {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    /* Ajout de transition 
    
    .step-content {
    opacity: 0;
    transition: opacity 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.step-content.active {
    opacity: 1;
    position: relative;
}


.step.completed {
    background-color: #4CAF50;
    color: white;
}

.step.active {
    background-color: #2196F3;
    color: white;
}

.step {
    transition: background-color 0.3s ease, color 0.3s ease;
}



#rdv-container {
  scroll-margin-top: 90px;
}

@media (max-width: 768px) {
  #rdv-container {
    scroll-margin-top: 70px;
  }
}
