/* Style général du formulaire */
form {
  width: 500px;
  margin: 0 auto;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

/* Style des fieldsets */
fieldset {
  border: none;
  padding: 10px;
  margin-bottom: 15px;
}

/* Style des légendes */
legend {
  font-size: 18px;
  font-weight: bold;
  padding: 5px 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-bottom: 10px;
}

/* Style des labels */
label {
  display: block;
  margin-bottom: 5px;
}

/* Style des champs de saisie */
input[type="text"], input[type="email"], input[type="password"] {
  width: 100%;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  outline: none;
}

/* Style des boutons */
button {
  padding: 10px 20px;
  border: none;
  background-color: #007bff;
  color: white;
  cursor: pointer;
  font-weight: bold;
  border-radius: 5px;
}

/* Style des messages d'erreur */
.error {
  color: red;
  font-weight: bold;
  margin-bottom: 5px;
}

/* Style du message de succès */
#ok {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 999;
    color: white;
    font-size: 300%;
}

.close-btn {
    color: white;
    font-size: 2em;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
}