/* ─────────────────────────────────────────────────────────────────────────
   /auth/login and /auth/register — surface-scoped styles
   Loaded via {% block head_extra %}.
   Tokens consumed from tokens.css; form-class redirects already global.
   ───────────────────────────────────────────────────────────────────────── */

.auth-form {
  max-width: 28rem;          /* ~448px */
  margin-inline: auto;
  padding-block: var(--space-md) var(--space-2xl);
}

.auth-form__title {
  font-family: var(--font-sans);
  font-size: var(--type-headline-size);
  font-weight: var(--type-headline-weight);
  line-height: var(--type-headline-line);
  letter-spacing: var(--type-headline-track);
  color: var(--color-text);
  margin: 0 0 var(--space-xs);
  padding-bottom: var(--space-xs);
  border-bottom: var(--border-hairline);
  text-wrap: balance;
}

.auth-form__field {
  margin-bottom: var(--space-md);
}

.auth-form__field--checkbox {
  display: flex;
  flex-direction: column;
  gap: var(--space-3xs);
}

.auth-form__actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-top: var(--space-lg);
}

.auth-form__ghost,
a.auth-form__ghost {
  font-family: var(--font-sans);
  font-size: var(--type-body-size);
  font-weight: 500;
  color: var(--color-sky-action-deep);
  text-decoration: none;
  transition: color 0.15s var(--ease-out-quart);
}
.auth-form__ghost:hover,
a.auth-form__ghost:hover {
  color: var(--color-sky-action);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.auth-form__ghost:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius-sm);
}
