/* AutoBuy · 登录 / 注册 */
body { background: #fff; }
.auth-layout { min-height: 100vh; display: grid; grid-template-columns: 1.02fr 1fr; }

.auth-aside {
  position: relative; overflow: hidden; color: #fff; padding: 52px 60px;
  display: flex; flex-direction: column;
  background: radial-gradient(760px 460px at 15% 10%, #204ba5 0%, transparent 65%),
              linear-gradient(155deg, #060f26, #0b1d44 60%, #0a1a3d);
}
.auth-aside::after {
  content: ''; position: absolute; inset: 0; opacity: .14;
  background-image: linear-gradient(rgba(150, 180, 255, .18) 1px, transparent 1px), linear-gradient(90deg, rgba(150, 180, 255, .18) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.auth-aside > * { position: relative; z-index: 1; }
.auth-aside .brand { color: #fff; }
.auth-aside .brand-accent { color: #8eaeff; }
.aside-main { margin: auto 0; padding: 40px 0; }
.aside-kicker { font-size: 11.5px; font-weight: 800; letter-spacing: .16em; color: #8fafff; margin-bottom: 20px; }
.aside-main h1 { font-size: clamp(30px, 3.1vw, 44px); line-height: 1.3; letter-spacing: -.04em; font-weight: 800; }
.aside-main h1 em { font-style: normal; color: #9dbbff; }
.aside-main > p { color: rgba(216, 228, 255, .68); font-size: 14.5px; line-height: 1.9; margin: 20px 0 36px; max-width: 440px; }
.aside-points { display: flex; flex-direction: column; gap: 18px; }
.aside-point { display: flex; gap: 13px; align-items: flex-start; }
.aside-point .ap-ico { width: 38px; height: 38px; border-radius: 11px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); display: grid; place-items: center; flex: none; color: #9dbbff; }
.aside-point .icon { width: 18px; height: 18px; }
.aside-point b { display: block; font-size: 13.5px; font-weight: 650; }
.aside-point small { color: rgba(210, 224, 255, .55); font-size: 12px; }
.aside-foot { font-size: 12px; color: rgba(200, 216, 250, .42); }

.auth-panel { display: flex; flex-direction: column; padding: 40px 56px; }
.auth-top { display: flex; justify-content: flex-end; align-items: center; gap: 14px; font-size: 13px; color: var(--muted); }
.auth-top a { color: var(--primary); font-weight: 650; }
.auth-box { width: min(420px, 100%); margin: auto; padding: 40px 0; }
.auth-box h2 { font-size: 28px; letter-spacing: -.035em; font-weight: 800; }
.auth-box > p.sub { color: var(--muted); font-size: 13.5px; margin: 9px 0 28px; }
.auth-tabs { display: flex; background: #f3f6fb; border-radius: 11px; padding: 4px; margin-bottom: 26px; }
.auth-tabs button { flex: 1; border: 0; background: transparent; padding: 10px; border-radius: 8px; font-weight: 650; font-size: 13.5px; color: var(--muted); transition: .18s; }
.auth-tabs button.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.auth-form { display: none; }
.auth-form.active { display: block; animation: fadeUp .25s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.auth-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.auth-actions { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--muted); margin: -4px 0 20px; }
.auth-actions label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.auth-actions input { accent-color: var(--primary); }
.auth-actions a { color: var(--primary); font-weight: 600; }
.auth-divider { display: flex; align-items: center; gap: 12px; color: #a6b2c7; font-size: 11.5px; margin: 26px 0 20px; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.auth-tip { background: #f5f8ff; border: 1px solid #dfe9ff; border-radius: 11px; padding: 13px 15px; font-size: 12px; color: #3c568f; line-height: 1.75; display: flex; gap: 9px; }
.auth-tip .icon { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--primary); }
.auth-bottom { text-align: center; font-size: 12px; color: #a0acc1; padding-top: 20px; }
.auth-error { background: #fff2f2; border: 1px solid #ffdada; color: #c03a3f; border-radius: 9px; padding: 10px 13px; font-size: 12.5px; margin-bottom: 16px; display: none; }
.auth-error.show { display: block; }

@media (max-width: 900px) {
  .auth-layout { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .auth-panel { padding: 28px 24px; min-height: 100vh; }
  .auth-top { justify-content: space-between; }
}
