/* ============================================================
   WAGate.app — Login / sign-up
   ============================================================ */
.auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px; position: relative; overflow-x: hidden; }
.auth-wrap::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 900px; height: 420px; pointer-events: none; z-index: 0;
  background: radial-gradient(480px 240px at 50% 0%, rgba(18,183,106,0.14), transparent 70%);
}
.auth-topbar { position: absolute; top: 18px; inset-inline-end: 20px; z-index: 2; }
.auth-card { position: relative; z-index: 1; width: 100%; max-width: 400px; }
.auth-head { text-align: center; margin-bottom: 22px; }
.auth-brand { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.auth-brand-name { font-weight: 680; font-size: 17px; letter-spacing: -0.02em; }
.auth-title { font-size: 24px; font-weight: 720; letter-spacing: -0.03em; }
.auth-sub { font-size: 14.5px; color: var(--text-muted); margin-top: 6px; }
.auth-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); box-shadow: var(--sh-md); padding: 26px; }
.auth-error { background: var(--red-tint); color: var(--red-text); border: 1px solid #f0d4d4; border-radius: var(--r-sm); padding: 10px 12px; font-size: 13px; margin-bottom: 16px; }
.auth-alt { text-align: center; margin-top: 18px; font-size: 13.5px; color: var(--text-muted); }
.auth-alt a { color: var(--accent-text); font-weight: 600; }
.auth-alt a:hover { text-decoration: underline; }
.auth-link { color: var(--accent-text); font-weight: 600; font-size: 12.5px; }
.auth-link:hover { text-decoration: underline; }
.auth-icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 16px; }
.auth-icon.ok { background: var(--green-tint); color: var(--green); }
.auth-icon.bad { background: var(--red-tint); color: var(--red); }

/* Let the card breathe on small phones. */
@media (max-width: 480px) {
  .auth-wrap { padding: 16px; }
  .auth-form { padding: 20px; }
}
