/*
  Minimal Phase 2 auth-flow styling. Built entirely from tokens in
  /design-tokens.css (see ../../design-system/united_partners_design_system/) --
  no new colors, fonts, or spacing values are introduced here. Matches the
  established nav/card visual language documented in
  design-system/united_partners_design_system/components/{navigation,cards,buttons}.md.
*/

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family-sans);
  font-size: var(--font-size-md);
  line-height: var(--line-height-relaxed);
  color: var(--ink-900);
  background: var(--color-surface-sunken);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--ink-950);
  padding: 0 var(--space-11);
  height: 64px;
}

.nav-brand {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper-0);
}

.auth-shell {
  max-width: 480px;
  margin: 0 auto;
  padding: var(--space-14) var(--space-8);
}

.auth-card {
  background: var(--color-surface-elevated);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-md);
  padding: var(--space-9);
}

.auth-title {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-regular);
  color: var(--ink-950);
  margin-bottom: var(--space-2);
}

.auth-subtitle {
  font-size: var(--font-size-md);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}

.auth-detail {
  font-size: var(--font-size-sm);
  color: var(--color-text-subtle);
  margin-top: var(--space-4);
}

.auth-state {
  margin-top: var(--space-4);
}

.auth-state--error {
  color: var(--color-error-strong);
  background: var(--color-error-surface);
  border-radius: var(--radius-default);
  padding: var(--space-6);
}

.btn {
  display: inline-block;
  font-family: var(--font-family-sans);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  border-radius: var(--radius-default);
  padding: var(--space-5) var(--space-8);
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn:focus-visible {
  outline: 2px solid var(--color-focus-ring);
  outline-offset: 2px;
}

.btn--primary {
  background: var(--verm-600);
  color: var(--paper-0);
}

.btn--ghost {
  background: transparent;
  color: var(--paper-0);
  opacity: 0.85;
}

.btn--ghost:hover {
  opacity: 1;
}

@media (max-width: 768px) {
  .site-nav {
    padding: 0 var(--space-8);
  }
  .auth-shell {
    padding: var(--space-10) var(--space-8);
  }
}
