@import url("https://fonts.cdnfonts.com/css/poppins");

body {
  width: 100vw;
  height: 100vh;
  background-image: url("../../../assets/imagens/fundo_login.png");
  object-fit: cover;
  align-items: center;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  /* Garante que a caixa fique acima de outros elementos */
}

.box {
  background-color: #ffffff;
  padding: 0px 70px 45px 70px;
  border-radius: 8px;
  text-align: center;
  max-width: 540px;
  width: 90%;
}

.overlay h3 {
  color: #515151;
  font-weight: 500;
  font-size: 30px;
  font-family: url("https://fonts.cdnfonts.com/css/poppins");
  line-height: 45px;
}

/* IMG */
.img_logo {
  position: relative;
  top: 30px;
  max-width: 280px;
  height: auto;
}

/* INPUT AND ICON */

input {
  height: 47px !important;
  border-radius: 10px !important;
  border: 25% !important;
  background-color: #f8f8f8;
  color: #515151 !important;
  gap: 15px !important;
  padding-left: 50px !important;
}

.input_icon {
  position: relative;
}

.input_w_icon {
  position: absolute;
  top: 50%;
  left: 4%;
  transform: translateY(-50%);
  pointer-events: none;
}

.eye_icon {
  position: absolute;
  top: 69%;
  left: 85%;
  width: 50px;
  height: 50px;
  transform: translateY(-50%);
  text-decoration: none !important;
  cursor: pointer;
}


.eye_img {
  /* width: 35px ;
  height: 35px ; */
  object-fit: fill;
}

/* BUTTON */

#entrar,
#enviar {
  position: relative;
  background-color: #21355d;
  width: 100%;
  height: 47px;
  border-radius: 10px;
  color: #ffffff;
  font-family: url("https://fonts.cdnfonts.com/css/poppins");
  font-size: 20px;
  border-color: transparent;
  box-shadow: 2px 6px 4px rgba(0, 0, 0, 0.25);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

#entrar:hover {
  opacity: 0.8;
  box-shadow: 5px 5px 10px rgba(33, 53, 83, 0.8);
}

/* ERROS */

.error_email {
  border-color: #cc0000;
  margin-left: 19%;
  gap: 15px;
}

/* MIDIA QUERY */

@media screen and (max-width: 425px) {
  .box {
    background-color: #fff;
    padding: 0;
    border-radius: 8px;
    text-align: center;
    max-width: 100%;
    width: 100%;
  }

  body {
    background-image: url("");
  }
}

@media screen and (max-width: 464px) and (min-width: 425px) {
  .eye_icon {
    left: 81% !important;
  }
}

.rain {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.rain.back-row {
  display: none;
  z-index: 1;
  bottom: 60px;
  opacity: 0.5;
}

body.back-row-toggle .rain.back-row {
  display: block;
}

.drop {
  position: absolute;
  bottom: 100%;
  width: 15px;
  height: 120px;
  pointer-events: none;
  animation: drop 0.5s linear infinite;
}

@keyframes drop {
  0% {
    transform: translateY(0vh);
  }

  75% {
    transform: translateY(90vh);
  }

  100% {
    transform: translateY(90vh);
  }
}

.stem {
  width: 1px;
  height: 60%;
  margin-left: 7px;
  background: linear-gradient(to bottom,
      rgba(255, 255, 255, 0),
      rgba(255, 255, 255, 0.25));
  animation: stem 0.5s linear infinite;
}

@keyframes stem {
  0% {
    opacity: 1;
  }

  65% {
    opacity: 1;
  }

  75% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

.splat {
  width: 15px;
  height: 10px;
  border-top: 2px dotted rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  opacity: 1;
  transform: scale(0);
  animation: splat 0.5s linear infinite;
  display: none;
}

body.splat-toggle .splat {
  display: block;
}

@keyframes splat {
  0% {
    opacity: 1;
    transform: scale(0);
  }

  80% {
    opacity: 1;
    transform: scale(0);
  }

  90% {
    opacity: 0.5;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1.5);
  }
}

.toggles {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
}

.toggle {
  position: absolute;
  left: 20px;
  width: 50px;
  height: 50px;
  line-height: 51px;
  box-sizing: border-box;
  text-align: center;
  font-family: sans-serif;
  font-size: 10px;
  font-weight: bold;
  background-color: rgba(255, 255, 255, 0.2);
  color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}
