* {
  box-sizing: border-box;
}

body {
  background-color: #1b181d;
  height: 100vh;
  font-family: "Sofia Sans", sans-serif;
}
.error-message {
  color: #c32c4b;
  font-weight: bold;
  background-color: white;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 20px;
}

a {
  text-decoration: none;
  color: #f4d3a8;
}
h1 {
  color: #c32c4b;
}
label[for="email"],
[for="password"],
[for="nom"],
[for="prenom"],
[for="age"],
[for="confirm_password"] {
  color: #c32c4b;
}
.btn-primary {
  background-color: #c32c4b;
  border: none;
}
.btn-primary:hover {
  background-color: #eb395d;
  border: none;
}
.btn-primary:active {
  background-color: #a72742 !important;
  border: none;
}
.btn-primary:focus {
  outline: none;
  box-shadow: none;
  background-color: #c32c4b;
}

#connect_login_btn {
  background-color: #f06b86 !important;
  color: #1b181d;
}
#connect_login_btn:hover {
  background-color: #f4d3a8 !important;
  color: #1b181d;
}
p {
  font-family: "Sofia Sans", sans-serif;
  color: #f4d3a8;
}
form {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.loginwrap {
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0%; /* Centre verticalement */
  transform: translateY(50%);
  width: 100%;
  height: auto;
  position: relative;
}
.login-backward {
  position: absolute; /* Utilisez position absolute pour le positionner par rapport à son conteneur */
  left: 0; /* Ajustez la valeur selon vos besoins */
  top: 50%; /* Ajustez la valeur selon vos besoins */

  z-index: 1000; /* Assurez-vous qu'il soit au-dessus des autres éléments */
}
#login_backward_home {
  font-size: 3em;
}
.fa-backward {
  color: #c32c4b;
}
/* ///////////////////////////////////////////////////////////////////////////   */

#connect_register_btn {
  background-color: #f06b86 !important;
  color: #1b181d;
}
#connect_register_btn:hover {
  background-color: #f4d3a8 !important;
  color: #1b181d;
}
.registerwrap {
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0%; /* Centre verticalement */
  transform: translateY(8%);
  width: 100%;
  height: auto;
  position: relative;
}
.register-backward {
  position: absolute; /* Utilisez position absolute pour le positionner par rapport à son conteneur */
  left: 0; /* Ajustez la valeur selon vos besoins */
  top: 40%; /* Ajustez la valeur selon vos besoins */

  z-index: 1000; /* Assurez-vous qu'il soit au-dessus des autres éléments */
}
#register_backward_home {
  font-size: 3em;
}
.fa-backward {
  color: #c32c4b;
}

.form-check-input:focus {
  background-color: #c32c4b;
  border: none;
  outline: none;
  box-shadow: 0 0 5px#1b181d;
}
.form-check-input:checked {
  background-color: #c32c4b;
  border: none;
  outline: none;
}
.confi {
  text-decoration: underline;
}
#button_hover:disabled {
  background-color: #c32c4b !important; /* Remplace la couleur Bootstrap */
  color: #f4d3a8 !important; /* Assure que le texte reste visible */
  opacity: 1 !important; /* Supprime l'effet grisé */
  cursor: not-allowed; /* Indique visuellement que le bouton est inactif */
}
p.warning {
  font-size: 0.8em;
  max-width: 500px; /* Limite la largeur du paragraphe */
  margin: 0 auto;   /* Centre le paragraphe horizontalement */
  white-space: normal; /* Permet aux mots de passer à la ligne */
}
/* ///////////////////////////////////////////////////// */
/* Modal d'identification */

/* #privacyModal {
  display: block;
} */

.modal-title {
  font-family: "Sofia Sans", sans-serif;
  text-transform: uppercase;
  font-weight: bold;
  color: #f4d3a8;
  text-align: center;
  width: 100%;
}

.modal-content {
  background-color: rgba(27, 24, 29, 0.85);
  font-family: "Sofia Sans", sans-serif;
  color: #f4d3a8;
  text-align: center;
  border-radius: 10px;
  padding: 20px;

  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.7);
  background-color: rgba(27, 24, 29, 0.85);
}

.modal-header,
.modal-body {
  border: none;
  color: #f4d3a8;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.modal-footer {
  border: none;
  color: #f4d3a8;
  display: flex;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.modal-body {
  padding: 20px;
}
