.auth-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  padding: 24px;
}

.auth-card {
  background: var(--surface);
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hard-lg);
  width: 100%;
  max-width: 400px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.auth-logo {
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 8px;
}

.auth-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.4px;
  margin-top: 4px;
}

.auth-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.auth-error {
  background: var(--danger-light);
  color: var(--danger);
  border: 2px solid var(--danger);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 4px;
}

.auth-hint {
  font-weight: 400;
  color: var(--text-subtle);
  font-size: 12px;
}

.auth-submit {
  margin-top: 6px;
  padding: 11px 16px;
  font-size: 14px;
}

.auth-switch {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 10px;
}

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

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

.auth-notice {
  background: var(--primary-light, #eef2ff);
  color: var(--text);
  border: 2px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

.auth-error[hidden],
.auth-notice[hidden] { display: none; }

.btn-google {
  gap: 10px;
  padding: 11px 16px;
  font-size: 14px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--text-subtle);
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  border-top: 2px solid var(--border);
}

.auth-label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.auth-inline-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

.auth-inline-link:hover { text-decoration: underline; }

.auth-busy .auth-card { cursor: progress; }

button:disabled { opacity: .6; cursor: not-allowed; }
