/* Auth & onboarding forms */

.auth-body {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.auth-shell {
  width: 100%;
  max-width: 420px;
}

.auth-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
  text-decoration: none;
}

.auth-card {
  background: rgba(255,255,255,0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.auth-card h1 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.auth-card__intro {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.auth-field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: var(--text-secondary);
}

.auth-field input,
.auth-field select,
.auth-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.625rem 0.875rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: #fff;
  color: var(--text-primary);
}

.auth-field input:focus,
.auth-field select:focus,
.auth-field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.auth-field--checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.auth-field--checkbox input {
  width: auto;
  min-height: auto;
}

.auth-submit {
  min-height: 44px;
  margin-top: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
}

.auth-submit:hover { background: var(--accent-hover); }

.auth-submit--ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.auth-links {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  text-align: center;
  color: var(--text-muted);
}

.auth-links a {
  color: var(--accent);
  text-decoration: none;
}

.auth-footer {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.auth-alert {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.auth-alert ul {
  margin: 0;
  padding-left: 1.25rem;
}

.auth-alert--success {
  background: rgba(74, 124, 140, 0.12);
  color: var(--text-primary);
}

.auth-alert--error {
  background: rgba(200, 80, 80, 0.1);
  color: #8b3a3a;
}

.auth-copy-box {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.auth-copy-box input {
  flex: 1;
  font-size: 0.75rem;
}

.auth-steps {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.auth-step {
  flex: 1;
  height: 4px;
  background: var(--border-subtle);
  border-radius: 2px;
}

.auth-step--active { background: var(--accent); }
.auth-step--done { background: var(--color-rose-gold); }

.onboarding-skip {
  display: block;
  text-align: center;
  margin-top: 1rem;
  font-size: 0.8125rem;
}
