/* ============================================================
   Outreacher — Auth page styles
   ============================================================ */

/* ---------- Logo / brand ---------- */
.logo-mark {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  background: var(--primary); color: var(--on-primary);
  display: grid; place-items: center;
}
.logo-mark svg { width: 18px; height: 18px; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.brand-name b { color: var(--accent); }

/* ---------- Page wrapper ---------- */
.auth-page {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 32px 24px;
  background:
    radial-gradient(ellipse 900px 500px at 50% -60px, color-mix(in oklab, var(--accent) 9%, transparent), transparent 60%),
    var(--bg);
}

.auth-logo {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 28px;
}

.auth-card {
  width: 100%; max-width: 396px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-md);
  padding: 32px;
}

/* ---------- Title ---------- */
.auth-title { margin-bottom: 24px; }
.auth-title h2 {
  font-family: var(--font-display); font-size: 22px; font-weight: 700;
  letter-spacing: -.02em; margin: 0 0 5px; color: var(--text);
}
.auth-title p {
  font-size: 14px; color: var(--text-2); margin: 0; line-height: 1.5;
}

/* ---------- Error banner ---------- */
.auth-err {
  background: var(--neg-soft); color: var(--neg);
  border-radius: var(--r-sm); padding: 10px 13px;
  font-size: 13.5px; margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.auth-err svg { flex: none; }

/* ---------- Footer link row ---------- */
.auth-footer {
  text-align: center; font-size: 13.5px;
  color: var(--text-2); margin: 20px 0 0;
}
.auth-link {
  background: none; border: none; cursor: pointer;
  color: var(--accent); font-weight: 600; font-size: inherit;
  font-family: inherit; padding: 0; line-height: inherit;
  white-space: nowrap; text-decoration: none;
}
.auth-link:hover { text-decoration: underline; }

/* ---------- Form fields ---------- */
.field { margin-bottom: 18px; }
.field > label {
  display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px;
}
.field .label-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; font-weight: 600; margin-bottom: 7px;
}
.field .hint { font-size: 12px; color: var(--text-3); font-weight: 400; }
.input {
  width: 100%; font: inherit; font-size: 14px;
  height: 40px; padding: 0 13px;
  border-radius: var(--r-sm); border: 1px solid var(--line);
  background: var(--surface); color: var(--text); outline: none;
}
.input:focus { border-color: var(--accent); box-shadow: var(--ring); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font: inherit; font-size: 14px; font-weight: 600;
  border-radius: var(--r-sm); padding: 0 15px; height: 38px;
  cursor: pointer; border: 1px solid transparent;
  white-space: nowrap; transition: background .12s, border-color .12s, transform .04s;
}
.btn:active { transform: translateY(.5px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: var(--accent-press); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-sm { height: 32px; padding: 0 11px; font-size: 13px; border-radius: var(--r-xs); }
.btn-lg { height: 44px; padding: 0 20px; font-size: 15px; }
