/* ── Auth shell — self-contained, theme-agnostic ── */
.layout-auth {
  --auth-bg: #030014;
  --auth-surface: rgba(255, 255, 255, 0.04);
  --auth-surface-hover: rgba(255, 255, 255, 0.07);
  --auth-border: rgba(255, 255, 255, 0.08);
  --auth-border-focus: rgba(139, 92, 246, 0.55);
  --auth-text: #f4f2ff;
  --auth-muted: rgba(244, 242, 255, 0.55);
  --auth-dim: rgba(244, 242, 255, 0.32);
  --auth-accent-1: #8b5cf6;
  --auth-accent-2: #06b6d4;
  --auth-accent-3: #ec4899;
  --auth-danger: #fb7185;
  --auth-font: "Plus Jakarta Sans", "Noto Sans Devanagari", "Noto Sans Gujarati", system-ui, sans-serif;
  --auth-display: "Fraunces", "Noto Sans Devanagari", "Noto Sans Gujarati", Georgia, serif;
  --auth-radius: 16px;
  --auth-radius-lg: 24px;
}

.layout-auth,
.layout-auth * {
  box-sizing: border-box;
}

.layout-auth {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--auth-text);
  font-family: var(--auth-font);
  background: var(--auth-bg);
  -webkit-font-smoothing: antialiased;
}

/* override common.css body styles */
body.layout-auth {
  background: var(--auth-bg);
  color: var(--auth-text);
  line-height: 1.5;
}

.auth-canvas {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  padding: clamp(1.25rem, 3vw, 2.5rem);
}

.auth-shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 420px;
}

/* ── Ambient background ── */
.auth-ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.auth-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  will-change: transform;
}

.auth-orb--1 {
  width: min(55vw, 520px);
  height: min(55vw, 520px);
  top: -12%;
  left: -8%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.7), transparent 68%);
  animation: auth-drift-1 18s ease-in-out infinite;
}

.auth-orb--2 {
  width: min(45vw, 420px);
  height: min(45vw, 420px);
  bottom: -10%;
  left: 28%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.55), transparent 68%);
  animation: auth-drift-2 22s ease-in-out infinite;
}

.auth-orb--3 {
  width: min(38vw, 360px);
  height: min(38vw, 360px);
  top: 35%;
  right: -6%;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.45), transparent 68%);
  animation: auth-drift-3 20s ease-in-out infinite;
}

.auth-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 40% 45%, #000 10%, transparent 72%);
}

.auth-noise {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

@keyframes auth-drift-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(4%, 6%) scale(1.08); }
}

@keyframes auth-drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-5%, -4%) scale(1.06); }
}

@keyframes auth-drift-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-3%, 5%) scale(1.1); }
}

/* ── Layout columns ── */
.auth-showcase,
.auth-panel-wrap {
  position: relative;
  z-index: 1;
}

.auth-showcase {
  display: none;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4rem);
  overflow: visible;
}

.auth-showcase-inner {
  width: 100%;
}

.auth-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: clamp(2rem, 5vh, 3.5rem);
  text-decoration: none;
  color: var(--auth-text);
}

.auth-logo-mark {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}

.auth-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.auth-logo-text {
  font-family: var(--auth-font);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.auth-headline {
  font-family: var(--auth-display);
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 1.1rem;
}

.auth-headline em {
  font-style: normal;
  background: linear-gradient(135deg, #c4b5fd 0%, #67e8f9 50%, #f9a8d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.auth-subline {
  margin: 0 0 2.5rem;
  max-width: 28ch;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--auth-muted);
}

/* ── Floating preview cards ── */
.auth-preview {
  position: relative;
  height: 280px;
  margin-bottom: 2rem;
  padding: 1.25rem 1rem 0.75rem 1.5rem;
  overflow: visible;
}

.auth-preview-card {
  position: absolute;
  border-radius: var(--auth-radius);
  border: 1px solid var(--auth-border);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 24px 60px rgba(0, 0, 0, 0.45);
}

.auth-preview-card--main {
  inset: 1.25rem 1rem 0.75rem 1.5rem;
  padding: 1.25rem;
  animation: auth-float-main 6s ease-in-out infinite;
  z-index: 1;
}

.auth-preview-card--float {
  width: 140px;
  padding: 0.85rem 1rem;
  animation: auth-float-side 5s ease-in-out infinite;
  z-index: 2;
}

.auth-preview-card--float-1 {
  top: 0;
  right: 0;
  animation-delay: -1.5s;
}

.auth-preview-card--float-2 {
  bottom: 0;
  left: 0;
  animation-delay: -3s;
}

@keyframes auth-float-main {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes auth-float-side {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(-1deg); }
}

.auth-preview-bar {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.auth-preview-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.auth-preview-dot:first-child { background: #fb7185; }
.auth-preview-dot:nth-child(2) { background: #fbbf24; }
.auth-preview-dot:nth-child(3) { background: #34d399; }

.auth-preview-avatar {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, var(--auth-accent-1), var(--auth-accent-3));
}

.auth-preview-title {
  height: 12px;
  width: 55%;
  border-radius: 6px;
  margin-bottom: 0.5rem;
  background: rgba(255, 255, 255, 0.18);
}

.auth-preview-line {
  height: 8px;
  border-radius: 4px;
  margin-bottom: 0.4rem;
  background: rgba(255, 255, 255, 0.08);
}

.auth-preview-line--short { width: 72%; }
.auth-preview-line--med { width: 88%; }

.auth-preview-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.1rem;
}

.auth-preview-pill {
  height: 28px;
  flex: 1;
  border-radius: 8px;
  background: rgba(139, 92, 246, 0.25);
  border: 1px solid rgba(139, 92, 246, 0.35);
}

.auth-preview-pill--ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--auth-border);
}

.auth-preview-stat-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--auth-dim);
  margin: 0 0 0.25rem;
}

.auth-preview-stat-value {
  font-family: var(--auth-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.03em;
}

.auth-preview-stat-sub {
  font-size: 0.72rem;
  color: #34d399;
  margin: 0.15rem 0 0;
}

/* ── Stats row ── */
.auth-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.auth-stat {
  flex: 1 1 7rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--auth-border);
  background: var(--auth-surface);
}

.auth-stat-value {
  display: block;
  font-family: var(--auth-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.auth-stat-label {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  color: var(--auth-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Form panel ── */
.auth-panel-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.auth-panel {
  position: relative;
  width: min(100%, 420px);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-radius: var(--auth-radius-lg);
  border: 1px solid var(--auth-border);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 32px 80px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
}

.auth-panel-glow {
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.8), rgba(6, 182, 212, 0.8), transparent);
  border-radius: 999px;
}

.auth-mobile-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-bottom: 1.75rem;
  text-decoration: none;
  color: var(--auth-text);
}

.auth-mobile-logo .auth-logo-mark {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 10px;
}

.auth-mobile-logo .auth-logo-mark img {
  width: 100%;
  height: 100%;
}

.auth-mobile-logo span {
  font-family: var(--auth-font);
  font-weight: 700;
  font-size: 1.05rem;
}

.auth-panel-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem 0.35rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(139, 92, 246, 0.35);
  background: rgba(139, 92, 246, 0.12);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c4b5fd;
}

.auth-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.8);
  animation: auth-pulse 2s ease-in-out infinite;
}

@keyframes auth-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.auth-panel-header h1 {
  font-family: var(--auth-display);
  font-size: clamp(1.65rem, 5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}

.auth-panel-header p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--auth-muted);
}

.auth-flash {
  margin-bottom: 1.25rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(52, 211, 153, 0.35);
  background: rgba(52, 211, 153, 0.1);
  color: #6ee7b7;
  font-size: 0.88rem;
}

/* ── Form fields ── */
.auth-form {
  display: grid;
  gap: 1.15rem;
}

.auth-field label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--auth-dim);
}

.auth-field label.is-error {
  color: var(--auth-danger);
}

.auth-input-wrap {
  position: relative;
}

.auth-input-icon {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 1.1rem;
  height: 1.1rem;
  color: rgba(196, 181, 253, 0.75);
  pointer-events: none;
  transition: color 0.2s;
}

.auth-field input {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0.9rem 0.95rem 0.9rem 2.75rem;
  border-radius: 12px;
  border: 1px solid var(--auth-border);
  background: rgba(0, 0, 0, 0.35);
  color: var(--auth-text);
  font: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.auth-field input:-webkit-autofill,
.auth-field input:-webkit-autofill:hover,
.auth-field input:-webkit-autofill:focus,
.auth-field input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px rgba(12, 10, 28, 0.92) inset !important;
  box-shadow: 0 0 0 1000px rgba(12, 10, 28, 0.92) inset !important;
  -webkit-text-fill-color: var(--auth-text) !important;
  caret-color: var(--auth-text);
  border-color: var(--auth-border);
  transition: background-color 99999s ease-out 0s;
}

.auth-field input::placeholder {
  color: rgba(244, 242, 255, 0.28);
}

.auth-field input:focus {
  border-color: var(--auth-border-focus);
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

.auth-input-wrap:focus-within .auth-input-icon {
  color: #c4b5fd;
}

.auth-input-wrap:has(input:not(:placeholder-shown)) .auth-input-icon,
.auth-input-wrap:has(input:-webkit-autofill) .auth-input-icon {
  color: rgba(196, 181, 253, 0.9);
}

.auth-field input.is-error,
.auth-field input[aria-invalid="true"] {
  border-color: rgba(251, 113, 133, 0.55);
  box-shadow: 0 0 0 3px rgba(251, 113, 133, 0.12);
}

.auth-field-error {
  margin: 0.4rem 0 0;
  font-size: 0.8rem;
  color: var(--auth-danger);
}

.auth-field-error:empty {
  display: none;
}

.auth-password-wrap input {
  padding-right: 3rem;
}

.auth-password-toggle {
  position: absolute;
  right: 0.45rem;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(196, 181, 253, 0.75);
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.auth-password-toggle:hover {
  color: var(--auth-text);
  background: var(--auth-surface-hover);
}

.auth-password-toggle .icon-show { display: none; }
.auth-password-toggle.is-visible .icon-hide { display: none; }
.auth-password-toggle.is-visible .icon-show { display: block; }
.auth-password-toggle svg { width: 1.1rem; height: 1.1rem; }

.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.auth-check {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: var(--auth-muted);
  cursor: pointer;
  user-select: none;
}

.auth-check input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--auth-accent-1);
  cursor: pointer;
}

/* ── Submit button ── */
.auth-submit-wrap {
  margin-top: 0.5rem;
}

.auth-submit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.95rem 1.25rem;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #7c3aed 0%, #6366f1 40%, #0891b2 100%);
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 12px 40px rgba(99, 102, 241, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.auth-submit::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.18) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.55s ease;
}

.auth-submit:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.15) inset,
    0 18px 50px rgba(99, 102, 241, 0.5);
}

.auth-submit:hover::before {
  transform: translateX(100%);
}

.auth-submit:active {
  transform: translateY(0);
}

.auth-submit svg {
  width: 1.1rem;
  height: 1.1rem;
  transition: transform 0.2s;
}

.auth-submit:hover svg {
  transform: translateX(3px);
}

.auth-submit:focus-visible {
  outline: 2px solid #a78bfa;
  outline-offset: 3px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.75rem 0;
  font-size: 0.75rem;
  color: var(--auth-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

.auth-footer {
  text-align: center;
  font-size: 0.9rem;
  color: var(--auth-muted);
}

.auth-footer a {
  color: #c4b5fd;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.auth-footer a:hover {
  color: #e9d5ff;
}

.auth-back {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--auth-dim);
  text-decoration: none;
  transition: color 0.2s;
}

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

.auth-back svg {
  width: 0.9rem;
  height: 0.9rem;
}

/* ── Register page ── */
.auth-form--register {
  gap: 0.95rem;
}

.auth-field-hint {
  margin: 0.4rem 0 0;
  font-size: 0.8rem;
  color: var(--auth-dim);
}

.auth-field-hint strong {
  color: #c4b5fd;
  font-weight: 600;
}

.auth-password-rules {
  display: grid;
  gap: 0.35rem;
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
}

.auth-password-rules li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: var(--auth-dim);
  transition: color 0.2s;
}

.auth-password-rules li::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(244, 242, 255, 0.25);
  transition: background 0.2s, box-shadow 0.2s;
}

.auth-password-rules li.is-met {
  color: #6ee7b7;
}

.auth-password-rules li.is-met::before {
  background: #34d399;
  box-shadow: 0 0 6px rgba(52, 211, 153, 0.55);
}

.auth-preview-url {
  margin: 0 0 1rem;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  border: 1px solid rgba(139, 92, 246, 0.25);
  background: rgba(139, 92, 246, 0.08);
  font-size: 0.72rem;
  font-family: ui-monospace, "Cascadia Code", monospace;
  color: var(--auth-muted);
  letter-spacing: 0.01em;
}

.auth-preview-url span {
  color: #c4b5fd;
  font-weight: 600;
}

.auth-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.auth-steps li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--auth-muted);
}

.auth-steps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--auth-accent-1), var(--auth-accent-2));
  box-shadow: 0 0 8px rgba(139, 92, 246, 0.5);
}

.auth-steps strong {
  color: var(--auth-text);
  font-weight: 600;
}

.auth-canvas--register {
  overflow-x: hidden;
  overflow-y: auto;
}

@media (min-width: 960px) {
  .auth-shell--register {
    max-width: 1120px;
    align-items: flex-start;
    padding-top: clamp(1.5rem, 4vh, 2.5rem);
    padding-bottom: clamp(1.5rem, 4vh, 2.5rem);
  }

  .auth-panel-wrap--register {
    flex: 0 0 440px;
    width: 440px;
  }
}

@media (max-width: 959px) {
  .auth-canvas--register {
    align-items: flex-start;
  }
}

/* ── Desktop layout ── */
@media (min-width: 960px) {
  .auth-shell {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: clamp(2.5rem, 5vw, 5rem);
    max-width: 1080px;
  }

  .auth-showcase {
    display: flex;
    flex: 1 1 0;
    min-width: 0;
    max-width: 520px;
    padding: 0;
  }

  .auth-panel-wrap {
    flex: 0 0 400px;
    width: 400px;
  }

  .auth-panel {
    width: 100%;
  }

  .auth-mobile-logo {
    display: none;
  }

  .auth-panel-header {
    text-align: left;
  }
}

/* ── Mobile ── */
@media (max-width: 959px) {
  .auth-canvas {
    align-items: flex-start;
    padding-top: clamp(2rem, 8vh, 3rem);
    overflow-x: hidden;
    overflow-y: auto;
  }

  .auth-showcase {
    display: none;
  }

  .auth-orb--1 { width: 70vw; height: 70vw; top: -20%; left: -20%; }
  .auth-orb--2 { width: 55vw; height: 55vw; }
  .auth-orb--3 { width: 50vw; height: 50vw; right: -25%; }
}

@media (min-width: 1280px) {
  .auth-shell {
    max-width: 1140px;
    gap: clamp(3rem, 6vw, 6rem);
  }
}

@media (max-width: 420px) {
  .auth-panel {
    padding: 1.5rem 1.25rem;
    border-radius: 20px;
  }

  .auth-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-orb,
  .auth-preview-card,
  .auth-badge-dot {
    animation: none;
  }

  .auth-submit,
  .auth-submit::before,
  .auth-submit svg {
    transition: none;
  }

  .auth-submit:hover {
    transform: none;
  }
}
