/* Le body centre le formulaire au milieu de l'écran */
body {
  margin: 0;
  height: 100vh;
  display: flex;
  justify-content: center;      /* centre horizontalement */
  align-items: center;          /* centre verticalement */
  background-image: url('/static/best1.png');
  background-size: cover;
  background-repeat: no-repeat;
  
  font-family: Arial, sans-serif;
}

/* Le formulaire lui-même (class="container") */
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px;
  border: 2px solid #0e0d0d;
  border-radius: 10px;
  background-color: #4f0606;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  gap: 10px;
}

/* Labels des champs */
.container label {
  font-weight: bold;
}

/* Tous les inputs générés par WTForms (pseudo, mail, mdp, case si tu le rends avec WTForms) */
.container input[type="text"],
.container input[type="email"],
.container input[type="password"],
.container input[type="checkbox"] {
  font: inherit;
}

/* Champs texte / email / password */
.container input[type="text"],
.container input[type="email"],
.container input[type="password"] {
  width: 30ch;
  padding: 8px;
  border: 1px solid #aaa;
  border-radius: 5px;
}

/* Bloc checkbox + bouton */
.checkbox-one {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.checkbox-one label {
  font-family: Helvetica, Arial, sans-serif;
}

/* Bouton submit WTForms (class_="sender") */
.sender {
  margin-top: 10px;
  padding: 8px 18px;
  border-radius: 6px;
  border: none;
  background: #292e36;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

.sender:hover {
  background: #060709;
  transform: translateY(-1px);
}

.sender:active {
  transform: translateY(0);
}

/* Texte mentions en bas */
.mentions {
  margin-top: 15px;
  font-size: 13px;
  color: #666;
  text-align: center;
}

.mentions .site-name {
  margin: 2px;
  font-weight: bold;
  color: #333;
}

.mentions a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s;
}

.mentions a:hover {
  color: #070606;
  text-decoration: underline;
}

/* Lien "Already registered ?" */
.already {
  margin-bottom: 10px;
  display: inline-block;
  text-align: center;
  color: #070707;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
}

/* Footer collé en bas de la fenêtre */
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: left;
  padding: 25px;
  font-size: 0.9em;
  color: #666;
  background: transparent;
}
