/* Style général */
form { /* permet de centrer le bouton de la forme */
  text-align: center;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  min-height: 100vh;
  margin: 0;
}

/* Champs de saisie */
input[type="email"],
input[type="password"] {
  width: 280px;
  padding: 0.8rem;
  margin: 0.5rem 0;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Responsive petit écran */
@media (max-width: 400px) {
  input[type="email"],
  input[type="password"],
  button {
    width: 90vw;
  }
}

.container {
    display: flex;
    height: 100vh;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.login-section, .signup-section {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.login-section {
    background-color: #fff;
}

.signup-section {
    background-color: #fdd835; /* Jaune */
    color: white;
}

.login-section h2,
.signup-section h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.forgotten_password_text {
    width: 60vw;
    white-space: normal; /* le texte peut passer à la ligne */
    text-align: center;
    color: green;
    font-family: verdana;
}

.customButton { /* so that the buton be not stuck to the previous form field */
    margin-top: 20px; /* ajoute un espace au-dessus du bouton */
}
