@import url(../../../components/buttonTema/buttonTema.css);
 *{
    margin: 0;
    padding: 0;
    color: var(--cdtexto);
    font-family: "Poppins", sans-serif; 
    box-sizing: border-box;
    text-decoration: none;
}

.bodyLogin {
    position: relative;
    max-width: 1440px;
    height: 100vh;
    margin: auto;
    background-color: var(--cdfundo);
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 15px;
    overflow: hidden;
} 



.container{
  box-sizing: border-box;
    margin-left: 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 100%;
    min-height: 100%;
   background: var(--cdform);
   order: 1;
}


.formLogin{
   width: 400px;
   justify-content: center;
   align-self: center;
}


.titleLogin{
    display: flex;
    justify-content: center;
    align-items: flex-start;
  font-weight: 650;
  font-size: 64px;
  margin-bottom: 32px;
}

label{
  display: block;
  margin-bottom: 6px;
}

.input{background: var(--cdipunt);
  box-sizing: border-box;
   width: 100%;
   height: 54px;
   display: flex;
   align-items: center;
   padding: 0 15px;
   gap: 10px;
   justify-content: flex-start;
   border-radius: 15px;
   margin-bottom: 10px;
}


.cor{
    background: transparent;
    color: var(--cdform);
    border: none;
    outline: none;
    width: 100%;
    padding: 10px;
}

.conta-login{
    margin-top: 10px;
    font-size: 16px;
    display: flex;

    gap: 5px;
}


.botao{
    font-size: 20px;
    letter-spacing: 0.2em;
    width: 100%;
    height: 50px;
   background: var(--cdbutton);
   border: 0.5px solid  var(--cdborda);
    border-radius: 15px;
    transition: background-position 300ms ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25) ;
    margin-top: 5px;
    margin-bottom: 5px;
}


.botao:hover{
    background:var(--cdbuttonhover);
    cursor: pointer;
}


.linha{
    width: 100%;
    height: 0.2px;
    background: white;
    margin-bottom: 24px;
}

.borda{margin-bottom: 24px;}

.ou-entre, .social{
display: flex;
justify-content: center;
align-self: center;
}

.social{
    gap: 24px;
}

.icon{
    width: 20px;
    height: 20px;
}

.cm-modo{
  position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    align-items: center;
    text-decoration: none;
}

.btn{
  margin-right: 10px;

}


.btn a{
    text-decoration: none;
    gap: 5px;
}

.modo{
    width: 80px;   
    height: 41px;
    background-color: var(--cdmodo);
    border: none;
    border-radius: 99px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 5px;
    padding-top: 5px;
    cursor: pointer;
     transition: all 0.5s ease
}

.modo img{
   transition: all 0.5s ease
}


.modo button{
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

.bodyLogin.dark .modo img {
  transform: translateX(40px);
}



.logo{
    padding: 100px;
    display: flex;
    justify-content:center;
    align-items: center;
    position: relative;
    z-index: 1;
    order: 2;
}

.logo::before {
    content: "";                                
    position: absolute;                          
    width: 100%;                            
    height: 100%;
    border-radius: 50%;                           
    background: var(--cdraio);
    filter: blur(50px);
    z-index: -1;                                 
}

input{
  background-color: transparent;
}

/*Responsivo*/

@media (max-width: 950px) {
.container{
  display: flex;
  justify-content: center;
  margin: 0;
  width: 100%;
}

  .bodyLogin {
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 40px 0 40px;
    gap: 25px;
    width: 100vw;
    box-sizing: border-box;
    overflow-y: auto;}

  .logo {
    order: 1;
    min-width: 100%;
    max-width: 800px;
    padding: 0;
    margin: 0 auto 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 70px;
    z-index: 2;}

  .formLogin {
    order: 2;
    width: 100%;
    max-width: 800px; 
    padding: 40px;    
    margin: 0 auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 20px;  }

  .titleLogin {font-size: 4rem;  
    margin-bottom: 30px;}

  .input, .botao {
    width: 100%;
    height: 65px;       
    padding: 0 25px;
    margin-bottom: 20px;
    border-radius: 15px;}

  .formLogin label {font-size: 1.4rem;}

  .cor {padding: 15px;font-size: 1.4rem;}

  .conta-login {
    font-size: 20px;
    gap: 10px;
    margin-top: 20px;
  }

  .cm-modo{
    display: flex;
    width: 100%;
    justify-content: space-between;
    position: absolute;
    top: 20px;
    left: 0;
    padding: 0 20px;
    z-index: 3;
  }

   .btn{
    margin: 0;
    order: 1;
   }

  .btn a {gap: 5px;}
 
  .modo{
   order: 2;
   margin: 0;

  }
}


@media (max-width: 550px) {
  .bodyLogin {
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch; 
    padding: 20px 0 20px; 
    gap: 15px;
    width: 100vw;
    box-sizing: border-box;
    overflow-y: auto;
  }


  .logo {
    order: 1;
    min-width:100%;      
    max-width: 440px;   
    padding: 0;
    margin: 0 auto 10px; 
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
  }

  .logo img {
    width: 255px;      
    max-width: 90%;    
    height: 110px;
    object-fit: contain;
  }

  .formLogin {
    order: 2;
    width: 100%;         
    padding: 20px;      
    margin: 0 auto;     
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .formLogin label { font-size: 1rem; }


 .input {
    width: 100%;
    height: 54px;       
    padding: 0 25px;
  }

 .titleLogin { font-size: 2.5rem; }

  .botao{
    font-size: 20px;
    height: 50px;
  }

  .cor{
    font-size: 1rem;
    padding: 10px;
    height: 50px;
  }

  .btn {
    top: 10px;           
    left: 10px;          
    right: auto;         
    display: flex;
    gap: 10px;
    align-items: center;
    z-index: 10;
    margin-bottom: auto;         
  }

  .btn, .modo {
    margin: 0;   
    height: 41px;       
  }

  .btn a {
    gap: 5px;
  }
}

