/* ============================================================
   Backlog — Auth pages (login, register, reset)
   ============================================================ */

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-8) var(--s-4);
}

.auth-box {
  width: 100%;
  max-width: 420px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s-8);
}

.auth-box__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  margin-bottom: var(--s-8);
}

.cf-turnstile {
  display: flex;
  justify-content: center;
  margin: var(--s-2) 0;
}

.auth-box__title {
  font-size: var(--text-2xl);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--s-2);
}

.auth-box__subtitle {
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-align: center;
  margin-bottom: var(--s-8);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  color: var(--text-muted);
  font-size: var(--text-xs);
  margin: var(--s-2) 0;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.auth-footer {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: var(--s-6);
}
.auth-footer a {
  color: var(--accent-light);
  font-weight: 500;
}

/* ── Logo image inside auth box ─────────────────────────────── */

.auth-box__logo-img {
  height: 36px;
  width: auto;
}

.auth-box__logo-text {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

/* ── Forgot password link ────────────────────────────────────── */

.form-label__link {
  float: right;
  font-size: var(--text-xs);
  color: var(--text-muted);
}
.form-label__link:hover { color: var(--text-secondary); }

/* ── Check email page ────────────────────────────────────────── */

.auth-box--centered { text-align: center; }

.auth-icon {
  font-size: 3rem;
  margin-bottom: var(--s-6);
}

.auth-hint {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: var(--s-4);
}

.btn--inline { display: inline-flex; }
