

body {
    background-color: #f6f6f6;
    margin: initial;
}

.underlined {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
  }
  
.underlined::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: -5%;
    width: 75%;
    border-radius: 10px;
    height: 4px;
    background-color: #94b4ce;
  }

section.head {
    height: 35vh;
}

section.loginForm {
    background: white;
    padding: 3vh 8% 5vh 8%;
    border-radius: 30px;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
    margin: 0 2vh;
}

@media screen and (min-width: 768px) {
    section.loginForm {
        margin: 0 10vh;
    }
}

.backButton {
    margin-top: 2vh;
    padding: 2vh 2vh;
    display: flex;
    align-items: center;
    font-size: 1.4vh;
    color: #525960;
    text-decoration: inherit;
    width: fit-content;
}

button,
button:focus,
button:active, a,
a:focus,
a:active {
  -webkit-tap-highlight-color: transparent; /* Supprime le surlignement gris */
  outline: none; /* Supprime le contour focus */
  user-select: none; /* Empêche la sélection de texte */
}

.backButton i {
    font-size: 4vh;
    color: #7daed6;
}


.titleHead {
    font-size: 4vh;
    width: 20vh;
    font-weight: 700;
    color: #7daed6;
    padding: 2vh 13%;
    margin-top: 2vh;
}

.descHead {
    font-size: 1.4vh;
    color: #adadad;
    padding: 2vh 13%;
    margin-top: 1vh;
}



.loginInput h3 {
    color: #525960;
    font-size: 2.2vh;
}

.inputForm {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: #f2f2f2;
    padding: 0 0 0 1vh;
    border-radius: 20px;
    transition: box-shadow 0.3s ease;
    flex: 10;
}

.flex {
    display: flex;
    justify-content: space-between;
}

.inputForm.focused {
    box-shadow: 0 0 5px rgba(125, 174, 214, 0.5);
}

.inputForm i {
    font-size: 2vh;
    color: #525960;
    padding-right: 1.1vh;
    padding-left: 2vh;
    margin: auto;
}

.inputForm input {
    width: 100%;
    background-color: #f2f2f2 !important;
    border-radius: 0 20px 20px 0;
    padding: 2vh 1vh;
    border: initial;
    height: 1vh;
    -webkit-tap-highlight-color: transparent !important; /* Supprime le surlignement gris sur mobile */
    outline: none !important; /* Supprime le contour focus natif */
    border: none !important; /* Supprime la bordure lors de l'activation */
}


.passwordProection {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    flex: 1;
    -webkit-tap-highlight-color: transparent !important; /* Supprime le surlignement gris sur mobile */
    outline: none !important; /* Supprime le contour focus natif */
    border: none !important; /* Supprime la bordure lors de l'activation */
}

.passwordProection i {
    font-size: 3.5vh;
    color: #525960;
    margin-left: 10px;
    opacity: 1;
    transition: opacity 0.3s ease, color 0.3s ease;
    position: absolute;

}

.passwordProection i.hide-icon {
    opacity: 0;
    pointer-events: none;
}


.inputForm input:-internal-autofill-selected,
.inputForm input:-webkit-autofill {
  width: 100%;
  background-color: #f2f2f2 !important; /* Remet le fond par défaut */
  border-radius: 0 20px 20px 0;         /* Garde les coins arrondis */
  padding: 2vh 1vh;                     /* Garde l'espacement */
  border: initial;                      /* Aucun contour supplémentaire */
  height: 1vh;                          /* Hauteur par défaut */
  -webkit-box-shadow: 0 0 0px 1000px #f2f2f2 inset !important; /* Empêche le bleu */
  box-shadow: 0 0 0px 1000px #f2f2f2 inset !important;
  transition: background-color 5000s ease-in-out 0s;           /* Supprime les transitions */
}


.sendInput {
    display: flex;
    justify-content: space-evenly;
    margin-top: 4vh;
    align-items: center;
    font-size: 2.3vh;
    font-weight: 700;
    color: #525960;
}

button.sendIcon {
    width: 8vh;
    height: 8vh;
    border-radius: 50%;
    border: initial;
    background: #bae0ff;
    font-size: 3vh;
    color: #525960;
    transition: background-color 0.3s, color 0.3s;
    cursor: pointer;
    align-content: center;
    text-align: center;
    align-self: center;
    vertical-align: middle;
}

.endLog {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 2vh;
    flex-direction: column;
}

.endLog h3 {
    font-size: 1.7vh;
    font-weight: 500;
    color: #525960;
}

.endLog a {
    font-size: 1.9vh;
    font-weight: 500;
    color: #525960;
    text-decoration: none;
    background: #bae0ff;
    padding: 1vh 2vh;
    border-radius: 20px;
    transition: background-color 0.3s, color 0.3s;

}

@media (hover: hover) and (pointer: fine) {
    .chip:hover {
      background-color: #eaeaea;
    }
    .endLog a:hover {
      background-color: #91bce0;
      color: #ffffff;
    }
    .sendIcon:hover {
      background-color: #91bce0 !important;
      color: #ffffff !important;
    }
    
  }

  .loginInput.rememberMe {
    margin: 2.5vh 0;
    font-weight: bold;
    color: #525960;
}