.auth-wrap {
  min-height: calc(100vh - 68px);
  display: flex; align-items: center; justify-content: center;
  padding: 40px 20px;
}
.auth-card {
  width: 100%; max-width: 420px;
  position: relative;
}
.auth-card::before {
  content: "";
  position: absolute; inset: -30px -30px auto -30px; height: 220px;
  background: radial-gradient(ellipse at 50% 0%, rgba(232,163,61,0.22), transparent 70%);
  pointer-events: none; z-index: -1;
}
.auth-head { text-align: center; margin-bottom: 28px; }
.auth-head .brand-mark { margin: 0 auto 16px; }
.auth-head h1 { font-size: 1.6rem; margin-bottom: 6px; }
.auth-head p { color: var(--text-muted); font-size: 0.95rem; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--text-muted); font-size: 0.85rem; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.auth-switch { text-align: center; margin-top: 20px; font-size: 0.92rem; color: var(--text-muted); }
.auth-switch a { color: var(--accent-amber-soft); font-weight: 700; }
.auth-forgot-link { font-size: 0.82rem; font-weight: 600; color: var(--accent-amber-soft); }
.auth-forgot-link:hover { text-decoration: underline; }
.social-auth-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

/* Primary Google button — full-width, same as before */
.btn-google {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  background: var(--surface); color: var(--text-on-surface); font-weight: 700; padding: 12px;
  border-radius: 999px; border: none; cursor: pointer; font-size: 0.95rem;
  transition: opacity 0.15s, transform 0.1s;
}
.btn-google:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-google:active { transform: translateY(0); }
.btn-google:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* Secondary social row — 2-up grid */
.social-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Generic social pill button */
.btn-social {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 14px; border-radius: 999px; border: 1.5px solid var(--border-strong);
  background: var(--bg-elevated-2); color: var(--text-primary);
  font-weight: 600; font-size: 0.88rem; cursor: pointer; white-space: nowrap;
  transition: opacity 0.15s, transform 0.1s, background 0.15s, border-color 0.15s;
}
.btn-social:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-social:active { transform: translateY(0); }
.btn-social:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* Per-provider accent colors on hover */
.btn-social[data-provider="github.com"]:hover  { background: #24292e; color: #fff; border-color: #24292e; }
.btn-social[data-provider="facebook.com"]:hover { background: #1877F2; color: #fff; border-color: #1877F2; }
.btn-social[data-provider="yahoo.com"]:hover    { background: #6001D2; color: #fff; border-color: #6001D2; }
.btn-social[data-provider="apple.com"]:hover    { background: #000;    color: #fff; border-color: #000; }

/* Icon sizing */
.btn-social i { font-size: 1rem; }
.btn-google svg { flex-shrink: 0; }
