/* ── Auth page layout ── */
.auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--slate-100);
  padding: 24px 16px;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 36px 32px;
  border: 1px solid var(--slate-200);
}

.auth-logo {
  text-align: center;
  margin-bottom: 28px;
}

.auth-logo a {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--slate-900);
  text-decoration: none;
  letter-spacing: -.5px;
}

.auth-logo a span { color: var(--accent); }

.auth-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 4px;
}

.auth-subtitle {
  font-size: .88rem;
  color: var(--slate-500);
  margin-bottom: 24px;
}

/* ── Auth form ── */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.auth-form .btn {
  width: 100%;
  justify-content: center;
  padding: 11px;
  font-size: .95rem;
  margin-top: 4px;
}

/* ── Alert banner ── */
.auth-alert {
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: .85rem;
  font-weight: 500;
  display: none;
  margin-bottom: 4px;
}

.auth-alert.error   { background: #fef2f2; color: var(--danger); border: 1px solid #fecaca; }
.auth-alert.success { background: #f0fdf4; color: var(--success); border: 1px solid #bbf7d0; }
.auth-alert.show    { display: block; }

/* ── Footer links ── */
.auth-footer {
  text-align: center;
  margin-top: 20px;
  font-size: .85rem;
  color: var(--slate-500);
}

.auth-footer a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.auth-footer a:hover { text-decoration: underline; }

.auth-divider {
  text-align: center;
  font-size: .8rem;
  color: var(--slate-400);
  margin: 4px 0;
}

/* ── Password strength hint ── */
.pw-hint {
  font-size: .75rem;
  color: var(--slate-400);
  margin-top: -8px;
}
