@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap");

/* RESET + FONTE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Plus Jakarta Sans", sans-serif;
}

/* BODY */
body {
  width: 100vw;
  height: 100vh;
  display: flex;
  overflow: hidden;
}

.login-wrapper{
  width: 48%;
  background-color: #0c2c47;
  color: white;
  justify-content: center;
  display: flex;
  align-items: center;
  flex-direction: column;
}

#logo-vtrina-white{
  width: 170px;
  margin-bottom: 15px;
}

.bg-wrapper{
  width: 52%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url(../imagens/bg-wallpaper.png); ;
  color: white;
  
}

.bg-wrapper-blur{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.555);
}

#bg-wrapper-text{
  font-size: 2.55em;
}
.fadeEffectY {
  animation: fadeEffectY 0.5s ease-in-out;
}
.fadeEffectYReverse {
  animation: fadeEffectYReverse 0.5s ease-in-out;
}

@keyframes fadeEffectY {
  0% {
    opacity: 0;
    translate: 0px 30px;
  }

  50% {
    translate: 0px 15px;
  }

  100% {
    translate: 0px;
  }
}
@keyframes fadeEffectYReverse {
  0% {
    opacity: 0;
    translate: 0px -30px;
  }

  50% {
    translate: 0px -15px;
  }

  100% {
    translate: 0px;
  }
}



/* FORM (BOX LOGIN) */
.form {
  width: 900px;
  border-radius: 37px;
  max-width: 66%;
  min-height: 589px;
  background-color: white;
  padding: 1em;
}

#form-container-text{
  font-size: 1.2em;
}

 .logo-swiper {
   text-align: center;
 }

 .main {
   display: flex;
   justify-content: center;
   align-items: center;
   height: 100vh;
 }

 /* animação */
 @keyframes scroll-left {
   from {
     transform: translateX(0);
   }

   to {
     transform: translateX(-50%);
   }
 }

 @keyframes scroll-right {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}


.area{
    background: #4e54c8;  
    background: -webkit-linear-gradient(to left, #8f94fb, #4e54c8);  
    width: 100%;
    height:100vh;
    
   
}

.circles{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.circles li{
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    animation: animate 25s linear infinite;
    bottom: -150px;
    
}

.circles li:nth-child(1){
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}


.circles li:nth-child(2){
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
}

.circles li:nth-child(3){
    left: 70%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
}

.circles li:nth-child(4){
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}

.circles li:nth-child(5){
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}

.circles li:nth-child(6){
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
}

.circles li:nth-child(7){
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
}

.circles li:nth-child(8){
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 15s;
    animation-duration: 45s;
}

.circles li:nth-child(9){
    left: 20%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 35s;
}

.circles li:nth-child(10){
    left: 85%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 11s;
}



@keyframes animate {

    0%{
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }

    100%{
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }

}

/* CONTEÚDO INTERNO */
.form_container {
  width: 100%;
  max-width: 420px; /* largura ideal do login */
  margin: 0 auto; /* centraliza conteúdo */
  padding: 0 24px;
}

/* TÍTULOS */
.title {
  font-weight: 700;
  font-size: 23px;
  line-height: 31px;
  color: #363565;
  margin-top: 70px;
}

small {
  display: block;
  margin-top: 8px;
  font-weight: 600;
  font-size: 13px;
  color: #9a9e9a;
}

/* INPUTS */
#form_container_input {
  margin-bottom: 80px;
}

.input-container {
  position: relative;
  width: 85%;
}

.input-container input {
  width: 100%;
  height: 55px;
  padding-left: 48px; /* ajustado para o ícone */
  border-radius: 8px;
  border: 1px solid #dcdfe6;
  font-size: 14px;
  line-height: 20px;
  box-sizing: border-box;
}

.input-container svg {
  position: absolute;
  left: 12px; /* distância da borda esquerda */
  top: 50%;
  transform: translateY(-50%); /* centraliza verticalmente */
  width: 20px;
  height: 20px;
  pointer-events: none; /* não bloqueia clique no input */
  opacity: 0.6;
}

label {
  display: block;
  margin-top: 24px;
  font-weight: 700;
  font-size: 15px;
  color: #363565;
}

input {
  width: 100%;
  height: 55px;
  padding-left: 52px; /* espaço para o ícone */
  padding-top: 2px;
  border-radius: 8px;
  border: 1px solid #dcdfe6;
  font-size: 14px;
  line-height: 20px;
  box-sizing: border-box;
}

input::placeholder {
  color: #9a9e9a;
}

input:focus {
  outline: none;
  border-color: #843af3;
}

/* ÍCONES */
.svg-icons {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%); /* corrigido para centralizar verticalmente */
  width: 20px;
  height: 20px;
  opacity: 0.6;
  pointer-events: none; /* não bloqueia clique no input */
}

/* BOTÕES */
.buttons {
  width: 85%;
  margin-top: 32px;
}

button {
  width: 140px;
  height: 42px;
  background: #843af3;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  font-size: 13px;
  color: #ffffff;
  transition: opacity 0.3s ease;
}

button:hover {
  opacity: 0.85;
}

/* LINKS */
a {
  font-size: 13px;
  color: #757575;
  text-decoration: none;
}

/* SEASON ICON */
#season-icon {
  width: 27px;
  margin-right: 6px;
  animation: moveUpDown 1.5s ease-in-out infinite;
}

/* EFEITOS DE FUNDO */
.effect-1,
.effect-2 {
  position: fixed;
  left: 70px;
  background-color: rgb(103, 45, 189);
  filter: brightness(1.07);
  transform: rotate(53deg);
  z-index: -1;
}

.effect-1 {
  width: 233px;
  height: 590px;
  top: -44px;
  border-radius: 0 20px;
}

.effect-2 {
  width: 233px;
  height: 1980px;
  bottom: -983px;
}

.white {
  width: 60%;
  height: 100vh;
  background-color: rgba(239, 241, 247, 1);
  float: left;
}

/* ANIMAÇÕES */
@keyframes moveUpDown {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes form {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVO */
@media (max-width: 1050px) {
  .login-wrapper {
    width: 100%;
    width: 100vw;
  }
  .bg-wrapper {
    display: none;
  }

  .form {
    max-width: 95%;
  }

  .form_container {
    margin-left: 0;
    max-width: 100%;
  }

  #form-apresentation-break{
    display: none;
  }

  .input-container,
  .buttons {
    width: 100%;
  }

  .effect-1,
  .effect-2,
  .white {
    display: none;
  }
}

@media (max-width: 580px) {
    .login-wrapper {
        width: 100vw;
      }
    
      .bg-wrapper {
        display: none;
      }
    
      .form {
        max-width: 95%;
      }
  button {
    width: 100%;
  }

  /* Container de ações do formulário */
  #form-footer {
    display: flex;
    justify-content: space-between; /* link à esquerda, botão à direita */
    align-items: center; /* centraliza verticalmente se os elementos tiverem alturas diferentes */
    width: 85%; /* mesma largura dos inputs */
    margin-top: 20px;
  }

  #form-footer-link {
    font-size: 13px;
    color: #757575;
    text-decoration: none;
  }

  #form-footer button {
    width: auto; /* deixa o botão com largura mínima necessária */
    min-width: 120px;
  }
}
