/* Formulaire utilisateur - conteneur principal */
.user-form {
  max-width: 600px;
  margin: 20px auto;
  padding: 25px;
  background-color: #f7f9fc;
  border: 1px solid #dde2eb;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Titres et labels */
.user-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #2c3e50;
}

.user-form .description {
  font-size: 0.85rem;
  color: #6c7a89;
  margin-top: 4px;
}

/* Champs input, email, password, file */
.user-form input[type="text"],
.user-form input[type="email"],
.user-form input[type="password"],
.user-form input[type="file"] {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 15px;
  border: 1px solid #cfd6e0;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.user-form input[type="text"]:focus,
.user-form input[type="email"]:focus,
.user-form input[type="password"]:focus,
.user-form input[type="file"]:focus {
  border-color: #5b9bd5;
  box-shadow: 0 0 5px rgba(91, 155, 213, 0.4);
  outline: none;
}

/* Password strength et confirm */
.password-strength, .password-confirm-message {
  font-size: 0.8rem;
  color: #555;
  margin-top: -10px;
  margin-bottom: 15px;
}

/* Image profil */
.field--type-image {
  margin-bottom: 20px;
  text-align: center;
}

.field--type-image img {
  border-radius: 50%;
  border: 2px solid #cfd6e0;
  margin-bottom: 10px;
}

/* Boutons */
.user-form input[type="submit"],
.user-form .button {
  background-color: #5b9bd5;
  color: #fff;
  padding: 10px 22px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: background-color 0.25s ease;
}

.user-form input[type="submit"]:hover,
.user-form .button:hover {
  background-color: #4178c0;
}

/* Responsivité */
@media (max-width: 650px) {
  .user-form {
    padding: 15px;
    margin: 10px;
  }
}

/* Styles spécifiques pour la section mot de passe */
.password-parent, .confirm-parent {
  margin-bottom: 20px;
}

.password-strength__meter {
  height: 6px;
  background-color: #e0e0e0;
  border-radius: 3px;
  margin-top: 4px;
}

.password-strength__indicator {
  height: 100%;
  width: 0;
  background-color: #5b9bd5;
  border-radius: 3px;
  transition: width 0.3s ease;
}

#edit-user-picture-0--description {
  display: none;
}
