@charset "UTF-8";
body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  margin: 0;
  padding: 0;
}

.login-container {
  width: 400px;
  margin: 100px auto;
  height: 560px;
  background-color: #fff;
  padding: 30px 30px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

h2 {
  margin-top: 0;
  color: #51a69c;
  text-align: center;
}

hr {
  border: none;
  background-color: #6ac3b9;
  height: 3px;
  margin-bottom: 25px;
}

label {
  display: block;
  margin-bottom: 8px;
  color: #555;
}

input[type=text], input[type=password], input[type=email] {
  margin-left: 0px;
  width: 95%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
}

input[type=submit] {
  margin-left: 20px;
  width: 90%;
  height: 45px;
  background-color: #6ac3b9;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 20px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-bottom: 35px;
}

a {
  display: block;
  height: 25px;
  text-align: center;
  margin-left: 20px;
  width: 80%;
  background-color: #6ac3b9;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 20px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
  text-decoration: none;
  margin-bottom: 25px;
}

a:hover {
  background-color: rgba(106, 195, 185, 0.8470588235);
}

input[type=submit]:hover {
  background-color: rgba(106, 195, 185, 0.8470588235);
}

p {
  margin-top: -30px;
  text-align: center;
  color: red;
  font-weight: bold;
}

.checkbox {
  padding-top: 2px;
  display: flex; /* permet de centrer le texte */
  align-items: baseline; /* centre verticalement */
}

.forgot-password {
  padding: 0;
  margin: auto;
  background-color: rgba(255, 255, 255, 0);
  color: #6ac3b9;
  text-decoration: underline;
  font-size: 16px;
}
.forgot-password:hover {
  background-color: rgba(255, 255, 255, 0);
}

.reset {
  width: 400px;
  margin: 100px auto;
  height: 300px;
  background-color: #fff;
  padding: 30px 30px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

#back-to-login, #resetPasswordBtn {
  display: block;
  height: 40px;
  text-align: center;
  width: 80%;
  background-color: #6ac3b9;
  color: #fff;
  border: none;
  padding: 5px 10px;
  font-size: 20px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
  text-decoration: none;
  margin: auto;
  margin-bottom: 6.5%;
}
#back-to-login:hover, #resetPasswordBtn:hover {
  background-color: rgba(106, 195, 185, 0.8470588235);
}

#login-container, #reset-container {
  transition: all 0.3s ease;
}

.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-wrapper input {
  width: 100%;
  padding-right: 40px; /* espace pour l'icône */
  box-sizing: border-box;
}

.toggle-password {
  position: absolute;
  right: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
}

.toggle-password img {
  width: 20px;
  height: 20px;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.toggle-password:hover img {
  opacity: 1;
}

@media (max-width: 480px) {
  .login-container, .reset {
    width: 70%;
    height: 550px;
    background-color: rgba(255, 255, 255, 0);
    box-shadow: none;
  }
  a {
    font-size: medium;
    height: 17px;
    margin: auto;
    width: 180px;
  }
  input[type=submit] {
    height: 35px;
    font-size: medium;
    padding-block: unset;
    margin-left: 12px;
  }
  input[type=email], input[type=password], input[type=text] {
    padding: 0;
    width: 100%;
  }
  h2 {
    font-size: medium;
  }
  .hr {
    margin-top: 25px;
  }
  .forgot-password {
    margin-bottom: 20px;
  }
  #back-to-login, #resetPasswordBtn {
    font-size: medium;
  }
}/*# sourceMappingURL=Connexion.css.map */