/* ==============================
   IMPORTAÇÃO DE FONTE
============================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

/* ==============================
   RESET ISOLADO (EVITA CONFLITO WP)
============================== */
.auth-page *{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

/* ==============================
   BODY
============================== */
body.auth-page{
  font-family:'Inter',sans-serif;
  background: linear-gradient(135deg,#f5f7fb,#eef2ff);
}

/* ==============================
   WRAPPER
============================== */
.auth-wrapper{
  width:100%;
  min-height:100vh;
  display:flex;
  justify-content:center;
  align-items:center;
  padding:40px 20px;
}

/* ==============================
   BOX PRINCIPAL
============================== */
.auth-box{
  width:920px;
  max-width:100%;
  background:#fff;
  border-radius:20px;
  display:grid;
  grid-template-columns:1fr 1fr;
  overflow:hidden;
  box-shadow:
    0 10px 30px rgba(0,0,0,0.05),
    0 20px 60px rgba(0,0,0,0.08);
  transition:all .3s ease;
}

/* ==============================
   COLUNA ESQUERDA
============================== */
.auth-left{
  padding:60px 70px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

/* ==============================
   LOGO
============================== */
.auth-logo{
  text-align:center;
  margin-bottom:30px;
}

.auth-logo img{
  max-width:160px;
}

/* ==============================
   ABAS
============================== */
.auth-tabs{
  display:flex;
  background:#f1f2f4;
  border-radius:12px;
  padding:4px;
  margin-bottom:30px;
}

.auth-tab{
  flex:1;
  border:none;
  background:transparent;
  padding:10px;
  border-radius:10px;
  cursor:pointer;
  font-size:14px;
  font-weight:600;
  color:#6b7280;
  transition:.3s;
}

.auth-tab.active{
  background:#fff;
  color:#3b5bfd;
  box-shadow:0 4px 12px rgba(0,0,0,0.05);
}

/* ==============================
   TITULOS
============================== */
.auth-left h2{
  font-size:22px;
  font-weight:600;
  color:#111827;
  margin-bottom:10px;
}

.subtitle{
  font-size:14px;
  color:#6b7280;
  margin-bottom:25px;
}

/* ==============================
   FORMULÁRIOS (ANIMAÇÃO CORRIGIDA)
============================== */
.auth-form{
  display:none;
  opacity:0;
  transform:translateY(10px);
}

.auth-form.active{
  display:block;
  animation:fadeUp .3s ease forwards;
}

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

/* ==============================
   INPUTS
============================== */
.auth-form input{
  width:100%;
  padding:14px;
  margin-bottom:16px;
  border-radius:10px;
  border:1px solid #e5e7eb;
  font-size:14px;
  transition:.3s;
  background:#fff;
}

.auth-form input:focus{
  border-color:#3b5bfd;
  box-shadow:0 0 0 3px rgba(59,91,253,0.1);
  outline:none;
}

/* INPUT GROUP */
.input-group{
  position:relative;
}

.input-group input{
  padding-left:40px;
}

.input-group i{
  position:absolute;
  left:12px;
  top:50%;
  transform:translateY(-50%);
  color:#9ca3af;
  font-size:16px;
  cursor:pointer;
}

/* ==============================
   BOTÃO
============================== */
.auth-btn{
  width:100%;
  padding:14px;
  border-radius:10px;
  background: linear-gradient(135deg,#3b5bfd,#7b3ff2);
  color:#fff;
  border:none;
  font-size:15px;
  font-weight:600;
  cursor:pointer;
  transition:.3s;
  box-shadow: 0 8px 20px rgba(59,91,253,0.25);
}

.auth-btn:hover{
  transform:translateY(-1px);
  box-shadow: 0 12px 25px rgba(59,91,253,0.35);
}

.auth-btn:disabled{
  opacity:.7;
  cursor:not-allowed;
}

/* ==============================
   DIVISOR
============================== */
.divider{
  display:flex;
  align-items:center;
  margin:25px 0;
  font-size:12px;
  color:#9ca3af;
}

.divider::before,
.divider::after{
  content:"";
  flex:1;
  height:1px;
  background:#e5e7eb;
}

.divider span{
  margin:0 12px;
}

/* ==============================
   GOOGLE
============================== */
.nsl-button-google{
  width:100%!important;
  border-radius:10px!important;
  padding:12px!important;
}

/* ==============================
   LADO DIREITO
============================== */
.auth-right{
  background:#f4f6f9;
  display:flex;
  justify-content:center;
  align-items:center;
  padding:40px;
}

.auth-highlight{
  text-align:center;
  max-width:280px;
}

.auth-highlight .icon{
  width:70px;
  height:70px;
  background:linear-gradient(135deg,#3b5bfd,#7b3ff2);
  color:#fff;
  border-radius:18px;
  display:flex;
  justify-content:center;
  align-items:center;
  font-size:26px;
  margin:0 auto 20px;
}

/* ==============================
   STEPS
============================== */
.register-step{
  display:none;
}

.register-step.active{
  display:block;
}

/* ==============================
   FULL WIDTH
============================== */
.auth-box.full-width{
  grid-template-columns:1fr;
}

.auth-box.full-width .auth-right{
  display:none;
}

.auth-box.full-width .auth-left{
  margin:0 auto;
  max-width:500px;
}

/* ==============================
   CÓDIGO
============================== */
.code-inputs{
  display:flex;
  justify-content:center;
  gap:10px;
  margin-bottom:20px;
}

.code-inputs input{
  width:48px;
  height:55px;
  text-align:center;
  font-size:22px;
  font-weight:600;
  border:1px solid #e5e7eb;
  border-radius:10px;
}

.code-inputs input:focus{
  border-color:#3b5bfd;
  box-shadow:0 0 0 3px rgba(59,91,253,0.15);
}

/* ==============================
   RESPONSIVO
============================== */
@media(max-width:900px){

  .auth-box{
    grid-template-columns:1fr;
  }

  .auth-right{
    display:none;
  }

  .auth-left{
    padding:40px;
  }

}