/* Styles de base pour le formulaire */
form {
    background-color: #fff;
    padding: 25px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: auto;
    width: 80%;
}

/* Styles pour les étapes */
.step {
    display: none; /* Cacher par défaut toutes les étapes */
}

.step.active {
    display: flex; /* Afficher seulement l'étape active */
    flex-direction: column;
}

/* Styles pour les groupes de formulaire */
.form-group-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.form-group {
    margin: 8px;
    align-items: center;
}

.radio_input{
    width: 100px;
    display: flex;
    flex-direction: colum;
    align-items: center;
    justify-self: center;
    column-gap: 10px;
}

/* Styles pour les champs de formulaire */
input[type="text"],
textarea {
    width: 90%;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

input[type="radio"] {
    margin: 8px 0;
    width: 50px;
    height: 20px;
}

/* Styles pour les boutons */
button {
    background-color: #4CAF50; /* Vert */
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
}

button:hover {
    background-color: #45a049; /* Vert foncé au survol */
}

/* Styles pour les messages d'erreur et de succès */
#error_message,
#success_message {
    margin-top: 15px;
    font-weight: bold;
}

/* Responsive styles */
@media (max-width: 600px) {
    .form-group-inline {
        flex-direction: column; /* Passer en colonne sur les petits écrans */
    }
    
    .form-group {
        margin: 10px;
    }
    .form{
        width: 100%;
    }
}
