:root {
  color-scheme: dark;
  --auth-purple: #6e0186;
  --auth-purple-deep: #240039;
  --auth-panel: rgba(54, 4, 77, 0.96);
  --auth-gold: #ffc52f;
  --auth-gold-deep: #d78d00;
  --auth-text: #ffffff;
  --auth-muted: #d9c8df;
  --auth-border: rgba(255, 204, 54, 0.9);
  --auth-danger: #ff8d9a;
  --auth-success: #52df9c;
}

* {
  box-sizing: border-box;
}
html {
  min-width: 320px;
  background: #170521;
}
body.nova-auth-page {
  min-height: 100vh;
  margin: 0;
  color: var(--auth-text);
  font-family:
    "Kanit",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background:
    linear-gradient(rgba(20, 3, 31, 0.36), rgba(20, 3, 31, 0.62)),
    url("/assets/img/auth-chinese-gate.jpg") center/cover fixed no-repeat;
  overflow-x: hidden;
}

.nova-auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: max(24px, env(safe-area-inset-top)) 14px
    max(24px, env(safe-area-inset-bottom));
}

.nova-auth-card {
  width: min(100%, 520px);
  border: 1px solid rgba(255, 211, 91, 0.72);
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    rgba(70, 4, 95, 0.98),
    rgba(34, 3, 55, 0.98)
  );
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.48),
    0 0 35px rgba(255, 180, 35, 0.14);
  backdrop-filter: blur(8px);
}

.nova-auth-card--register {
  width: min(100%, 560px);
}
.nova-auth-card__body {
  padding: 28px 20px 26px;
}

.nova-auth-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.nova-auth-brand img {
  width: min(320px, 82vw);
  height: 104px;
  object-fit: contain;
}

.nova-auth-title {
  margin: 4px 0 2px;
  color: var(--auth-gold);
  font-size: clamp(2rem, 8vw, 2.65rem);
  font-weight: 500;
  text-align: center;
  line-height: 1.15;
}

.nova-auth-subtitle,
.nova-auth-step-title {
  margin: 10px auto 24px;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
}

.nova-auth-grid {
  display: grid;
  gap: 14px;
}
.nova-auth-field {
  position: relative;
}
.nova-auth-input-wrap {
  position: relative;
}

.nova-auth-input,
.nova-auth-bank-trigger {
  width: 100%;
  min-height: 64px;
  border: 2px solid var(--auth-border);
  border-radius: 14px;
  outline: none;
  color: #fff;
  background: rgba(29, 1, 44, 0.88);
  font: inherit;
  font-size: 1.08rem;
  padding: 0 18px;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.nova-auth-input::placeholder {
  color: #c6b6cb;
  opacity: 1;
}
.nova-auth-input:focus,
.nova-auth-bank-trigger:focus-visible {
  border-color: #ffe179;
  box-shadow: 0 0 0 4px rgba(255, 197, 47, 0.16);
}

.nova-auth-input-wrap--icon .nova-auth-input {
  padding-left: 60px;
}
.nova-auth-input--password {
  padding-right: 58px;
}

.nova-auth-input-icon {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  width: 50px;
  height: 100%;
  display: grid;
  place-items: center;
  color: #243244;
  background: linear-gradient(180deg, #ffd45b, #f3a90c);
  border-radius: 12px 0 0 12px;
}

.nova-auth-password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: #d9c9df;
  background: transparent;
  font-size: 1rem;
  cursor: pointer;
  transform: translateY(-50%);
}

.nova-auth-password-toggle:focus-visible {
  outline: 2px solid var(--auth-gold);
}
.nova-auth-forgot {
  margin: 12px 0 0;
  text-align: right;
}
.nova-auth-forgot a,
.nova-auth-login-link a,
.nova-auth-terms a {
  color: var(--auth-gold);
  text-decoration: none;
}

.nova-auth-actions {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}
.nova-auth-actions--secondary {
  margin-top: 14px;
}

.nova-auth-button {
  width: 100%;
  min-height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 1.18rem;
  font-weight: 500;
  text-decoration: none;
  transition:
    transform 150ms ease,
    filter 150ms ease,
    opacity 150ms ease;
}
.nova-auth-button:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}
.nova-auth-button:active {
  transform: translateY(0);
}
.nova-auth-button[disabled] {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}
.nova-auth-button--primary {
  color: #241300;
  background: linear-gradient(90deg, #dfa20c, #ffd04b, #e99d0f);
  box-shadow: 0 10px 24px rgba(255, 173, 16, 0.22);
}
.nova-auth-button--outline {
  border: 2px solid #ffe06f;
  color: #fff;
  background: transparent;
}
.nova-auth-button--line {
  border: 2px solid #ffe06f;
  color: #fff;
  background: linear-gradient(180deg, #1fbe27, #08730e);
  box-shadow: 0 0 24px rgba(65, 220, 72, 0.25);
}
.nova-auth-button--back {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nova-auth-divider {
  position: relative;
  margin: 26px 0 14px;
  text-align: center;
  color: #fff;
}
.nova-auth-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(255, 255, 255, 0.23);
}
.nova-auth-divider span {
  position: relative;
  padding: 0 14px;
  background: #35034f;
}

.nova-auth-home {
  display: block;
  margin-top: 26px;
  color: #d9c8df;
  text-align: center;
  text-decoration: none;
}

.nova-auth-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4px 0 16px;
}
.nova-auth-progress__item {
  position: relative;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  color: #d9c8df;
  background: rgba(20, 0, 32, 0.7);
  font-size: 0.9rem;
}
.nova-auth-progress__item:not(:last-child) {
  margin-right: 36px;
}
.nova-auth-progress__item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  width: 36px;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}
.nova-auth-progress__item.is-active,
.nova-auth-progress__item.is-complete {
  color: #251000;
  border-color: #ffe06f;
  background: var(--auth-gold);
}
.nova-auth-progress__item.is-complete::before {
  content: "✓";
}
.nova-auth-progress__item.is-complete {
  font-size: 0;
}

.nova-auth-step[hidden] {
  display: none !important;
}
.nova-auth-step.is-active {
  animation: authStepIn 180ms ease-out;
}
@keyframes authStepIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.nova-auth-step-actions {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 10px;
  margin-top: 22px;
}
.nova-auth-step > .nova-auth-button {
  margin-top: 22px;
}

.nova-auth-bank-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}
.nova-auth-bank-menu {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  max-height: 310px;
  overflow: auto;
  border: 1px solid rgba(255, 209, 82, 0.8);
  border-radius: 12px;
  background: #1d1524;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.45);
}
.nova-auth-bank-option {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  background: transparent;
  font: inherit;
  font-size: 1rem;
  padding: 10px 14px;
  text-align: left;
  cursor: pointer;
}
.nova-auth-bank-option:hover,
.nova-auth-bank-option:focus-visible {
  background: linear-gradient(
    90deg,
    rgba(255, 192, 44, 0.55),
    rgba(255, 192, 44, 0.12)
  );
}
.nova-auth-bank-option img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
}

.nova-auth-bonus {
  border: 0;
  margin: 4px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.nova-auth-bonus label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 1rem;
}
.nova-auth-bonus input {
  width: 22px;
  height: 22px;
  accent-color: var(--auth-gold);
}

.nova-auth-summary {
  margin: 0;
  border: 1px solid rgba(255, 205, 58, 0.8);
  border-radius: 14px;
  overflow: hidden;
}
.nova-auth-summary div {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 14px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.nova-auth-summary div:last-child {
  border-bottom: 0;
}
.nova-auth-summary dt {
  color: #d9c8df;
}
.nova-auth-summary dd {
  margin: 0;
  text-align: right;
  word-break: break-word;
}

.nova-auth-terms {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  font-size: 0.9rem;
  line-height: 1.55;
}
.nova-auth-terms input {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  accent-color: var(--auth-gold);
}
.nova-auth-login-link {
  margin: 0;
  text-align: center;
  font-size: 1.05rem;
}

.nova-auth-message {
  display: none;
  margin-top: 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 11px 13px;
  line-height: 1.5;
}
.nova-auth-message.is-visible {
  display: block;
}
.nova-auth-message.is-error {
  color: #ffe0e4;
  border-color: rgba(255, 106, 123, 0.45);
  background: rgba(255, 80, 102, 0.16);
}
.nova-auth-message.is-success {
  color: #dbffef;
  border-color: rgba(82, 223, 156, 0.42);
  background: rgba(52, 180, 124, 0.16);
}

.nova-auth-sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 700px) {
  .nova-auth-shell {
    padding: 46px 24px;
  }
  .nova-auth-card__body {
    padding: 34px 38px 32px;
  }
}

@media (max-width: 420px) {
  .nova-auth-card__body {
    padding: 24px 16px 24px;
  }
  .nova-auth-brand img {
    height: 90px;
  }
  .nova-auth-title {
    font-size: 2rem;
  }
  .nova-auth-input,
  .nova-auth-bank-trigger {
    min-height: 58px;
    font-size: 1rem;
  }
  .nova-auth-button {
    min-height: 56px;
    font-size: 1.05rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================
   NOVABET789 AUTH UI V3 — Compact popup + soft visible backdrop
   Scope: visual/responsive only. Auth logic remains unchanged.
   ========================================================= */

body.nova-auth-page {
  position: relative;
  isolation: isolate;
  background-attachment: scroll;
}

body.nova-auth-page::before {
  content: "";
  position: fixed;
  inset: -18px;
  z-index: -2;
  pointer-events: none;
  background: inherit;
  background-position: center;
  background-size: cover;
  filter: blur(3px) saturate(1.02) brightness(0.86);
  transform: scale(1.04);
}

body.nova-auth-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 50% 24%,
      rgba(126, 18, 157, 0.1),
      transparent 44%
    ),
    linear-gradient(180deg, rgba(13, 2, 22, 0.18), rgba(13, 2, 22, 0.42));
  backdrop-filter: blur(0.5px);
  -webkit-backdrop-filter: blur(0.5px);
}

.nova-auth-shell {
  padding: max(14px, env(safe-area-inset-top))
    max(12px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom))
    max(12px, env(safe-area-inset-left));
}

.nova-auth-card,
.nova-auth-card--register {
  width: min(100%, 440px);
  max-height: calc(100dvh - 28px);
  border-radius: 24px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  background: linear-gradient(
    180deg,
    rgba(65, 5, 89, 0.93),
    rgba(28, 3, 47, 0.95)
  );
  box-shadow:
    0 20px 58px rgba(0, 0, 0, 0.5),
    0 0 28px rgba(255, 180, 35, 0.12);
  backdrop-filter: blur(16px) saturate(1.08);
  -webkit-backdrop-filter: blur(16px) saturate(1.08);
}

.nova-auth-card--register {
  width: min(100%, 470px);
}

.nova-auth-card__body {
  padding: 22px 22px 20px;
}

.nova-auth-brand {
  margin-bottom: 4px;
}

.nova-auth-brand img {
  width: min(260px, 72vw);
  height: 78px;
}

.nova-auth-title {
  margin-top: 2px;
  font-size: clamp(1.72rem, 6vw, 2.18rem);
}

.nova-auth-subtitle,
.nova-auth-step-title {
  margin: 7px auto 16px;
  font-size: 0.98rem;
}

.nova-auth-grid {
  gap: 11px;
}

.nova-auth-input,
.nova-auth-bank-trigger {
  min-height: 54px;
  border-width: 1.5px;
  border-radius: 12px;
  font-size: 1rem;
  padding-inline: 15px;
}

.nova-auth-input-wrap--icon .nova-auth-input {
  padding-left: 53px;
}

.nova-auth-input-icon {
  width: 45px;
  border-radius: 10px 0 0 10px;
}

.nova-auth-password-toggle {
  width: 40px;
  height: 40px;
}

.nova-auth-forgot {
  margin-top: 8px;
}

.nova-auth-actions {
  gap: 10px;
  margin-top: 17px;
}

.nova-auth-actions--secondary {
  margin-top: 11px;
}

.nova-auth-button {
  min-height: 52px;
  font-size: 1.05rem;
}

.nova-auth-divider {
  margin: 19px 0 11px;
}

.nova-auth-home {
  margin-top: 18px;
}

.nova-auth-progress {
  margin: 2px 0 12px;
}

.nova-auth-progress__item {
  width: 29px;
  height: 29px;
  font-size: 0.82rem;
}

.nova-auth-progress__item:not(:last-child) {
  margin-right: 29px;
}

.nova-auth-progress__item:not(:last-child)::after {
  width: 29px;
}

.nova-auth-step-actions {
  margin-top: 17px;
}

.nova-auth-step > .nova-auth-button {
  margin-top: 17px;
}

.nova-auth-summary div {
  padding: 10px 12px;
}

.nova-auth-terms {
  margin-top: 14px;
}

.nova-auth-message {
  margin-top: 12px;
}

@media (max-width: 480px) {
  .nova-auth-shell {
    align-items: center;
  }

  .nova-auth-card,
  .nova-auth-card--register {
    width: min(94vw, 420px);
    max-height: calc(100dvh - 20px);
    border-radius: 20px;
  }

  .nova-auth-card__body {
    padding: 18px 15px 17px;
  }

  .nova-auth-brand img {
    width: min(220px, 68vw);
    height: 66px;
  }

  .nova-auth-title {
    font-size: 1.7rem;
  }

  .nova-auth-subtitle,
  .nova-auth-step-title {
    margin-bottom: 13px;
    font-size: 0.92rem;
  }

  .nova-auth-input,
  .nova-auth-bank-trigger {
    min-height: 50px;
    font-size: 0.96rem;
  }

  .nova-auth-button {
    min-height: 49px;
    font-size: 1rem;
  }

  .nova-auth-bonus {
    gap: 8px;
  }

  .nova-auth-bonus label,
  .nova-auth-login-link {
    font-size: 0.94rem;
  }
}

/* Small-height phones and landscape mobile */
@media (max-height: 700px), (orientation: landscape) and (max-width: 950px) {
  .nova-auth-shell {
    place-items: start center;
    padding-top: max(8px, env(safe-area-inset-top));
    padding-bottom: max(8px, env(safe-area-inset-bottom));
  }

  .nova-auth-card,
  .nova-auth-card--register {
    max-height: calc(100dvh - 16px);
  }

  .nova-auth-card__body {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .nova-auth-brand img {
    height: 54px;
  }

  .nova-auth-title {
    font-size: 1.48rem;
  }

  .nova-auth-subtitle,
  .nova-auth-step-title {
    margin-top: 4px;
    margin-bottom: 10px;
    line-height: 1.35;
  }

  .nova-auth-grid {
    gap: 8px;
  }

  .nova-auth-input,
  .nova-auth-bank-trigger {
    min-height: 46px;
  }

  .nova-auth-button {
    min-height: 46px;
  }

  .nova-auth-actions,
  .nova-auth-step-actions {
    margin-top: 12px;
  }

  .nova-auth-divider {
    margin: 13px 0 8px;
  }

  .nova-auth-home {
    margin-top: 12px;
  }
}

@supports not (height: 100dvh) {
  .nova-auth-card,
  .nova-auth-card--register {
    max-height: calc(100vh - 28px);
  }
}

/* =========================================================
   NOVABET789 AUTH UI V5 — Dark wine / gold production override
   Purpose: remove the legacy purple panel and purple inputs.
   This block intentionally appears last so it wins the cascade.
   ========================================================= */
:root {
  --auth-purple: #42100f;
  --auth-purple-deep: #120606;
  --auth-panel: rgba(24, 7, 8, 0.94);
  --auth-gold: #f7c65a;
  --auth-gold-deep: #b97916;
  --auth-text: #fff8ec;
  --auth-muted: #d8c8bd;
  --auth-border: rgba(224, 169, 65, 0.72);
}

html {
  background: #090303 !important;
}

body.nova-auth-page {
  background:
    linear-gradient(180deg, rgba(13, 3, 4, 0.28), rgba(13, 3, 4, 0.58)),
    url("/assets/img/auth-chinese-gate.jpg") center / cover fixed no-repeat !important;
}

body.nova-auth-page::after {
  background:
    radial-gradient(circle at 50% 28%, rgba(195, 89, 34, 0.10), transparent 43%),
    linear-gradient(180deg, rgba(12, 3, 4, 0.12), rgba(12, 3, 4, 0.38)) !important;
}

.nova-auth-shell {
  min-height: 100svh !important;
  min-height: 100dvh !important;
  display: grid !important;
  place-items: center !important;
  padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)) !important;
}

.nova-auth-card,
.nova-auth-card--register {
  width: min(92vw, 410px) !important;
  max-height: calc(100dvh - 24px) !important;
  border: 1px solid rgba(219, 162, 57, 0.76) !important;
  border-radius: 22px !important;
  background:
    linear-gradient(145deg, rgba(41, 10, 11, 0.96), rgba(16, 5, 7, 0.97)) !important;
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 218, 132, 0.04) inset,
    0 0 30px rgba(190, 93, 26, 0.12) !important;
  backdrop-filter: blur(15px) saturate(1.04) !important;
  -webkit-backdrop-filter: blur(15px) saturate(1.04) !important;
}

.nova-auth-card--register {
  width: min(92vw, 430px) !important;
}

.nova-auth-card__body {
  padding: 20px 20px 18px !important;
}

.nova-auth-brand img {
  width: min(220px, 62vw) !important;
  height: 66px !important;
}

.nova-auth-title {
  color: #f4c560 !important;
  font-size: clamp(1.55rem, 5vw, 1.95rem) !important;
}

.nova-auth-subtitle,
.nova-auth-step-title {
  color: #f4eee8 !important;
  margin: 5px auto 13px !important;
}

.nova-auth-grid {
  gap: 10px !important;
}

.nova-auth-input,
.nova-auth-bank-trigger {
  min-height: 50px !important;
  border: 1px solid rgba(214, 157, 53, 0.72) !important;
  border-radius: 11px !important;
  color: #fffaf2 !important;
  background:
    linear-gradient(180deg, rgba(31, 12, 14, 0.98), rgba(19, 7, 9, 0.98)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    inset 0 0 18px rgba(117, 26, 20, 0.08) !important;
}

.nova-auth-input::placeholder {
  color: #bdaea5 !important;
}

.nova-auth-input:focus,
.nova-auth-bank-trigger:focus-visible {
  border-color: #f1c45d !important;
  box-shadow:
    0 0 0 3px rgba(241, 196, 93, 0.13),
    inset 0 0 18px rgba(131, 37, 26, 0.08) !important;
}

.nova-auth-input-icon {
  width: 44px !important;
  color: #281503 !important;
  background: linear-gradient(180deg, #f4ce71, #c8871d) !important;
}

.nova-auth-input-wrap--icon .nova-auth-input {
  padding-left: 52px !important;
}

.nova-auth-button {
  min-height: 49px !important;
}

.nova-auth-button--primary {
  color: #1e1203 !important;
  background: linear-gradient(90deg, #c88418, #f4ca62, #c88418) !important;
  box-shadow: 0 10px 24px rgba(202, 132, 24, 0.18) !important;
}

.nova-auth-button--outline {
  border-color: rgba(239, 196, 93, 0.92) !important;
  background: rgba(25, 8, 10, 0.56) !important;
}

.nova-auth-button--line {
  border-color: rgba(239, 196, 93, 0.82) !important;
  background: linear-gradient(180deg, #159d25, #087615) !important;
}

.nova-auth-divider span {
  background: #1c090b !important;
}

.nova-auth-progress__item {
  background: rgba(24, 8, 10, 0.86) !important;
}

.nova-auth-progress__item.is-active,
.nova-auth-progress__item.is-complete {
  background: #efc45d !important;
}

.nova-auth-bank-menu {
  border-color: rgba(219, 162, 57, 0.76) !important;
  background: #17090b !important;
}

.nova-auth-summary {
  border-color: rgba(219, 162, 57, 0.70) !important;
  background: rgba(22, 7, 9, 0.66) !important;
}

@media (max-width: 480px) {
  .nova-auth-card,
  .nova-auth-card--register {
    width: min(92vw, 390px) !important;
    border-radius: 19px !important;
  }

  .nova-auth-card__body {
    padding: 17px 14px 16px !important;
  }

  .nova-auth-brand img {
    width: min(196px, 58vw) !important;
    height: 58px !important;
  }

  .nova-auth-title {
    font-size: 1.55rem !important;
  }

  .nova-auth-input,
  .nova-auth-bank-trigger {
    min-height: 48px !important;
  }

  .nova-auth-button {
    min-height: 47px !important;
  }
}

@media (max-height: 700px), (orientation: landscape) and (max-width: 950px) {
  .nova-auth-shell {
    place-items: center !important;
  }

  .nova-auth-card,
  .nova-auth-card--register {
    max-height: calc(100dvh - 16px) !important;
  }
}


/* Registration prefix selector — v5.1.0 */
.nova-auth-select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 48px;
  background-image:
    linear-gradient(45deg, transparent 50%, #f7c65a 50%),
    linear-gradient(135deg, #f7c65a 50%, transparent 50%);
  background-position:
    calc(100% - 22px) 50%,
    calc(100% - 15px) 50%;
  background-size: 7px 7px, 7px 7px;
  background-repeat: no-repeat;
}

.nova-auth-select:invalid {
  color: var(--auth-muted);
}

.nova-auth-select option {
  color: #fff8ef;
  background: #24090d;
}
