.nas-single--page:has(.nas-member-page--deposit) .nas-single__body {
  padding: 0;
}

.nas-member-page--deposit .nas-member-page__body > h2 {
  display: none;
}

.nas-member-page--deposit .nas-member-page__body {
  padding: 0;
}

.nas-member-page--deposit [data-nas-member-guest]:not([hidden]) {
  padding: 0.5rem;
}

.deposit .deposit-content.page,
.deposit #manualform.deposit-content {
  box-sizing: border-box;
  height: auto;
  min-height: 0;
  padding: 0;
  width: 100%;
}

#opIframe.deposit-content {
  padding: 0;
}

.wallet-form .alert {
  margin-bottom: 1rem;
}

.wallet-form button[type='submit'] {
  margin: 0 auto 1rem;
}

.wallet-form button[type='submit']:last-child {
  margin-bottom: 0;
}

.wallet-form--d {
  display: grid;
  position: relative;
  column-gap: 2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wallet-form--d button[type='submit'] {
  margin-bottom: 0;
}

.wallet-form--d .alert,
.wallet-form--d .bank-select,
.wallet-form--d .bonus-select,
.wallet-form--d .input__container,
.wallet-form--d .preset-amounts,
.wallet-form--d .wallet-detail__deposit-to,
.wallet-form--d .wallet-detail__withdraw-to,
.wallet-form--d button[type='submit'] {
  grid-column: 1 / 3;
}

.wallet-form--d .wallet-detail:not(.wallet-detail__deposit-to):not(.wallet-detail__withdraw-to) {
  grid-area: 1 / 3 / 2 / 4;
  position: absolute;
  width: 100%;
}

.deposit {
  display: grid;
  grid-template-rows: auto auto 1fr;
  min-height: calc(100vh - 180px - 2rem);
  position: relative;
}

@supports (height: 100dvh) {
  .deposit {
    min-height: calc(100dvh - 180px - 2rem);
  }
}

.deposit .deposit-content {
  width: 100%;
}

#opIframe.deposit-content {
  min-height: 400px;
}

#opIframe .depo-select-iframe,
#opIframe iframe {
  border: none;
  display: block;
  height: 600px;
  width: 100%;
}

.deposit .deposit-content__pending {
  align-items: center;
  background-color: #030a12;
  display: flex;
  justify-content: center;
}

.deposit form {
  display: grid;
  padding: 0.5rem;
  gap: 0.75rem;
  align-content: start;
  background-color: #0e253e;
}

.deposit--d {
  min-height: calc(100vh - 80px - 1.5rem);
}

@supports (height: 100dvh) {
  .deposit--d {
    min-height: calc(100dvh - 80px - 1.5rem);
  }
}

.deposit--d form {
  justify-items: center;
  padding: 1rem;
}

.deposit--d form .alert,
.deposit--d form .input__container {
  max-width: 30rem;
  width: 100%;
}

.deposit--d .wallet-form--d {
  max-width: none;
  width: 100%;
}

.bank-select {
  margin-bottom: 1rem;
}

.bank-select--disabled {
  color: rgba(255, 255, 255, 0.38);
  pointer-events: none;
}

.bank-select__label {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.bank-select__body {
  display: grid;
  overflow: hidden;
  gap: 0.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bank-select__item {
  align-items: center;
  background-color: #61020b;
  border-radius: 2px;
  display: flex;
  flex-direction: row;
  height: 60px;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
  transition: background-color 0.2s;
}

.bank-select__item--active .bank-select__icon {
  color: #139c44;
}

@media (hover: hover) and (min-width: 1024px) {
  .bank-select__item:hover {
    background-color: #480108;
  }
}

.bank-select__icon {
  left: 0.625rem;
  pointer-events: none;
  position: absolute;
}

.bank-select label {
  cursor: pointer;
  display: flex;
  height: 100%;
  padding: 0.5rem 0.5rem 0.5rem 2rem;
  width: 100%;
}

.bank-select label img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.bank-select__input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  pointer-events: none;
}

.bank-select--d .bank-select__body {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.preset-amounts {
  margin-bottom: 1rem;
}

.preset-amounts__label {
  align-items: flex-end;
  display: flex;
  font-size: 0.875rem;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}

.preset-amounts__label button {
  color: #fff;
  flex-shrink: 0;
  font-size: 1rem;
  height: 2rem;
  min-width: 2rem;
  padding: 0;
  width: 2rem;
}

.preset-amounts__gear--active {
  background-color: #d60405;
}

.preset-amounts--custom .preset-amounts__label {
  margin-bottom: 0.5rem;
}

.preset-amounts__body {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 768px) {
  .preset-amounts__body {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.preset-amounts label,
.preset-amounts__item {
  align-items: center;
  display: flex;
  justify-content: center;
}

.preset-amounts label {
  background-color: #61020b;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  min-height: 2.5rem;
  padding: 0.5rem 0.75rem;
  position: relative;
  width: 100%;
}

.preset-amounts label.preset-amounts--disabled {
  border-color: rgba(255, 255, 255, 0.38);
  color: rgba(255, 255, 255, 0.38);
  cursor: not-allowed;
}

.preset-amounts label.preset-amounts--active {
  border: 1.5px solid #d60405;
  color: #d60405;
}

.preset-amounts__input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  pointer-events: none;
}

.bonus-select {
  margin-bottom: 1rem;
}

.bonus-select__label {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.bonus-select__body {
  display: grid;
  overflow: hidden;
  gap: 0.5rem;
}

.bonus-select__item {
  align-items: center;
  background-color: #61020b;
  border-radius: 5px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
  transition: background-color 0.2s;
}

.bonus-select__item--active .bonus-select__icon {
  color: #139c44;
}

.bonus-select__item--disabled {
  color: rgba(255, 255, 255, 0.38);
  cursor: not-allowed;
  pointer-events: none;
}

.bonus-select__item--muted {
  opacity: 0.72;
}

.bonus-select__item:not(.bonus-select__item--disabled) {
  cursor: pointer;
}

@media (hover: hover) and (min-width: 1024px) {
  .bonus-select__item:not(.bonus-select__item--disabled):hover {
    background-color: #480108;
  }
}

.bonus-select__item label {
  align-items: center;
  cursor: pointer;
  display: grid;
  height: 100%;
  padding: 0.5rem 0.5rem 0.5rem 2rem;
  width: 100%;
}

.bonus-select__item label h3 {
  font-size: 1rem;
  margin: 0;
}

.bonus-select__item label h6 {
  font-size: 0.75rem;
  margin: 0;
}

.bonus-select__item label span {
  display: block;
  font-size: 0.625rem;
  font-weight: 500;
  grid-column: 1 / -1;
}

.bonus-select__item label strong {
  font-size: 0.75rem;
  margin: 0.25rem 0;
}

.bonus-select__icon {
  left: 0.625rem;
  pointer-events: none;
  position: absolute;
}

.bonus-select__input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  pointer-events: none;
}

.bonus-select--d .bonus-select__body {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wallet-detail {
  margin-bottom: 1rem;
  max-width: 30rem;
  width: 100%;
}

.wallet-detail__label {
  align-items: flex-end;
  display: flex;
  font-size: 0.875rem;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}

.wallet-detail__body {
  display: grid;
  position: relative;
  gap: 0.25rem;
  background-color: #61020b;
  border-radius: 2px;
  font-size: 0.75rem;
  grid-template-columns: auto 1fr auto;
  justify-content: start;
  overflow: hidden;
  padding: 0.25rem 0;
}

.wallet-detail__body.wallet-detail__body--muted label,
.wallet-detail__body.wallet-detail__body--muted span {
  color: rgba(255, 255, 255, 0.6);
}

.wallet-detail__btn-copy {
  align-items: center;
  bottom: 0.5rem;
  display: flex;
  justify-content: center;
  position: absolute;
  right: 0.5rem;
}

.wallet-detail__btn-copy.has-qr {
  place-self: center start;
  bottom: auto;
  grid-area: 2 / 1 / 3 / 3;
  left: 0.5rem;
  position: relative;
  right: auto;
}

.wallet-detail__btn-copy.wallet-detail--copied {
  border: 1px solid #139c44;
}

.wallet-detail__btn-copy i {
  color: #139c44;
  margin-left: 0.25rem;
}

.wallet-detail__labels,
.wallet-detail__values {
  display: flex;
  flex-direction: column;
}

.wallet-detail__labels label,
.wallet-detail__labels span,
.wallet-detail__values label,
.wallet-detail__values span {
  align-items: center;
  display: flex;
  height: 32px;
  padding: 0.25rem 0.5rem;
  position: relative;
  white-space: nowrap;
}

.wallet-detail__labels label::after,
.wallet-detail__values label::after {
  content: ':';
  position: absolute;
  right: 0;
}

.wallet-detail__values {
  color: #fff;
  font-weight: 700;
  letter-spacing: 1px;
}

.wallet-detail__qr {
  place-self: center;
  grid-area: 1 / 3 / 3 / 4;
  max-width: 8rem;
  padding: 0.25rem 0.5rem;
  width: 100%;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.wallet-detail__qr img {
  display: block;
  width: 100%;
}

.depo-select-iframe {
  border: none;
  height: 600px;
  width: 100%;
}

.nas-deposit__error[hidden] {
  display: none !important;
}

.bonus-select--compact .bonus-select__body {
  display: grid;
  gap: 0.5rem;
}

.bonus-select--compact .bonus-select__item label h3,
.bonus-select--compact .bonus-select__item label span,
.bonus-select--compact .bonus-select__item label strong {
  display: none;
}

.bonus-select--compact .bonus-select__item label h6 {
  font-size: 0.875rem;
}

@media (max-width: 1023px) {
  .nas-member-page--deposit {
    min-width: 0;
    width: 100%;
  }

  .nas-member-page--deposit .nas-member-auth {
    min-width: 0;
  }

  .nas-member-page--deposit .nas-member-page__title {
    padding: 0.5rem 0.5rem 0;
  }

  .nas-main .deposit.deposit--d {
    min-height: auto;
    min-width: 0;
    width: 100%;
  }

  .deposit .page-nav--grid {
    grid-template-columns: 1fr;
  }

  .deposit .page-nav.page-nav--d {
    background-color: #030a12;
    box-sizing: border-box;
    height: auto;
    min-height: 52px;
    padding: 0.5rem 0;
    position: static;
    top: auto;
    width: 100%;
  }

  .deposit .page-nav.page-nav--d .page-nav__scroll-parent {
    min-width: 0;
    width: 100%;
  }

  .deposit .page-nav__label {
    display: none;
  }

  .deposit .page-nav ul a.btn {
    align-items: center;
    display: inline-flex;
    gap: 0.375rem;
    white-space: nowrap;
  }

  .deposit .page-nav ul a.btn.btn--light:not(.app-link--active) {
    background-color: #61020b;
  }

  .deposit .nas-page-nav-spacer {
    height: 0;
  }

  .deposit--d form {
    box-sizing: border-box;
    justify-items: stretch;
    padding: 0.5rem;
    width: 100%;
  }

  .deposit--d form.wallet-form.wallet-form--d,
  .deposit form.wallet-form--d {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    grid-template-columns: none !important;
  }

  .wallet-form--d > *,
  .deposit form.wallet-form--d > * {
    grid-area: auto !important;
    grid-column: auto !important;
    grid-row: auto !important;
    max-width: none;
    min-width: 0;
    width: 100%;
  }

  .deposit--d form .alert,
  .deposit--d form .input__container,
  .deposit--d .wallet-form--d {
    max-width: none;
    width: 100%;
  }

  .wallet-form--d {
    column-gap: 0;
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
  }

  .wallet-form--d .alert,
  .wallet-form--d .bank-select,
  .wallet-form--d .bonus-select,
  .wallet-form--d .input__container,
  .wallet-form--d .preset-amounts,
  .wallet-form--d .wallet-detail,
  .wallet-form--d .wallet-detail__deposit-to,
  .wallet-form--d .wallet-detail__withdraw-to,
  .wallet-form--d button[type='submit'] {
    grid-column: auto;
    max-width: none;
    width: 100%;
  }

  .wallet-form--d .wallet-detail:not(.wallet-detail__deposit-to):not(.wallet-detail__withdraw-to) {
    grid-row: auto;
    position: static !important;
    width: 100%;
  }

  .bank-select--d .bank-select__body {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bonus-select--d .bonus-select__body {
    grid-template-columns: 1fr;
  }

  .wallet-detail {
    max-width: none;
  }

  .wallet-detail__labels label,
  .wallet-detail__labels span,
  .wallet-detail__values label,
  .wallet-detail__values span {
    white-space: normal;
  }

  .wallet-detail__body {
    grid-template-columns: minmax(5.5rem, auto) minmax(0, 1fr);
    gap: 0.25rem 0.5rem;
  }

  .wallet-detail__qr {
    grid-area: auto;
    justify-self: center;
    max-width: 6.5rem;
    margin-top: 0.5rem;
  }

  .wallet-detail__btn-copy.has-qr {
    grid-area: auto;
    justify-self: start;
    margin-top: 0.5rem;
    position: relative;
  }

  .wallet-detail__deposit-to .wallet-detail__btn-copy {
    bottom: auto;
    position: relative;
    right: auto;
  }

  .deposit form button[type='submit'].btn--lg {
    max-width: 100%;
    width: 100%;
  }
}

@media (min-width: 1024px) {
  .nas-main .deposit > .page-nav.surface {
    position: sticky;
    top: 58px;
    z-index: 9;
  }
}

.wallet-form .bonus-panel {
  display: none;
  margin-bottom: 1rem;
  width: 100%;
}

.bonus-panel__select {
  background-color: #61020b;
  border-radius: 2px;
  overflow: hidden;
}

.bonus-panel__select header {
  align-items: center;
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 0.5rem;
}

.bonus-panel__select header button {
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  flex: 1;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0;
  text-align: left;
}

.bonus-panel__options {
  list-style: none;
  margin: 0;
  overflow: hidden;
  padding: 0;
  transition: max-height 0.25s ease;
}

.bonus-panel__options li {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.bonus-panel__item {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 0.5rem;
}

.bonus-panel__item h5 {
  font-size: 0.8125rem;
  font-weight: 600;
  margin: 0;
}

.bonus-panel__item--muted {
  opacity: 0.5;
  pointer-events: none;
}

.bonus-panel__options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.bonus-panel__current {
  background-color: #480108;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.75rem 0.5rem;
}

.bonus-panel__current h3 {
  font-size: 1rem;
  margin: 0 0 0.25rem;
}

.bonus-panel__current h5 {
  font-size: 0.75rem;
  margin: 0 0 0.5rem;
  opacity: 0.8;
}

.bonus-panel__details p {
  display: grid;
  font-size: 0.6875rem;
  gap: 0.25rem;
  margin: 0;
}

.bonus-panel__details p:first-child span {
  opacity: 0.7;
}

.bonus-panel__details p:last-child strong {
  font-weight: 700;
}

.deposit-pending {
  box-sizing: border-box;
  padding: 0.5rem;
  width: 100%;
}

.deposit-pending .alert--icon-top .alert__content h4 {
  font-size: 1rem;
  margin: 0 0 0.5rem;
}

.deposit-detail {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
}

.deposit-detail li {
  display: grid;
  gap: 0.125rem;
  margin-bottom: 0.5rem;
}

.deposit-detail li span {
  font-size: 0.75rem;
  opacity: 0.7;
}

.deposit-detail li p {
  font-weight: 700;
  letter-spacing: 0.5px;
  margin: 0;
}

.deposit-pending__qr {
  display: block;
  margin: 1rem auto;
  max-width: 12rem;
  width: 100%;
}

.deposit-content.page.deposit-content__pending {
  align-items: stretch;
  background-color: #030a12;
  display: block;
  justify-content: center;
}

#nas-deposit-bonus-modal:not(.modal--open) {
  display: none;
  pointer-events: none;
  visibility: hidden;
}

#nas-deposit-bonus-modal.modal--open {
  display: flex;
  pointer-events: auto;
  visibility: visible;
  z-index: 1002;
}

#nas-deposit-bonus-modal .modal__root {
  position: relative;
  z-index: 2;
}

#nas-deposit-bonus-modal .modal__backdrop {
  z-index: 1;
}

.bonuses-notice {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 400px;
  padding: 1rem;
  width: 90vw;
}

.bonuses-notice h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  text-align: center;
}

.bonuses-notice .bonus-panel {
  display: block;
  width: 100%;
}

.bonuses-notice__dismiss {
  background: transparent;
  border: 0;
  color: hsla(0, 0%, 100%, 0.38);
  cursor: pointer;
  font-size: 0.75rem;
  margin-top: 0.75rem;
  padding: 0.25rem;
}

.bonuses-notice__dismiss:hover {
  color: #fff;
}

@media (max-width: 1023px) {
  .wallet-form .bonus-panel {
    display: block;
  }

  .wallet-form .bonus-select {
    display: none;
  }

  .wallet-form--d .bonus-panel,
  .deposit form.wallet-form--d > .bonus-panel {
    grid-area: auto !important;
    grid-column: auto !important;
    max-width: none;
    width: 100%;
  }
}

@media (min-width: 1024px) {
  .wallet-form .bonus-panel {
    display: none;
  }
}

#nas-qris-login-modal:not(.modal--open) {
  display: none;
  pointer-events: none;
  visibility: hidden;
}

#nas-qris-login-modal.modal--open {
  display: flex;
  pointer-events: auto;
  visibility: visible;
  z-index: 1002;
}

#nas-qris-login-modal .modal__root {
  position: relative;
  z-index: 2;
}

#nas-qris-login-modal .modal__backdrop {
  z-index: 1;
}

#nas-qris-login-modal .modal__content.surface--inverse {
  background-color: #0e253e;
  color: #fff;
}

#nas-qris-login-modal .modal__close--outside {
  background: rgba(0, 0, 0, 0.35);
  color: hsla(0, 0%, 100%, 0.85);
  position: absolute;
  right: 0;
  top: 0;
  transform: translate(40%, -40%);
  z-index: 3;
}

#nas-qris-login-modal .modal__close--outside:hover {
  color: #fff;
}

[data-nas-qris-login-cta][hidden] {
  display: none;
}
