/* Ledgerline — sign-in / sign-up pages */
body.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-soft);
  padding: 16px;
}
.auth-wrap { width: 100%; max-width: 420px; }
.auth-brand {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-bottom: var(--space-lg);
  font-weight: 700; font-size: 1.25rem; letter-spacing: -0.01em; color: var(--color-text);
}
.auth-brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--color-primary); color: #fff;
  display: grid; place-items: center; font-size: 1rem; font-weight: 800;
}
.auth-card {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: var(--space-2xl) var(--space-xl);
}
.auth-card h1 { font-size: 1.375rem; margin: 0 0 4px; text-align: center; }
.auth-sub { text-align: center; color: var(--color-text-muted); margin: 0 0 var(--space-lg); font-size: 0.9375rem; }
.auth-field { margin-bottom: var(--space-md); }
.auth-field label { display: block; font-size: 0.8125rem; font-weight: 600; margin-bottom: 4px; color: var(--color-text); }
.auth-field .form-input { width: 100%; }
.auth-btn { width: 100%; margin-top: var(--space-sm); }
.auth-error { color: var(--color-danger); text-align: center; margin-top: var(--space-md); font-size: 0.875rem; min-height: 1.2em; }
.auth-ok { color: var(--color-success, #047857); text-align: center; margin-top: var(--space-md); font-size: 0.875rem; }
.auth-links { margin-top: var(--space-lg); text-align: center; font-size: 0.875rem; color: var(--color-text-muted); }
.auth-links a { color: var(--color-primary); font-weight: 600; text-decoration: none; }
.auth-links a:hover { text-decoration: underline; }
.auth-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.8125rem; margin-top: -4px; margin-bottom: var(--space-md); }
.auth-row a { color: var(--color-primary); text-decoration: none; }
.auth-note { font-size: 0.75rem; color: var(--color-text-muted); text-align: center; margin-top: var(--space-md); }
