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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.wp-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-2025 .wp-bank-select__icon {
  color: #139c44;
}

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

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

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

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

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

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

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

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

.wp-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-2025 {
  background-color: #d60405;
}

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

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

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

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

.wp-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%;
}

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

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

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

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

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

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

.wp-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-2025 .wp-bonus-select__icon {
  color: #139c44;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.wp-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;
}

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

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

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

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

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

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

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

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

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

.wp-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;
}

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

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

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

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

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

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

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

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

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

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

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

  .wp-deposit .wp-page-nav.wp-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%;
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.wp-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;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.wp-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;
}

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

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

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

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

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

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

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

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

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

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

#wp-nas-qris-login-modal .wp-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;
}

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

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