/* Auth pages */
body.auth-page {
  background:
    radial-gradient(circle at 15% 0%, var(--accent-light), transparent 42%),
    radial-gradient(circle at 100% 100%, var(--bg-tertiary), transparent 55%),
    var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
}
.auth-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 40px 36px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 22px 48px -12px rgba(26, 26, 26, 0.16), 0 4px 14px rgba(26, 26, 26, 0.06);
  overflow: hidden;
}
.auth-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
}
.auth-logo {
  text-align: center;
  margin-bottom: 28px;
}
.auth-logo-mark {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text);
}
.auth-logo-mark .v { color: var(--accent); }
.auth-logo-sub {
  font-size: 11px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}
.auth-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.auth-sub {
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 24px;
}
.auth-divider {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 18px 0;
  position: relative;
}
.auth-divider::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  background: var(--border);
}
.auth-divider span {
  position: relative;
  background: var(--bg-card);
  padding: 0 10px;
}
.auth-link {
  text-align: center;
  font-size: 12px;
  color: var(--text-3);
  margin-top: 16px;
}
.auth-link a { color: var(--accent); text-decoration: none; font-weight: 500; }
.auth-link a:hover { text-decoration: underline; }
.auth-oauth-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-tertiary);
}
.google-login-btn,
.github-login-btn {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  color: #1f1f1f;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.github-login-btn {
  background: #24292f;
  border-color: #24292f;
  color: #fff;
}
.google-login-btn:hover,
.github-login-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(26, 26, 26, 0.12);
}
.google-login-btn:hover {
  background: var(--bg-hover);
  border-color: #aaa69a;
}
.github-login-btn:hover {
  background: #1b1f23;
  border-color: #1b1f23;
}
.google-login-btn:focus-visible,
.github-login-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
