/* Fonte: Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Ubuntu:wght@400;500;700&display=swap');

html{
font-family: 'Poppins', 'sans-serif';
}

body{
    margin: 0;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}
.main-login{
    width: 100vw;
    height: 100vh;
    background: #111;
    display: flex;
    justify-content: center;
    align-items: center; 
}
.left-login{
    width: 50vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center; 
    flex-direction: column;
}
.left-login, .title-login {
    color: #1756ED;
    font-size: 3vw;
    font-weight: 800;
}
.left-login, p {
  color: #fff;
  font-size: 1.0vw;
  font-weight: 400;
  margin: 0 5px;
  text-align: justify center;
}
.right-login{
    width: 50vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center; 
    flex-direction: column;
    background: #111;
}
.card-login{
    width: 60%;
    display: flex;
    justify-content: center;
    align-items: center; 
}
.left-login-image{
    width: 35vw;
    margin: 20px 60px;
}


/*Formulario Login*/
.wrapper{
    overflow: hidden;
    max-width: 20,31vw;
    background: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0px 15px 20px rgba(0,0,0,0.1);
  }
  .wrapper .title-text{
    display: flex;
    width: 200%;
  }
  .wrapper .title{
    width: 50%;
    font-size: 35px;
    font-weight: 600;
    text-align: center;
    transition: all 0.6s cubic-bezier(0.68,-0.55,0.265,1.55);
  }
  .wrapper .slide-controls{
    position: relative;
    display: flex;
    height: 50px;
    width: 100%;
    overflow: hidden;
    margin: 30px 0 10px 0;
    justify-content: space-between;
    border: 1px solid lightgrey;
    border-radius: 5px;
  }
  .slide-controls .slide{
    height: 100%;
    width: 100%;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    line-height: 48px;
    cursor: pointer;
    z-index: 1;
    transition: all 0.6s ease;
  }
  .slide-controls label.signup{
    color: #000;
  }
  .slide-controls .slider-tab{
    position: absolute;
    height: 100%;
    width: 50%;
    left: 0;
    z-index: 0;
    border-radius: 5px;
    background: -webkit-linear-gradient(left, #00ffff, #1756ED);
    transition: all 0.6s cubic-bezier(0.68,-0.55,0.265,1.55);
  }
  input[type="radio"]{
    display: none;
  }
  #signup:checked ~ .slider-tab{
    left: 50%;
  }
  #signup:checked ~ label.signup{
    color: #fff;
    cursor: default;
    user-select: none;
  }
  #signup:checked ~ label.login{
    color: #000;
  }
  #login:checked ~ label.signup{
    color: #000;
  }
  #login:checked ~ label.login{
    cursor: default;
    user-select: none;
  }
  .wrapper .form-container{
    width: 100%;
    overflow: hidden;
  }
  .form-container .form-inner{
    display: flex;
    width: 200%;
  }
  .form-container .form-inner form{
    width: 50%;
    transition: all 0.6s cubic-bezier(0.68,-0.55,0.265,1.55);
  }
  .form-inner form .field{
    height: 50px;
    width: 100%;
    margin-top: 25px;
  }
  .form-inner form .field input{
    height: 100%;
    width: 100%;
    outline: none;
    padding-left: 15px;
    border-radius: 5px;
    border: 1px solid lightgrey;
    border-bottom-width: 2px;
    font-size: 17px;
    transition: all 0.3s ease;
  }
  .form-inner form .field input:focus{
    border-color: #1756ED;
  }
  .form-inner form .field input::placeholder{
    color: #999;
    transition: all 0.3s ease;
  }
  form .field input:focus::placeholder{
    color: #b3b3b3;
  }
  .form-inner form .pass-link{
    margin-top: 10px;
  }
  .form-inner form .signup-link{
    text-align: center;
    margin-top: 30px;
  }
  .form-inner form .pass-link a,
  .form-inner form .signup-link a{
    color: #1756ED;
    text-decoration: none;
  }
  .form-inner form .pass-link a:hover,
  .form-inner form .signup-link a:hover{
    text-decoration: underline;
  }
  form .btn{
    height: 50px;
    width: 100%;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
  }
  form .btn .btn-layer{
    height: 100%;
    width: 300%;
    position: absolute;
    left: -100%;
    background: -webkit-linear-gradient(right, #00ffff, #79b6c9, #00008b, #1756ED);
    border-radius: 5px;
    transition: all 0.4s ease;
    box-shadow: 0px 10px 40px #1756ED;
  }
  form .btn:hover .btn-layer{
    left: 0;
  }
  form .btn input[type="submit"]{
    height: 100%;
    width: 100%;
    z-index: 1;
    position: relative;
    background: none;
    border: none;
    color: #fff;
    padding-left: 0;
    border-radius: 5px;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
  }

/* ---------- Estilos dinamicos ---------- */
.helper-text {
  font-size: .8rem;
  color: darkred;
}
.required-popup::after {
  content: "Preencha este campo";
  position: absolute;
  top: 0;
  right: 0;
  color: #DFDFDF;
  font-size: .65rem;
  padding: .2rem .3rem;
  width: auto;
  display: block;
  background-color: #202020;
}

input.error {
  border: solid 2px #992020;
  background-color: #9f7474;
  color: #d3b7b7;
}

input.correct {
  background-color: #BBCCBB;
  border: solid 2px #206620;
  color: #111;
}

.visible {
  display: block;
}

/* Mostrar senha*/

.password-image {
  float: right;
  margin: 10px 0;
  margin-left: -80px;
  height: 1.5rem;
  opacity: 0.50;
  transition: opacity 1s easeIn 1s;
  cursor: pointer ;
  
}

.password-image:hover{
  opacity: 0.9;
  color: #00008b;
}


  

@media only screen and (max-width: 950px) {  
.card-login{
    width: 85%;
}
}
@media only screen and (max-width: 600px) {
    .main-login{
        flex-direction: column;
    }
    .left-login > h2 > p{
        display: none;
    }    
    .right-login{
        width: 100%;
        height: auto;
    }
    .left-login-image{
        width: 50vw;
    }
    .card-login{
        width: 90%;
    }
    
}
@media (max-width: 450px) {
  .left-login{
    margin-top: 140px;
  }
 
  h2 {
    font-size: 25px;
    margin: 10px 0;
  }
  p{
    font-size: 10px;
  } 

.card-login{
    margin-bottom: 50px;
}
}

@media (max-width: 380px) {
  .left-login{
    margin-top: 35vh;
  }
  h2{
    padding-top: 50px;
  }
.card-login{
  margin-bottom: 50px;
}
}
