:root {
  --greenSeaweed: 2, 128, 144;
  --blueQueen: 69, 105, 144;
  --redFire: 244, 91, 105;
  --lightblue: 28, 135, 201;
  --fontAsap: 'Asap', sans-serif;
}

input::-ms-clear, input::-ms-reveal {
    display: none;
}

.password-icon {
  position: absolute;
  top: 118px;
  /* left: 346px; */
  right: 34px;
  cursor: pointer;
}

.password-confirm-icon{
  position: absolute;
  top: 171px;
  /* left: 346px; */
  right: 34px;
  cursor: pointer;
}

#eye-off,
#eye-off-sign,
#eye-off-sign-confirm {
  display: none;
}

/* .login container */
.login {
  overflow: hidden;
  background-color: white;
  padding: 40px 30px 30px 30px;
  border-radius: 10px;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  max-width: 400px; /* limite la largeur sur grands écrans */
  box-sizing: border-box;
  transform: translate(-50%, -50%);
  transition: transform 300ms, box-shadow 300ms;
  box-shadow: 5px 10px 10px rgba(var(--greenSeaweed), 0.2);
}

/* Decorative pseudo-elements */
.login::before,
.login::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-top-left-radius: 40%;
  border-top-right-radius: 45%;
  border-bottom-left-radius: 35%;
  border-bottom-right-radius: 40%;
  z-index: -1;
}

.login::before {
  left: 40%;
  bottom: -130%;
  background-color: rgba(var(--blueQueen), 0.15);
  animation: wawes 6s infinite linear;
}

.login::after {
  left: 35%;
  bottom: -125%;
  background-color: rgba(var(--greenSeaweed), 0.2);
  animation: wawes 7s infinite;
}

/* Close button */
.login .close {
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 22px;
  font-weight: bold;
}

.login .close:hover,
.login .close:focus {
  color: rgba(var(--lightblue), 1);
  cursor: pointer;
}

/* Input fields */
.login input {
  font-family: var(--fontAsap);
  display: block;
  border-radius: 5px;
  font-size: 16px;
  background: white;
  width: 100%;
  border: 0;
  padding: 10px 10px;
  margin: 15px -10px;
}

.login input:invalid {
  box-shadow: 0 0 5px 1px red;
}

.login input:focus:invalid {
  box-shadow: none;
}

/* Button */
.login button, 
#msgButton {
  font-family: var(--fontAsap);
  cursor: pointer;
  color: #fff;
  font-size: 16px;
  text-transform: uppercase;
  width: 110px;
  border: 0;
  padding: 10px 0;
  margin-top: 10px;
  margin-left: -5px;
  border-radius: 5px;
  background-color: rgba(var(--lightblue), 1);
  transition: background-color 300ms;
}

.login button:hover,
 #msgButton:hover {
  background-color: rgba(var(--lightblue), 0.85);
}

/* Link */
.login a {
  text-decoration: none;
  color: black;
  position: absolute;
  right: 45px;
  bottom: 41px;
  font-size: 14px;
  font-weight: bold;
}

.login a:hover {
  color: rgba(var(--lightblue), 1);
}

#msgDialog {
  border-radius: 5px;
}

#msgText {
  font-family: var(--fontAsap);
}

#msgButton {
  font-size: 12px;
  width: 60px;
  margin: auto;
  display: block;
}

@media only screen and (max-width: 650px) {
  .material-symbols-outlined {
    font-size: 20px;
    margin-right: 0px;
    color: black;
  }
}

/* @media only screen and (max-width: 650px) {
  .login {
    width: 90%;
    padding: 30px 20px 20px 20px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 8px;
  }

  .login::before,
  .login::after {
    width: 300px;
    height: 300px;
    bottom: -100%;
  }

  .login .close {
    font-size: 20px;
    right: 8px;
    top: 8px;
  }

  .login input {
    font-size: 14px;
    padding: 8px 8px;
    margin: 10px 0;
  }

  .login button {
    width: 100%;
    font-size: 14px;
    margin-left: 0;
  }

  .login a {
    font-size: 12px;
    right: 20px;
    bottom: 20px;
  }
} */

/* Animation */
@keyframes wawes {
  from { transform: rotate(0); }
  to { transform: rotate(360deg); }
}