#modal_login {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85);
    color: var(--text-color);
    z-index: 9999;
  }
  
  #modalContent_login {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    width: 900px;
    color: var(--text-color);
  }

  .div_formLoginModal{
    width: 60%;
    margin: auto;
    margin-bottom: 5%;
    align-items: center;
    justify-content: center;
    padding: 4%;
    background-color: var(--body-color);
    color: var(--text-color);
    border-radius: 10px;
    display: none;
  }

  #txt_inscriptionOuput{
    margin: auto;
    text-align: center;
  }

  #form_login{
    text-align: center; 
  }
  
  .label_formLoginModal {
   
    font-size: 18px;
    display: block;
  }

  .input-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px; /* Espacement entre les champs */
    border-radius: 4px;
    padding: 5px;
    overflow: hidden; /* Pour éviter que les coins dépassent */
    background-color: var(--inputBackgroundColor);
    border: 0;
    border-bottom: 1px solid var(--altColor);
}

.input-icon {
    padding: 5px;
    display: flex;
    align-items: center;
    background-color: var(--inputBackgroundColor);
    justify-content: center; /* Séparation avec l'input */
}

.formFieldGroup {
  margin-top: 5px; /* Uniformise l'espacement entre tous les blocs */
  margin-bottom: 5px;
}

  .input_formLoginModal{
    width: 100%;
    margin: auto;
    padding: 6px;
    background-color: var(--inputBackgroundColor);
    border: 0;
    border-radius: 4px;
    border: 1px solid var(--inputBackgroundColor);
    color: var(--text-color);
    font-size: 1em;
    display: block;
  }

  .input_formLoginModal:focus{
    outline: none;
    background-color: var(--inputBackgroundColor);
  }

  input:-webkit-autofill,
  input:-webkit-autofill:hover,
  input:-webkit-autofill:focus,
  input:-webkit-autofill:active {
      -webkit-transition: "color 9999s ease-out, background-color 9999s ease-out";
      -webkit-transition-delay: 9999s;
  }

  #recaptcha-v2-container {
    margin-top: 5%;
    display: flex;
    justify-content: center; /* Centrer horizontalement */
    align-items: center; /* Centrer verticalement (si nécessaire) */
    width: 100%;
  }

  /* Pour s'assurer que le reCAPTCHA iframe est bien centré */
  #recaptcha-v2 {
    justify-content: center; /* Centrer horizontalement */
    align-items: center; /* Centrer verticalement (si nécessaire) */
    display: inline-block;
    margin: auto;
  }

 #div_options_login {
    display: flex; /* Active Flexbox */
    justify-content: space-between; /* Espace entre les deux éléments */
    align-items: center; /* Aligne les éléments verticalement */
  }

  #label_resterConnecte {
    margin: 0; /* Supprime les marges par défaut du paragraphe */ /* Optionnel : ajuste la taille du texte */
  }

  #link_mdpOublie{
    width: fit-content;
    color: var(--text-color);
  }

  #link_mdpOublie:hover{
    color: var(--text-color);
    text-decoration: underline;
    cursor: pointer;
  }

  input[type="checkbox"] {
    margin-right: 5px; /* Ajustez la valeur selon vos besoins */
    color: var(--text-color);
  }

  #remember2FA{
    font-size: 15px;
    font-weight: normal;
  }
  
  .bt_loginForm{
    margin-top: 5%;
    align-self: center; /* center the submit button horizontally */
    background-color: #309657;
    color: var(--text-white);
    padding: 12px 20px;
    border: 1px solid var(--altColor); 
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
  }


  .bt_switchForm{
    align-self: center; /* center the submit button horizontally */
    background-color: var(--buttonBackgroundColor);
    color: var(--text-color);
    padding: 12px 20px;
    border: 1px solid var(--altColor);
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
  }

  #close-btn:hover{
    background-color: var(--buttonBackgroundColorHover);
  }
  
  .txt_error{
    margin: auto;
    margin-top: 5%;
    text-align: center;
    color: red;
    min-height: 25px; /* Hauteur minimale pour éviter les changements de taille */
  }

  .titre_modalLogin{
    text-align: center;
    margin-bottom: 25px;
    font-size: 2em;
  }

  #close-btn{
    margin: 0;
    background: #3a3b3c;
    border-radius: 8px;
    padding: 1%;
    border: 0;
    color: white;
    position: absolute;
    right: 0;
  }

  .bt_seConnecter{
    width: 100%;
    background-color: #3a3b3c;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    border: 0;
  }

  .div_barConfirmationInput {
    display: inline-block;
    margin-top: 0px;
    height: 10px;
    width: 45%;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.barConfirmationInput {
    height: 100%;
    width: 100%;
    background-color: var(--body-color);
    transition: width 0.3s;
}

.confirmationText {
  display: inline-block;
  width: 53%;
  text-align: center;
  font-size: 14px;
}

.marginBottom{
  margin-bottom: 10px;
}

.input_acceptationPolitiqueConf, #txt_error_inscription{
  margin-top: 2%;
}

#lienPolitiqueConf{
  text-decoration: underline;
  color: #ddd;
}

#lienPolitiqueCon:hover{
  text-decoration: underline;
  color: white;
}

/* Mobile and small screen adjustments */
@media (max-width: 767px) {
  #modalContent_login {
    width: 100%;
  }

  .div_formLoginModal{
    width: 95%;
  }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1024px) {
 
}