/* ── Auth pages — login, register, reset password ───────────────────────── */

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--bg);
}

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

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

.auth-brand-icon {
  width: 36px; height: 36px;
  background: var(--brand);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
}

.auth-brand-icon svg { width: 20px; height: 20px; color: #fff; }
.auth-brand-name     { font-size: 18px; font-weight: 700; color: var(--text); }

.auth-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
}

.auth-title { font-size: 20px; font-weight: 700; margin-bottom: 4px; letter-spacing: -.02em; }
.auth-sub   { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }

.error-box {
  background: var(--danger-soft);
  border: 1px solid #f5c6c2;
  border-radius: 7px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--danger);
  margin-bottom: 16px;
}

.success-box {
  background: var(--accent-soft);
  border: 1px solid #b8d9be;
  border-radius: 7px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--brand);
  margin-bottom: 16px;
}

.btn-submit {
  width: 100%;
  height: 42px;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  margin-top: 8px;
  transition: background var(--transition);
}

.btn-submit:hover { background: var(--brand-light); }

.auth-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-muted);
}

.auth-footer a { color: var(--brand); }

.divider { height: 1px; background: var(--border); margin: 20px 0; }
