/* ============ AUTH PAGES ============ */

.auth-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  background: var(--bg-body);
}

/* Responsive override for .auth-aside lives in _responsive.scss to win over
   the default rules below — see chat note for why. */

.auth-aside {
  position: relative;
  background: linear-gradient(135deg, var(--primary), var(--purple));
  color: #fff;
  padding: 40px 48px;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.auth-aside::before {
  content: '';
  position: absolute;
  inset: -40% -20% auto auto;
  width: 80%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255,255,255,.18), transparent 60%);
  pointer-events: none;
}
.auth-aside::after {
  content: '';
  position: absolute;
  inset: auto auto -30% -20%;
  width: 80%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255,255,255,.10), transparent 60%);
  pointer-events: none;
}

.auth-brand {
  display: flex; align-items: center; gap: 10px;
  position: relative; z-index: 1;
}
.auth-brand .logo {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(6px);
  border-radius: 9px;
  display: grid; place-items: center;
}
.auth-brand .logo svg { width: 20px; height: 20px; }
.auth-brand .name {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.018em;
}

.auth-aside-body {
  margin-top: auto;
  position: relative; z-index: 1;
  max-width: 440px;
}
.auth-aside-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: 14px;
  display: block;
}
.auth-aside h1 {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3vw, 38px);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 14px;
}
.auth-aside p {
  font-size: 14.5px;
  color: rgba(255,255,255,.85);
  line-height: 1.6;
  margin: 0 0 24px;
}

.auth-quote {
  margin-top: 32px;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  font-size: 13px;
  color: rgba(255,255,255,.9);
  line-height: 1.6;
}
.auth-quote-author {
  display: flex; align-items: center; gap: 10px;
  margin-top: 14px;
  font-size: 12px;
  color: rgba(255,255,255,.75);
}
.auth-quote-author .av {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  display: grid; place-items: center;
  font-size: 11px; font-weight: 600;
}

.auth-aside-footer {
  margin-top: auto;
  padding-top: 24px;
  position: relative; z-index: 1;
  display: flex; gap: 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: rgba(255,255,255,.55);
  letter-spacing: 0.06em;
}

.auth-main {
  display: flex; flex-direction: column;
  padding: 32px 48px;
  min-height: 100vh;
}

.auth-main-top {
  display: flex; justify-content: space-between; align-items: center;
}
.auth-main-top .switch-link {
  font-size: 12.5px;
  color: var(--t-muted);
}
.auth-main-top .switch-link a {
  color: var(--primary);
  font-weight: 600;
  margin-left: 4px;
}

.auth-card {
  width: 100%;
  max-width: 400px;
  margin: auto;
  padding: 8px 0;
}
.auth-card h2 {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.022em;
  color: var(--t-base);
  margin: 0 0 6px;
}
.auth-card .sub {
  font-size: 13.5px;
  color: var(--t-muted);
  margin: 0 0 24px;
  line-height: 1.55;
}

.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-form .field-row {
  display: flex; justify-content: space-between; align-items: center;
}
.auth-form .field-row a {
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
}
.auth-submit { margin-top: 4px; }
.auth-submit.btn { padding: 11px 14px; }

.auth-divider {
  display: flex; align-items: center; gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--t-light);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 18px 0;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.social-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.social-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card);
  color: var(--t-base);
  font-size: 12.5px;
  font-weight: 600;
  transition: border-color 160ms, box-shadow 160ms, background 160ms;
}
.social-btn:hover { border-color: var(--t-light); box-shadow: var(--shadow-sm); }
.social-btn svg { width: 14px; height: 14px; }

.auth-main-bottom {
  margin-top: 24px;
  font-size: 11.5px;
  color: var(--t-light);
  text-align: center;
}
.auth-main-bottom a { color: var(--t-muted); }
