:root {
  --auth-bg: #0a0030;
  --auth-card: rgb(19 8 61 / 94%);
  --auth-card-strong: #13083d;
  --auth-surface: rgb(255 255 255 / 7%);
  --auth-surface-hover: rgb(255 255 255 / 11%);
  --auth-border: rgb(255 255 255 / 13%);
  --auth-text: #fbfaff;
  --auth-muted: rgb(237 233 254 / 68%);
  --auth-violet: #6251e8;
  --auth-violet-hover: #6f5ff6;
  --auth-cyan: #4dd7ea;
  --auth-danger: #fb7185;
  --auth-success: #34d399;
  --auth-radius: 1.25rem;
}

html {
  min-height: 100%;
  background: var(--auth-bg);
  color-scheme: dark;
}

body.auth-page {
  position: relative;
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 4%, rgb(77 215 234 / 13%), transparent 24rem),
    radial-gradient(circle at 88% 92%, rgb(120 104 255 / 16%), transparent 28rem), var(--auth-bg);
  color: var(--auth-text);
  font-family: Nunito, system-ui, sans-serif;
}

body.auth-page::before {
  content: "";
  position: fixed;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgb(255 255 255 / 5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 5%) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(145deg, #000, transparent 74%);
}

.auth-page .hidden {
  display: none !important;
}

.auth-center {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 100dvh;
  place-items: center;
  padding: max(1.25rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right))
    max(1.25rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
}

.auth-center--register {
  align-items: start;
  padding-block: max(2rem, env(safe-area-inset-top)) max(2rem, env(safe-area-inset-bottom));
}

.auth-card {
  position: relative;
  width: min(100%, 31rem);
  border: 1px solid var(--auth-border);
  border-radius: var(--auth-radius);
  padding: clamp(1.35rem, 4vw, 2.35rem);
  background: var(--auth-card);
  box-shadow: 0 24px 60px rgb(1 0 14 / 44%);
  backdrop-filter: blur(14px);
}

.auth-card::before {
  content: "";
  position: absolute;
  inset: -1px 2.5rem auto;
  height: 2px;
  border-radius: 0.75rem;
  background: linear-gradient(
    90deg,
    transparent,
    var(--auth-cyan),
    var(--auth-violet),
    transparent
  );
  opacity: 0.78;
}

.auth-card--register {
  width: min(100%, 59rem);
}

.auth-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(2rem, 5vw, 3.25rem);
}

.auth-brand-lockup {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.8rem;
  color: #fff;
  text-decoration: none;
}

.auth-brand-logo {
  width: 3rem;
  height: 3rem;
  flex: 0 0 auto;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 50%;
  background: #090126;
  object-fit: contain;
  box-shadow: 0 10px 26px rgb(0 0 0 / 30%);
}

.auth-brand-lockup > span {
  display: grid;
  min-width: 0;
}

.auth-brand-lockup strong {
  overflow: hidden;
  font-family: Raleway, Nunito, sans-serif;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-brand-lockup small {
  margin-top: 0.12rem;
  color: var(--auth-muted);
  font-size: 0.7rem;
  font-weight: 700;
}

.auth-back-link {
  display: inline-flex;
  min-height: 2.65rem;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--auth-border);
  border-radius: 999px;
  padding-inline: 0.9rem;
  background: var(--auth-surface);
  color: rgb(255 255 255 / 76%);
  font-size: 0.76rem;
  font-weight: 800;
  text-decoration: none;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.auth-back-link:hover,
.auth-back-link:focus-visible {
  border-color: rgb(77 215 234 / 34%);
  background: var(--auth-surface-hover);
  color: #fff;
  transform: translateY(-1px);
}

.auth-heading {
  margin-bottom: 1.6rem;
}

.auth-heading--center {
  text-align: center;
}

.auth-heading--center .auth-title,
.auth-heading--center .auth-subtitle {
  margin-inline: auto;
}

.auth-kicker {
  margin: 0;
  color: #8debf7;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.auth-title {
  max-width: 18ch;
  margin: 0.55rem 0 0;
  color: #fff;
  font-family: Raleway, Nunito, sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 750;
  line-height: 1.08;
  text-wrap: balance;
}

.auth-subtitle {
  max-width: 60ch;
  margin: 0.85rem 0 0;
  color: var(--auth-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  text-wrap: pretty;
}

.auth-mode-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
  margin-bottom: 1.35rem;
  border: 1px solid var(--auth-border);
  border-radius: 1rem;
  padding: 0.3rem;
  background: rgb(4 0 23 / 34%);
}

.auth-page .login-mode-btn {
  display: inline-flex;
  min-height: 2.8rem;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  background: transparent;
  color: rgb(255 255 255 / 62%);
  font-size: 0.82rem;
  font-weight: 800;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.auth-page .login-mode-btn:first-child i {
  color: #67e8f9;
}

.auth-page .login-mode-btn:last-child i {
  color: #c4b5fd;
}

.auth-page .login-mode-btn:hover {
  color: #fff;
}

.auth-page .login-mode-btn.is-active {
  border-color: rgb(120 104 255 / 38%);
  background: rgb(120 104 255 / 18%);
  color: #fff;
}

.auth-form-body {
  display: grid;
  gap: 1.15rem;
}

.auth-field {
  position: relative;
  display: grid;
  min-width: 0;
  gap: 0.48rem;
}

.auth-field-label {
  color: rgb(255 255 255 / 86%);
  font-size: 0.79rem;
  font-weight: 800;
}

.auth-field-control {
  position: relative;
}

.auth-field-control input,
body.auth-page #register-wizard input:not([type="checkbox"], [type="file"], [type="hidden"]),
body.auth-page #register-wizard textarea {
  width: 100%;
  min-height: 3.25rem;
  border: 1px solid var(--auth-border) !important;
  border-radius: 0.9rem !important;
  outline: none;
  background: rgb(255 255 255 / 7%) !important;
  color: #fff !important;
  font: inherit;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 4%);
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.auth-field-control input,
body.auth-page #register-wizard input:not([type="checkbox"], [type="file"], [type="hidden"]) {
  padding: 0.78rem 3.6rem 0.78rem 1rem !important;
}

body.auth-page #register-wizard textarea {
  min-height: 8.75rem;
  resize: vertical;
  padding: 0.9rem 1rem !important;
}

.auth-field-control input::placeholder,
body.auth-page #register-wizard input::placeholder,
body.auth-page #register-wizard textarea::placeholder {
  color: rgb(255 255 255 / 38%);
}

.auth-field-control input:focus,
body.auth-page #register-wizard input:not([type="checkbox"], [type="file"], [type="hidden"]):focus,
body.auth-page #register-wizard textarea:focus {
  border-color: rgb(77 215 234 / 62%) !important;
  background: rgb(255 255 255 / 9%) !important;
  box-shadow: 0 0 0 3px rgb(77 215 234 / 13%) !important;
}

.auth-field.has-error input,
.auth-field.has-error .auth-combobox,
.auth-reason-field.has-error textarea,
.photo-drop.has-error {
  border-color: rgb(251 113 133 / 72%) !important;
  box-shadow: 0 0 0 3px rgb(251 113 133 / 12%) !important;
}

.auth-field-icon {
  position: absolute;
  top: 50%;
  right: 0.58rem;
  display: grid;
  width: 2.15rem;
  height: 2.15rem;
  translate: 0 -50%;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 0.68rem;
  background: rgb(255 255 255 / 8%);
  color: rgb(255 255 255 / 62%);
  font-size: 1.05rem;
}

span.auth-field-icon {
  pointer-events: none;
}

button.auth-field-icon {
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

button.auth-field-icon:hover,
button.auth-field-icon:focus-visible {
  border-color: rgb(255 255 255 / 18%);
  background: rgb(255 255 255 / 13%);
  color: #fff;
  transform: scale(1.03);
}

.auth-field-icon--mail {
  background: rgb(34 211 238 / 13%);
  color: #8cecf7;
}

.auth-field-icon--name {
  background: rgb(167 139 250 / 14%);
  color: #c4b5fd;
}

.auth-field-icon--phone {
  background: rgb(52 211 153 / 13%);
  color: #86efac;
}

.auth-field-icon--password {
  background: rgb(251 191 36 / 12%);
  color: #fde68a;
}

.auth-field-icon--confirm {
  background: rgb(251 113 133 / 12%);
  color: #fda4af;
}

.auth-field-error {
  margin: 0;
  color: #fda4af;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.45;
}

.auth-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgb(251 113 133 / 32%);
  border-radius: 0.9rem;
  padding: 0.85rem 1rem;
  background: rgb(190 24 93 / 15%);
  color: #fecdd3;
  font-size: 0.82rem;
  line-height: 1.5;
}

.auth-alert > i {
  flex: 0 0 auto;
  margin-top: 0.12rem;
  color: #fb7185;
  font-size: 1.05rem;
}

.auth-alert--notice {
  border-color: rgb(251 191 36 / 30%);
  background: rgb(180 83 9 / 16%);
  color: #fde68a;
}

.auth-alert--notice > i {
  color: #fbbf24;
}

.auth-alert--success {
  border-color: rgb(52 211 153 / 30%);
  background: rgb(5 150 105 / 16%);
  color: #a7f3d0;
}

.auth-alert--success > i {
  color: var(--auth-success);
}

.auth-alert a {
  color: inherit;
  font-weight: 900;
}

.auth-primary-button,
.auth-secondary-button {
  position: relative;
  display: inline-flex;
  width: 100%;
  min-height: 3.2rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  overflow: hidden;
  border-radius: 0.9rem;
  padding: 0.75rem 1rem;
  font-size: 0.86rem;
  font-weight: 900;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.auth-primary-button {
  border: 1px solid rgb(167 139 250 / 52%);
  background: var(--auth-violet);
  color: #fff;
  box-shadow: 0 14px 30px rgb(70 53 190 / 30%);
}

.auth-primary-button > span,
.auth-secondary-button > span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.auth-primary-button::after {
  content: none;
}

.auth-primary-button:hover,
.auth-primary-button:focus-visible {
  background: var(--auth-violet-hover);
  box-shadow: 0 12px 26px rgb(70 53 190 / 32%);
  transform: translateY(-1px);
}

.auth-primary-button:active,
.auth-secondary-button:active {
  transform: translateY(0);
}

.auth-primary-button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.auth-secondary-button {
  border: 1px solid var(--auth-border);
  background: var(--auth-surface);
  color: rgb(255 255 255 / 78%);
  box-shadow: none;
}

.auth-secondary-button:hover,
.auth-secondary-button:focus-visible {
  border-color: rgb(77 215 234 / 30%);
  background: var(--auth-surface-hover);
  color: #fff;
  transform: translateY(-1px);
}

.auth-button-spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid rgb(255 255 255 / 38%);
  border-top-color: #fff;
  border-radius: 50%;
  animation: auth-spin 700ms linear infinite;
}

.auth-alt-link {
  margin: 1.4rem 0 0;
  color: var(--auth-muted);
  font-size: 0.84rem;
  text-align: center;
}

.auth-alt-link a {
  color: #bcb4ff;
  font-weight: 900;
  text-decoration: none;
}

.auth-alt-link a:hover,
.auth-alt-link a:focus-visible {
  color: #e0dcff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-security-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin: 1.35rem 0 0;
  color: rgb(255 255 255 / 40%);
  font-size: 0.69rem;
  font-weight: 700;
}

.auth-security-note i {
  color: #67e8f9;
  font-size: 0.9rem;
}

.auth-qr-card {
  display: grid;
  gap: 1rem;
  border: 1px solid rgb(77 215 234 / 20%);
  border-radius: 1rem;
  padding: 1.1rem;
  background: rgb(77 215 234 / 6%);
}

.auth-qr-heading {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.auth-qr-icon {
  display: grid;
  width: 3rem;
  height: 3rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgb(77 215 234 / 22%);
  border-radius: 0.85rem;
  background: rgb(77 215 234 / 12%);
  color: #a5f3fc;
  font-size: 1.5rem;
}

.auth-qr-card h2 {
  margin: 0;
  font-size: 0.98rem;
}

.auth-qr-card p {
  margin: 0.25rem 0 0;
  color: var(--auth-muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.auth-modal {
  padding: 1rem;
  overscroll-behavior: contain;
  background: rgb(3 0 18 / 80%);
  backdrop-filter: blur(9px);
}

.auth-modal-card {
  width: min(100%, 34rem);
  border: 1px solid var(--auth-border);
  border-radius: 1.25rem;
  padding: 1.25rem;
  background: var(--auth-card-strong);
  box-shadow: 0 28px 80px rgb(0 0 0 / 62%);
}

.auth-modal-close {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 auto;
  cursor: pointer;
  place-items: center;
  border: 1px solid var(--auth-border);
  border-radius: 0.75rem;
  background: var(--auth-surface);
  color: #ede9fe;
  font-size: 1.25rem;
}

.auth-modal-close:hover,
.auth-modal-close:focus-visible {
  background: var(--auth-surface-hover);
}

.register-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.45rem;
}

.register-step-caption {
  flex: 0 0 auto;
  border: 1px solid rgb(120 104 255 / 30%);
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  background: rgb(120 104 255 / 11%);
  color: #d8d3ff;
  font-size: 0.71rem;
  font-weight: 900;
}

.reg-guide {
  border: 1px solid rgb(77 215 234 / 19%);
  background: rgb(77 215 234 / 6%);
}

.step-panel {
  border: 0;
  border-left: 3px solid var(--auth-cyan);
  border-radius: 0.2rem 0.9rem 0.9rem 0.2rem !important;
  background: rgb(255 255 255 / 4%);
  box-shadow: none;
}

.register-progress {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.4rem;
}

.reg-dot {
  height: 0.34rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 14%);
}

.reg-dot.is-current,
.reg-dot.is-complete {
  background: linear-gradient(90deg, var(--auth-cyan), var(--auth-violet));
  box-shadow: 0 0 14px rgb(77 215 234 / 22%);
}

.register-account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.05rem;
}

.auth-class-picker {
  z-index: 3;
}

.auth-class-picker.is-open {
  z-index: 30;
}

.auth-combobox {
  display: flex;
  width: 100%;
  min-height: 3.25rem;
  cursor: pointer;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--auth-border);
  border-radius: 0.9rem;
  padding: 0.55rem 0.65rem;
  background: rgb(255 255 255 / 7%);
  color: #fff;
  text-align: left;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.auth-combobox:hover,
.auth-combobox[aria-expanded="true"] {
  border-color: rgb(77 215 234 / 48%);
  background: rgb(255 255 255 / 10%);
}

.auth-combobox-leading {
  display: grid;
  width: 2.15rem;
  height: 2.15rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 0.68rem;
  background: rgb(167 139 250 / 15%);
  color: #c4b5fd;
  font-size: 1.05rem;
}

.auth-combobox-value {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  font-size: 0.86rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-combobox-value.is-placeholder {
  color: rgb(255 255 255 / 40%);
  font-weight: 700;
}

.auth-combobox-chevron {
  flex: 0 0 auto;
  color: #8debf7;
  font-size: 1.3rem;
  transition: transform 180ms ease;
}

.auth-combobox[aria-expanded="true"] .auth-combobox-chevron {
  transform: rotate(180deg);
}

.auth-listbox {
  position: absolute;
  z-index: 50;
  top: calc(100% + 0.45rem);
  right: 0;
  left: 0;
  max-height: min(18rem, 45dvh);
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid rgb(77 215 234 / 28%);
  border-radius: 1rem;
  padding: 0.4rem;
  background: #150747;
  box-shadow: 0 22px 55px rgb(0 0 0 / 54%);
  scrollbar-color: rgb(141 128 255 / 62%) transparent;
  scrollbar-width: thin;
}

.auth-listbox-option {
  display: flex;
  width: 100%;
  min-height: 2.75rem;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 0;
  border-radius: 0.72rem;
  padding: 0.65rem 0.8rem;
  background: transparent;
  color: rgb(255 255 255 / 76%);
  font-size: 0.82rem;
  font-weight: 750;
  text-align: left;
}

.auth-listbox-option i {
  opacity: 0;
  color: #8debf7;
  font-size: 1.05rem;
}

.auth-listbox-option:hover,
.auth-listbox-option.is-active {
  background: rgb(255 255 255 / 9%);
  color: #fff;
}

.auth-listbox-option[aria-selected="true"] {
  background: rgb(120 104 255 / 20%);
  color: #fff;
}

.auth-listbox-option[aria-selected="true"] i {
  opacity: 1;
}

.choice-card,
.hobby-choice,
.photo-drop {
  border: 1px solid var(--auth-border);
  background: var(--auth-surface);
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.choice-card:hover,
.hobby-choice:hover {
  border-color: rgb(255 255 255 / 20%);
  background: var(--auth-surface-hover);
  transform: translateY(-1px);
}

.wa-choice[aria-pressed="true"],
.photo-drop.is-ready {
  border-color: rgb(77 215 234 / 58%);
  background: rgb(77 215 234 / 13%);
  box-shadow: 0 12px 28px rgb(77 215 234 / 9%);
}

.wa-choice[aria-pressed="true"] {
  color: #fff;
}

.hobby-choice {
  position: relative;
  cursor: pointer;
}

.hobby-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.hobby-choice:has(input:focus-visible) {
  outline: 3px solid rgb(77 215 234 / 65%);
  outline-offset: 2px;
}

.hobby-choice:has(input:checked) {
  border-color: rgb(77 215 234 / 52%);
  background: rgb(77 215 234 / 12%);
}

#whatsapp-choice-group.has-error .choice-card,
#hobbies-group.has-error .hobby-choice {
  border-color: rgb(251 113 133 / 45%);
}

.avatar-preview-ring {
  background: conic-gradient(from 210deg, var(--auth-cyan), #a78bfa, #34d399, var(--auth-cyan));
}

.auth-reason-field {
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.register-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  padding-top: 0.25rem;
  align-items: stretch;
}

.auth-success-page {
  display: grid;
  min-height: 100dvh;
  place-items: center;
  padding: 1.25rem;
}

.auth-success-card {
  position: relative;
  z-index: 1;
  width: min(100%, 28.5rem);
  border: 1px solid rgb(109 40 217 / 42%);
  border-radius: 1.25rem;
  padding: clamp(1.75rem, 5vw, 2.75rem);
  background: #140638;
  box-shadow: 0 22px 54px rgb(4 0 25 / 42%);
  text-align: center;
}

.auth-success-mark {
  position: relative;
  display: grid;
  width: 5.5rem;
  height: 5.5rem;
  margin-inline: auto;
  place-items: center;
}

.auth-success-ring {
  position: absolute;
  inset: 0;
  border: 2px solid rgb(16 185 129 / 88%);
  border-radius: 50%;
  box-shadow: 0 0 22px rgb(16 185 129 / 48%);
}

.auth-success-icon {
  display: grid;
  width: 4rem;
  height: 4rem;
  place-items: center;
  border-radius: 50%;
  background: rgb(16 185 129 / 14%);
  color: #71f2b4;
  font-size: 2.3rem;
}

.auth-success-kicker {
  margin-top: 1.5rem;
}

.auth-success-title {
  max-width: none;
  font-size: 2rem;
}

.auth-success-name {
  margin: 0.6rem 0 0;
  color: #bcb4ff;
  font-weight: 900;
}

.auth-success-copy {
  margin-inline: auto;
}

@keyframes auth-spin {
  to {
    transform: rotate(360deg);
  }
}

:where(.auth-page a, .auth-page button, .auth-page input, .auth-page textarea):focus-visible {
  outline: 3px solid rgb(77 215 234 / 68%);
  outline-offset: 3px;
}

@media (width <= 700px) {
  :root {
    --auth-radius: 1.45rem;
  }

  .auth-center,
  .auth-center--register {
    align-items: start;
    padding-top: max(1rem, env(safe-area-inset-top));
  }

  .auth-card {
    padding: 1.25rem;
  }

  .auth-card-top {
    margin-bottom: 2rem;
  }

  .auth-brand-logo {
    width: 2.75rem;
    height: 2.75rem;
  }

  .auth-brand-lockup strong {
    font-size: 0.84rem;
  }

  .auth-back-link span {
    display: none;
  }

  .auth-back-link {
    width: 2.65rem;
    padding: 0;
    justify-content: center;
  }

  .register-heading {
    display: block;
  }

  .register-step-caption {
    display: inline-flex;
    margin-top: 1rem;
  }

  .register-account-grid {
    grid-template-columns: 1fr;
  }
}

@media (width <= 430px) {
  .auth-card {
    border-radius: 1.25rem;
    padding: 1.05rem;
  }

  .auth-title {
    font-size: 1.9rem;
  }

  .auth-mode-switch {
    margin-bottom: 1.15rem;
  }

  .register-actions {
    grid-template-columns: 1fr;
  }

  .register-actions > * {
    grid-column: auto !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-page *,
  .auth-page *::before,
  .auth-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
