/* ─── Auth page — login / register / reset ───────────────────────────────── */

body.auth-page {
  background: #111;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* ─── Card ───────────────────────────────────────────────────────────────── */
.auth-card {
  background: var(--surface);
  border-radius: var(--r-2xl);
  padding: 36px 32px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .5);
}

/* ─── Brand ──────────────────────────────────────────────────────────────── */
.auth-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
}

.auth-brand__logo {
  width: 28px;
  height: 28px;
  background: var(--ink);
  border-radius: var(--r-sm);
  flex-shrink: 0;
}

.auth-brand__name { font-size: 15px; font-weight: 700; color: var(--ink); }
.auth-brand__tag  { font-size: 11px; color: var(--text-faint); margin-top: 1px; }

/* ─── Heading ────────────────────────────────────────────────────────────── */
.auth-card h1   { font-size: 22px; font-weight: 700; color: var(--ink); margin-bottom: 5px; }
.auth-card .sub { font-size: 12px; color: var(--text-muted); margin-bottom: 26px; }

/* ─── Primary sign-in button ─────────────────────────────────────────────── */
.btn-signin {
  display: block;
  width: 100%;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: var(--r);
  padding: 13px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  font-family: inherit;
  margin-top: 4px;
  transition: background 0.15s;
}
.btn-signin:hover { background: #333; }

/* ─── Divider ────────────────────────────────────────────────────────────── */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0;
  font-size: 11px;
  color: #bbb;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #eee;
}

/* ─── Google / OAuth button ──────────────────────────────────────────────── */
.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  border: 1.5px solid #e0e0e0;
  border-radius: var(--r);
  padding: 11px;
  font-size: 12px;
  font-weight: 500;
  color: #444;
  background: var(--surface);
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, border-color 0.15s;
}
.btn-google:hover { background: #f7f7f5; border-color: #ccc; }

/* ─── Bottom links (forgot password / create account) ───────────────────── */
.auth-links {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}
.auth-link { font-size: 11px; color: var(--text-muted); text-decoration: none; }
.auth-link:hover { color: var(--ink); }

/* ─── Non-field error ────────────────────────────────────────────────────── */
.auth-error {
  font-size: 11px;
  color: var(--red);
  background: var(--red-bg);
  border: 1px solid var(--red-border);
  border-radius: var(--r);
  padding: 8px 12px;
  margin-bottom: 14px;
}
