:root{
  --text:#111827;
  --muted:#6b7280;
  --border: rgba(17,24,39,0.12);
  --bg:#ffffff;
  --bg2:#f9fafb;
  --link:#2563eb;
  --danger:#b91c1c;
  --shadow: 0 14px 40px rgba(17,24,39,0.10);
  --radius: 18px;
}

*{ box-sizing:border-box; }
body.auth-body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color:var(--text);
  background: radial-gradient(1200px 700px at 20% 20%, #eef2ff 0, transparent 55%),
              radial-gradient(1000px 650px at 85% 70%, #ecfeff 0, transparent 55%),
              var(--bg2);
  min-height:100vh;
}

.auth-main{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
}

.auth-shell{
  width: min(980px, 100%);
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap:18px;
}

.auth-card{
  background:var(--bg);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:22px;
}

.auth-header{ margin-bottom:14px; }
.auth-brand{ display:flex; gap:12px; align-items:center; }
.auth-logo{
  width:42px; height:42px;
  display:flex; align-items:center; justify-content:center;
  border-radius:14px;
  background:#111827;
  color:#fff;
  font-size:18px;
}
.auth-appname{ font-weight:800; font-size:18px; line-height:1.2; }
.auth-tagline{ color:var(--muted); font-size:13px; margin-top:2px; }

.auth-alert{
  margin:12px 0 14px 0;
  border:1px solid rgba(185,28,28,0.25);
  background: rgba(185,28,28,0.06);
  color: var(--danger);
  padding:10px 12px;
  border-radius: 12px;
  font-size: 13px;
}

.auth-form{ display:flex; flex-direction:column; gap:10px; }
.auth-label{ font-size:13px; color:var(--muted); margin-top:6px; }
.auth-input{
  width:100%;
  padding:11px 12px;
  border:1px solid var(--border);
  border-radius:12px;
  background:#fff;
  font-size:14px;
  outline:none;
}
.auth-input:focus{
  border-color: rgba(37,99,235,0.55);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.12);
}

.auth-password{ position:relative; }
.auth-eye{
  position:absolute;
  right:10px;
  top:50%;
  transform: translateY(-50%);
  border:0;
  background:transparent;
  cursor:pointer;
  padding:6px 8px;
  border-radius:10px;
  color:var(--muted);
}
.auth-eye:hover{ background: rgba(17,24,39,0.05); }

.auth-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:4px;
}
.auth-check{ display:flex; align-items:center; gap:8px; font-size:13px; color:var(--muted); }
.auth-check input{ width:16px; height:16px; }

.auth-btn{
  margin-top:10px;
  width:100%;
  padding:11px 12px;
  border:0;
  border-radius:12px;
  background:#111827;
  color:#fff;
  font-weight:700;
  cursor:pointer;
  font-size:14px;
}
.auth-btn:hover{ filter: brightness(1.06); }

.auth-link{
  color:var(--link);
  text-decoration:none;
  font-size:13px;
  font-weight:600;
}
.auth-link:hover{ text-decoration:underline; }

.auth-help{ margin-top:8px; color:var(--muted); font-size:12px; line-height:1.4; }

.auth-footer{
  margin-top:16px;
  padding-top:14px;
  border-top:1px solid var(--border);
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--muted);
  font-size:12px;
}
.auth-dot{ opacity:0.6; }

.auth-side{
  border-radius:var(--radius);
  border:1px solid var(--border);
  background: linear-gradient(180deg, rgba(17,24,39,0.05), rgba(17,24,39,0.00));
  padding:22px;
}
.auth-side-inner{ padding:6px 4px; }
.auth-side-title{ font-size:18px; font-weight:900; margin-bottom:10px; }
.auth-side-text{ color:var(--muted); line-height:1.55; margin-bottom:12px; font-size:14px; }
.auth-side-list{
  margin:0; padding-left:18px;
  color:var(--text);
  font-size:13px;
  line-height:1.8;
}

@media (max-width: 880px){
  .auth-shell{ grid-template-columns: 1fr; }
  .auth-side{ order:-1; }
}
