.auth-main {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  position: relative;
  z-index: 1;
}

.auth-box {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  backdrop-filter: blur(20px) saturate(1.3);
  box-shadow: var(--shadow);
  text-align: center;
}
.auth-box-wide { max-width: 520px; }

.auth-box h1 { font-size: 24px; margin: 8px 0 10px; }
.auth-sub { color: var(--muted); font-size: 14px; margin: 0 0 28px; }

.auth-form { display: flex; flex-direction: column; gap: 16px; text-align: start; }
.auth-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.auth-form label { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted); }
.auth-form label[hidden] { display: none; }
.auth-form input, .auth-form select {
  font-family: var(--font);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color .2s ease;
}
.auth-form input:focus, .auth-form select:focus { border-color: var(--accent); }
.auth-form select option { background: var(--surface-solid); color: var(--text); }

.auth-forgot { align-self: flex-end; font-size: 12.5px; color: var(--accent); font-weight: 600; margin-top: -6px; }
.auth-note { text-align: center; font-size: 12px; color: var(--muted); margin: 4px 0 0; }
.auth-switch { margin: 24px 0 0; font-size: 13.5px; color: var(--muted); display: flex; gap: 6px; justify-content: center; }
.auth-switch a { color: var(--accent); font-weight: 700; }

.auth-success { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 12px 0; }
.auth-success .icon-chip { width: 52px; height: 52px; border-radius: 50%; color: var(--success); border-color: rgba(34, 197, 94, 0.35); background: rgba(34, 197, 94, 0.12); }
.auth-success .icon-chip svg { width: 26px; height: 26px; }
.auth-success h2 { font-size: 19px; margin: 0; }
.auth-success p { color: var(--muted); font-size: 14px; margin: 0; max-width: 340px; }

.auth-footer { padding-top: 0; border-top: 1px solid var(--border); }

@media (max-width: 520px) {
  .auth-box { padding: 30px 22px; }
  .auth-form .form-row { grid-template-columns: 1fr; }
}
