/* ================================================================
   Auth Pages — Login & Register
   ================================================================ */

.auth-body { background: var(--surface); min-height: 100vh; }

.auth-split {
  display: grid;
  grid-template-columns: 420px 1fr;
  min-height: 100vh;
}

/* ── Brand panel ─────────────────────────────────────────────── */
.auth-panel--brand {
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.auth-brand-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  height: 100%; padding: var(--space-8) var(--space-8);
}

.auth-logo {
  display: flex; align-items: center; gap: var(--space-3);
  margin-bottom: auto;
}
.logo-mark {
  width: 40px; height: 40px;
  background: var(--accent); color: white; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: var(--text-lg);
}
.logo-name { font-size: var(--text-lg); font-weight: 700; color: white; letter-spacing: -.02em; }

.auth-tagline { margin: auto 0 var(--space-10); }
.tagline-big {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: white; line-height: 1.15;
  margin-bottom: var(--space-4);
}
.tagline-big em { color: var(--accent); font-style: italic; }
.tagline-sub { font-size: var(--text-base); color: rgba(255,255,255,.5); line-height: 1.6; max-width: 280px; }

/* Decorative circles */
.auth-decoration { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.deco-circle {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.06);
}
.deco-circle--lg {
  width: 500px; height: 500px;
  bottom: -200px; right: -150px;
}
.deco-circle--sm {
  width: 240px; height: 240px;
  top: -60px; left: -60px;
}

/* ── Form panel ──────────────────────────────────────────────── */
.auth-panel--form {
  display: flex; align-items: center; justify-content: center;
  padding: var(--space-8) var(--space-6);
  overflow-y: auto;
}
.auth-form-inner {
  width: 100%; max-width: 440px;
}

.auth-form-header { margin-bottom: var(--space-7); }
.auth-title    { font-size: var(--text-2xl); font-weight: 700; letter-spacing: -.03em; color: var(--ink); }
.auth-subtitle { font-size: var(--text-base); color: var(--ink-3); margin-top: var(--space-2); }

.auth-form {
  display: flex; flex-direction: column; gap: var(--space-5);
}

.field-check { margin-top: calc(-1 * var(--space-2)); }

.auth-switch {
  font-size: var(--text-sm); color: var(--ink-3); text-align: center; margin-top: var(--space-3);
}
.auth-switch a { color: var(--ink); font-weight: 600; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .auth-split { grid-template-columns: 1fr; }
  .auth-panel--brand { display: none; }
  .auth-panel--form { padding: var(--space-7) var(--space-5); align-items: flex-start; }
}
