/* File: public_html/public/assets/css/auth.css */

.auth-page{
  min-height:100%;
  background: radial-gradient(1200px 600px at 70% 20%, rgba(138,123,255,.18), rgba(255,255,255,0)),
              radial-gradient(900px 500px at 25% 80%, rgba(111,123,255,.14), rgba(255,255,255,0)),
              #ffffff;
}

.auth-split{
  min-height:100vh;
  display:grid;
  grid-template-columns: 1fr 1fr;
}

.auth-split__form{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:32px 22px;
}

.auth-form-wrap{
  width:min(460px, 100%);
}

.auth-brand{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:18px;
}

.auth-brand__logo{
  width:40px;
  height:40px;
  border-radius:14px;
  background: linear-gradient(180deg, rgba(138,123,255,1), rgba(111,123,255,1));
  box-shadow: 0 14px 26px rgba(138,123,255,.25);
}

.auth-brand__name{
  font-weight:950;
  letter-spacing:.2px;
}

.auth-card{

}

.auth-title{
  margin:0;
  font-size:26px;
  font-weight:500;
  letter-spacing:-.2px;
}

.auth-subtitle{
  margin:8px 0 0;
  color: rgba(0,0,0,.62);
  line-height:1.5;
}

.auth-alert{
  margin-top:14px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.10);
  background: rgba(0,0,0,.03);
  font-weight:700;
  font-size:13px;
}

.auth-alert--error{
  border-color: rgba(255,90,90,.35);
  background: rgba(255,90,90,.10);
}

.auth-alert--success{
  border-color: rgba(60,200,120,.35);
  background: rgba(60,200,120,.10);
}

.auth-alert--info{
  border-color: rgba(0,0,0,.10);
  background: rgba(0,0,0,.03);
}

.auth-divider{
  display:flex;
  align-items:center;
  gap:12px;
  margin:18px 0;
}

.auth-divider:before,
.auth-divider:after{
  content:"";
  height:1px;
  flex:1;
  background: rgba(0,0,0,.08);
}

.auth-divider span{
  font-size:12px;
  font-weight:900;
  color: rgba(0,0,0,.45);
  text-transform:uppercase;
  letter-spacing:.12em;
}

.auth-form{
  margin-top:0;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.auth-field{display:flex;flex-direction:column;gap:6px}

.auth-label{
  font-size:12px;
  font-weight:500;
  color: rgba(0,0,0,.60);
}

.auth-help{
  font-size:12px;
  color: rgba(0,0,0,.48);
}

.auth-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  width:100%;
  padding:11px 14px;
  border-radius:14px;
  font-weight:600;
  border:1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.92);
  cursor:pointer;
}

.auth-btn:hover{filter:brightness(1.02)}

.auth-btn--google{
  margin-top:16px;
}

.auth-btn--primary{
  border:0;
  background: linear-gradient(180deg, rgba(138,123,255,1), rgba(111,123,255,1));
  color:#0b0f17;
  box-shadow: 0 12px 28px rgba(138,123,255,.20);
  margin-top:4px;
}

.auth-btn__icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.auth-links{
  margin-top:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  font-weight:500;
  color: rgba(0,0,0,.62);
}

.auth-links__sep{opacity:.55}
.auth-links__text{opacity:.9}

.auth-link{
  text-decoration:underline;
  text-underline-offset:3px;
}

.auth-legal{
  margin-top:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  font-size:12px;
  color: rgba(0,0,0,.52);
  font-weight:500;
}
a.auth-brand {
    width: 250px;
}

.auth-legal__sep{opacity:.55}

.auth-split__visual{
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:22px;
}

.auth-split__visual:before{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(900px 500px at 30% 30%, rgba(138,123,255,.28), rgba(255,255,255,0));
}

.auth-visual__img{
  position:relative;
  width:min(640px, 92%);
  max-height:86vh;
  object-fit:contain;
  filter: drop-shadow(0 26px 60px rgba(0,0,0,.12));
}

@media (max-width: 980px){
  .auth-split{grid-template-columns:1fr}
  .auth-split__visual{display:none}
  .auth-split__form{padding:26px 16px}
}