/* Correction de l'élément spécifique au nouveau mot de passe */
.nouveau-mot-de-passe__form {
    display: block; -webkit-flex: block; -webkit-flex: block; -ms-flex: block; -ms-flexbox: block;
    margin: auto;
    width: 20rem;
    max-width: 90%;
}

/* Contrôle des champs de formulaire */
.form__control {
    margin-bottom: 1.5rem;
    width: 100%;
}

/* Styles généraux des champs de texte */
input {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px; -webkit-border-radius: 8px;
    margin-top: 0.5rem;
}

input:focus {
    border-color: #3b9e8f; /* Couleur de bordure au focus (ajustée à votre logo) */
    outline: none; -webkit-outline: none; -moz-outline: none;
}

/* Formulaire d'inscription */
.connexion__form {
    width: 100%;
    max-width: 600px;
    margin: auto;
    padding: 2rem;
    background-color: #f4f4f4;
    border-radius: 10px; -webkit-border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Labels des champs de formulaire */
label {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
}

/* Styles spécifiques pour les champs de nom et d'email */
.user__name, .user__email {
    margin-left: 2.5rem;
    margin-top: 0.5rem;
}

#user__name {
    margin-bottom: 2rem;
}

/* Boutons d'interaction (soumettre l'inscription) */
.btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.2rem;
    background-color: #3b9e8f; /* Couleur principale (à adapter à votre logo) */
    color: white;
    border: none;
    border-radius: 8px; -webkit-border-radius: 8px;
    cursor: pointer; -webkit-cursor: pointer;
}

.btn:hover {
    background-color: #2e7d66; /* Couleur au survol (ajustée pour l'interaction) */
}

/* Lien vers les CGU */
.terms__link {
    text-align: center;
    margin-bottom: 1.5rem;
}

.terms__link a {
    font-size: 0.9rem;
    color: #3b9e8f;
    text-decoration: none; -webkit-text-decoration: none;
}

.terms__link a:hover {
    text-decoration: underline; -webkit-text-decoration: underline;
}

/* Mise en page mobile et tablette (responsive) */

/* Tablette et petit écran (max-width 768px) */
@media (max-width: 768px) {
    .connexion__form {
        padding: 1.5rem;
        width: 90%;
    }

    .btn {
        font-size: 1rem;
    }

    .form__control input {
        padding: 1rem;
    }
}

/* Mobile (max-width 480px) */
@media (max-width: 480px) {
    .connexion__form {
        padding: 1rem;
        width: 100%;
    }

    .form__control input {
        font-size: 0.9rem;
    }

    .btn {
        padding: 0.8rem;
    }
}

/* Amélioration du style du champ mot de passe */
.password__creation input {
    margin-bottom: 1rem;
}
