/* ==========================
   Styles globaux
   ========================== */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f8f9fc;
  color: #333;
}

/* ==========================
   Container principal
   ========================== */
form {
  max-width: 700px;
  margin: 40px auto;
  background: linear-gradient(135deg, #ffffff, #f9f9f9);
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

/* ==========================
   Titres
   ========================== */
h1 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  background: linear-gradient(to right, #0056b3, #007BFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================
   Labels & Inputs
   ========================== */
label {
  display: block;
  font-weight: bold;
  margin-top: 15px;
  color: #007BFF;
}

input[type="email"],
input[type="password"],
input[type="text"],
select {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

input:focus,
select:focus {
  border: 1px solid #007BFF;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.4);
  outline: none;
}

/* ==========================
   Liste des exigences mot de passe
   ========================== */
ul {
  margin: 10px 0 20px 20px;
  padding: 0;
}

ul li {
  margin-bottom: 5px;
}

/* ==========================
   Bouton de soumission
   ========================== */
button[type="submit"] {
  display: block;
  margin: 20px auto 0;
  border: 1px solid #007BFF;
  background-color: #007BFF;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: bold;
  padding: 12px 40px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 25px;
  transition: background 0.3s ease, transform 0.2s ease;
  cursor: pointer;
}

button[type="submit"]:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

button[type="submit"]:active {
  transform: scale(0.95);
}

/* ==========================
   Cases à cocher
   ========================== */
input[type="checkbox"] {
  margin-right: 8px;
}

/* ==========================
   Alertes d'erreur
   ========================== */
.alert {
  max-width: 700px;
  margin: 20px auto;
  padding: 15px;
  border-radius: 8px;
  background-color: #ffdddd;
  color: #a94442;
  border: 1px solid #ebccd1;
  font-size: 0.9rem;
}
