
body { min-height: 100vh; background: var(--bg-alt); }
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: 1.06fr 1fr; }
.auth-left {
  background:
    radial-gradient(660px 440px at 84% 8%, rgba(226,174,75,.22), transparent 65%),
    radial-gradient(520px 400px at 8% 95%, rgba(45,212,191,.13), transparent 65%),
    #091527;
  color: #f8fafc; padding: 48px 56px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
}
.auth-left::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 24px 24px;
}
.auth-left > * { position: relative; }
.brand-row { display: inline-flex; align-items: center; gap: 11px; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.brand-row .tag { font-size: 11px; padding: 2px 8px; border-radius: 99px; background: rgba(226,174,75,.18); color: #f4ca78; font-weight: 700; }
.auth-copy { max-width: 460px; margin: 34px 0; }
.auth-copy h1 { font-size: 35px; line-height: 1.24; font-weight: 800; letter-spacing: -.025em; margin-bottom: 14px; }
.auth-copy h1 span { color: #e2ae4b; }
.auth-copy p { color: #94a3b8; font-size: 15px; line-height: 1.75; }
.auth-points { list-style: none; margin-top: 26px; display: grid; gap: 12px; }
.auth-points li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 13px 15px; border-radius: 12px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
}
.auth-points .ic {
  width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0;
  display: grid; place-items: center; background: rgba(226,174,75,.16); color: #f4ca78; font-size: 13px; font-weight: 800;
}
.auth-points b { display: block; font-size: 14px; color: #f8fafc; }
.auth-points span { font-size: 13px; color: #94a3b8; }
.auth-foot { font-size: 12.5px; color: #7c91b0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.auth-right {
  background: var(--bg-alt); padding: 76px 28px 36px;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  position: relative;
}
.auth-top {
  position: absolute; top: 20px; left: 26px; right: 26px;
  display: flex; justify-content: space-between; align-items: center;
}
.auth-card {
  width: 100%; max-width: 440px;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 32px; box-shadow: var(--shadow-md);
}
.auth-tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  background: var(--bg-subtle); padding: 4px; border-radius: 11px; margin-bottom: 22px;
}
.auth-tabs button {
  border: 0; background: transparent; padding: 9px; border-radius: 8px;
  font-size: 14px; font-weight: 700; color: var(--sub); transition: all .15s;
}
.auth-tabs button.on { background: var(--card); color: var(--ink); box-shadow: var(--shadow-xs); }
.auth-title { font-size: 21px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 4px; }
.auth-sub { font-size: 13.5px; color: var(--sub); margin-bottom: 20px; }
.auth-form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-2); display: flex; justify-content: space-between; }
.input {
  width: 100%; padding: 10px 13px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--card); color: var(--ink); font-size: 14px;
}
.input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 16%, transparent); }
.pwd-wrap { position: relative; }
.pwd-toggle {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  border: 0; background: transparent; color: var(--sub); font-size: 12.5px; font-weight: 600; padding: 4px 6px;
}
.code-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.divider { display: flex; align-items: center; gap: 12px; margin: 18px 0 14px; font-size: 12px; color: var(--muted); }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.oauth-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.demo-tip {
  margin-top: 15px; padding: 11px 13px; border-radius: 10px;
  background: var(--gold-soft); color: var(--gold-ink); font-size: 12.5px; line-height: 1.5;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
@media (max-width: 960px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-left { display: none; }
}
