.page-auth .site-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 140px);
  padding: 48px clamp(20px, 5vw, 64px);
  position: relative;
}

.page-auth .site-main::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  width: min(480px, 90vw);
  height: 320px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(79, 140, 255, 0.12), transparent 70%);
  pointer-events: none;
}

.auth-card {
  position: relative;
  width: 100%;
  max-width: 400px;
  padding: 36px 32px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.04) 0%, var(--bg-card) 35%);
  box-shadow: var(--shadow-md);
}

.auth-card h1 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.auth-sub {
  margin: 0 0 32px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.field input {
  height: 44px;
  padding: 0 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  background: var(--bg-input);
  color: var(--text);
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}

.field input::placeholder {
  color: var(--text-muted);
}

.field input:hover {
  border-color: var(--border-strong);
}

.field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.auth-alt {
  margin: 28px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
}

.auth-alt a {
  font-weight: 600;
}
