/* ── Auth pages ──────────────────────────────────────────────────── */

.auth-page {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--wing-bg) 0%, var(--wing-surface) 50%, var(--wing-bg) 100%);
}

.auth-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 36px;
  width: 360px;
  text-align: center;
}

.auth-logo {
  font-size: 36px;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: 4px;
  margin-bottom: 4px;
}

.auth-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.auth-subtitle {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 24px;
}

.auth-error {
  font-size: 11px;
  color: var(--crit);
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 16px;
}

.auth-google-btn {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.auth-dev-btn {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s;
  margin-bottom: 12px;
}

.auth-dev-btn:hover {
  color: var(--text);
  border-color: var(--accent);
}

.auth-footer {
  font-size: 10px;
  color: var(--muted);
  margin-top: 16px;
}

.auth-status-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.auth-message {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.auth-message b {
  color: var(--text);
}

.auth-link-btn {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
  padding: 4px 8px;
}

.auth-link-btn:hover {
  color: var(--text);
}

.auth-loading {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}

.auth-loading__spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(148, 163, 184, 0.28);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: map-loader-spin 0.7s linear infinite;
}
