.deposit-workspace {
  min-width: 0;
}
.deposit-balance-bar {
  display: flex;
  align-items: center;
  gap: 25px;
  border: 1px solid #2c463b;
  background: linear-gradient(120deg, #172d23, #141e28);
  padding: 22px 25px;
  border-radius: 12px;
  margin-bottom: 22px;
}
.deposit-balance-label {
  display: flex;
  align-items: center;
  gap: 14px;
}
.deposit-wallet-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: #254f3d;
  color: #8de9bb;
  border-radius: 12px;
  font-size: 23px;
}
.deposit-balance-label > div > span {
  display: block;
  font-size: 10px;
  color: #9fb9a9;
}
.deposit-balance-label strong {
  display: block;
  margin-top: 5px;
  font-size: 28px;
  font-weight: 600;
  color: #d9f5e5;
  letter-spacing: -0.6px;
}
.deposit-balance-tip {
  margin-left: auto;
}
.deposit-balance-tip > span {
  display: block;
  font-size: 11px;
  color: #bbd7c7;
}
.deposit-balance-tip small {
  display: block;
  font-size: 9px;
  color: #7c9f8a;
  margin-top: 7px;
}
.deposit-columns {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(340px, 1.15fr);
  gap: 22px;
}
.deposit-create-card,
.transfer-card {
  padding: 24px;
  min-width: 0;
}
.deposit-create-card .panel-heading,
.transfer-card .panel-heading {
  margin-bottom: 22px;
}
.deposit-create-card label {
  font-size: 11px;
}
.topup-presets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin: 12px 0 15px;
}
.topup-presets button {
  font-size: 9px;
  padding: 10px 3px;
  color: #a3c2af;
  background: #1a2c22;
  border: 1px solid #37533f;
  border-radius: 6px;
}
.topup-presets button.selected {
  color: #bdf5d0;
  background: #28513a;
  border-color: #6dbe8d;
}
.topup-method {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px;
  border: 1px solid #375340;
  background: #172e22;
  border-radius: 8px;
  margin: 26px 0;
}
.topup-method strong {
  font-size: 11px;
  font-weight: 500;
  color: #bbddc8;
}
.topup-method small {
  display: block;
  font-size: 9px;
  color: #87aa93;
  margin-top: 7px;
}
.topup-method .quick-icon {
  width: 32px;
  height: 32px;
}
.topup-method .radio-selected {
  flex-shrink: 0;
}
.deposit-create-card .deposit-total {
  margin-top: 20px;
}
.deposit-create-card .primary {
  width: 100%;
  justify-content: space-between;
}
.topup-how {
  border-top: 1px solid #2c3e33;
  margin-top: 28px;
  padding-top: 15px;
  display: grid;
  gap: 13px;
}
.topup-how > div {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.topup-how > div > span {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border: 1px solid #3f5947;
  color: #87b393;
  border-radius: 50%;
  font-size: 9px;
  flex-shrink: 0;
}
.topup-how p {
  margin: 1px 0 0;
  font-size: 10px;
  color: #8eaa99;
  line-height: 1.8;
}
.topup-empty {
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 25px;
}
.qr-placeholder {
  width: 108px;
  height: 108px;
  border-radius: 20px;
  background: radial-gradient(#2b4a39, #192921);
  border: 1px solid #334e3c;
  display: grid;
  place-items: center;
  margin-bottom: 23px;
}
.qr-placeholder > span {
  font-size: 61px;
  color: #6c977b;
  line-height: 1;
}
.topup-empty h3 {
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 12px;
}
.topup-empty p {
  max-width: 280px;
  font-size: 10px;
  line-height: 1.9;
  color: #879d90;
  margin: 0 0 18px;
}
.qr-payment-area {
  display: flex;
  align-items: center;
  gap: 22px;
  justify-content: center;
  padding: 4px 0 22px;
  border-bottom: 1px dashed #364b3c;
}
.qr-paper {
  background: #fff;
  border-radius: 10px;
  padding: 9px;
  width: 208px;
  min-height: 208px;
  flex-shrink: 0;
  text-align: center;
  box-shadow: 0 7px 24px #0003;
}
.qr-paper > img {
  display: block;
  width: 100%;
  height: auto;
  image-rendering: pixelated;
}
.qr-paper > span {
  display: block;
  font-family: Arial, sans-serif;
  font-size: 7px;
  font-weight: bold;
  letter-spacing: 0.6px;
  color: #456051;
  padding: 4px 0 7px;
}
.qr-paper > div {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 177px;
  color: #779080;
  font-size: 13px;
  padding: 15px;
  line-height: 1.6;
}
.qr-payment-caption {
  min-width: 0;
}
.qr-payment-caption > strong {
  display: block;
  color: #b5e3c6;
  font-size: 18px;
  overflow-wrap: anywhere;
}
.qr-payment-caption > span {
  display: block;
  color: #7da18b;
  font-size: 9px;
  line-height: 1.9;
  margin: 12px 0 17px;
}
.qr-payment-caption b {
  display: block;
  color: #b4d7c0;
  font-variant-numeric: tabular-nums;
  font-size: 15px;
  letter-spacing: 1px;
  margin-top: 4px;
}
.qr-payment-caption .button {
  font-size: 9px;
  padding: 9px 12px;
}
.transfer-details {
  margin: 17px 0 0;
}
.transfer-details > div {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid #26362d;
}
.transfer-details dt {
  font-size: 9px;
  color: #829f8c;
  line-height: 1.8;
}
.transfer-details dd {
  margin: 0;
  font-size: 11px;
  color: #bfdcca;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.transfer-details dd:has(button) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.transfer-details strong {
  font-weight: 550;
  font-size: 13px;
}
.transfer-details .copy-button {
  padding: 5px 7px;
  font-size: 8px;
}
.transfer-memo-row {
  background: #1b3325;
  border: 1px solid #365e40 !important;
  border-radius: 6px;
  margin-top: 8px;
  padding: 11px 10px !important;
}
.transfer-memo-row strong {
  color: #a0e8b9;
  letter-spacing: 0.5px;
}
.topup-payment-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.topup-payment-actions .primary {
  flex: 1;
}
.topup-review-note {
  font-size: 9px;
  color: #789684;
  line-height: 1.8;
  margin: 14px 0 0;
}
.deposit-workspace > .deposit-history {
  margin-top: 22px;
}
.deposit-workspace > .deposit-history > .panel-heading {
  padding: 20px 23px;
  margin: 0;
}
#real-wallet-panel .table-scroll {
  margin-top: 0;
}
.topup-history-open {
  font-size: 9px;
}
.topup-status.approved {
  color: #8de3b1;
  background: #203e2c;
}
.topup-status.reported {
  color: #e0c282;
  background: #3c3220;
}
.topup-status.pending {
  color: #9fbedb;
  background: #203143;
}
.topup-status.expired,
.topup-status.cancelled {
  color: #a4afa9;
  background: #28332e;
}
.topup-status.rejected {
  color: #e4afa0;
  background: #3c2b25;
}
.admin-bank-settings,
.admin-topup-queue {
  margin-top: 24px;
  padding: 24px;
}
.admin-bank-settings > .admin-hint {
  margin-top: -7px;
}
.bank-settings-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 30px;
}
.bank-enable {
  display: flex !important;
  align-items: center;
  gap: 9px;
  cursor: pointer;
}
.bank-enable > input {
  width: 16px !important;
  height: 16px;
  min-height: 0 !important;
  accent-color: #67dfab;
}
.bank-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 25px;
  border: 1px dashed #395344;
  border-radius: 10px;
  margin-top: 18px;
  text-align: center;
  min-width: 0;
}
.bank-preview img {
  width: 230px;
  max-width: 100%;
  height: auto;
  background: white;
  border-radius: 8px;
  padding: 9px;
}
.bank-preview > div > span {
  font-size: 60px;
  color: #678c74;
}
.bank-preview p {
  font-size: 10px;
  color: #89a894;
  line-height: 1.9;
  max-width: 300px;
}
.topup-admin-toolbar {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 10px 0 18px;
}
.topup-admin-toolbar select {
  max-width: 225px;
}
.topup-admin-toolbar > p {
  font-size: 10px;
  color: #8da291;
  line-height: 1.8;
  margin: 0;
}
.admin-topup-queue td {
  vertical-align: top;
  white-space: normal;
  min-width: 100px;
}
.admin-topup-queue td:first-child {
  min-width: 170px;
}
.admin-topup-queue td:nth-child(3) {
  min-width: 160px;
}
.admin-topup-queue small {
  display: block;
  font-size: 9px;
  color: #8ba394;
  margin-top: 7px;
  line-height: 1.7;
}
.bank-reference-input {
  display: block;
  width: 190px;
  max-width: 100%;
  padding: 9px 10px;
  background: #112219;
  border: 1px solid #38523e;
  border-radius: 6px;
  color: #c4e1cd;
  font: inherit;
  text-transform: none;
}
.topup-approve-actions {
  display: flex;
  gap: 7px;
  margin-top: 8px;
}
.topup-approve-actions .button {
  padding: 7px 9px;
  font-size: 9px;
}
.admin-topup-queue .status {
  display: inline-block;
}
#topup-memo,
#topup-account,
#topup-account-name {
  text-transform: none;
}
@media (max-width: 1100px) {
  .deposit-columns {
    gap: 16px;
    grid-template-columns: minmax(250px, 0.9fr) minmax(290px, 1.1fr);
  }
  .deposit-create-card,
  .transfer-card {
    padding: 19px;
  }
  .qr-payment-area {
    gap: 14px;
  }
  .qr-paper {
    width: 180px;
    min-height: 180px;
  }
  .qr-payment-caption > strong {
    font-size: 15px;
  }
  .transfer-details > div {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 9px;
  }
  .transfer-details strong {
    font-size: 11px;
  }
  .bank-settings-grid {
    gap: 20px;
  }
}
@media (max-width: 820px) {
  .deposit-columns {
    grid-template-columns: 1fr;
  }
  .topup-empty {
    min-height: 300px;
  }
  .qr-paper {
    width: 228px;
  }
  .qr-payment-area {
    gap: 28px;
  }
  .deposit-balance-tip {
    display: none;
  }
  .deposit-balance-bar > .button {
    margin-left: auto;
  }
  .transfer-details > div {
    grid-template-columns: 110px minmax(0, 1fr);
  }
  .transfer-details strong {
    font-size: 13px;
  }
  .bank-settings-grid {
    grid-template-columns: 1fr;
  }
  .bank-preview {
    margin-top: 0;
    min-height: 190px;
  }
  .topup-how {
    margin-top: 20px;
  }
}
@media (max-width: 480px) {
  .deposit-balance-bar {
    padding: 17px 15px;
    gap: 10px;
  }
  .deposit-wallet-icon {
    width: 35px;
    height: 35px;
    font-size: 20px;
  }
  .deposit-balance-label {
    gap: 10px;
  }
  .deposit-balance-label strong {
    font-size: 25px;
  }
  .deposit-balance-bar > .button {
    font-size: 9px;
    padding: 9px 11px;
  }
  .deposit-create-card,
  .transfer-card {
    padding: 18px;
  }
  .qr-payment-area {
    flex-direction: column;
    gap: 15px;
  }
  .qr-paper {
    width: 240px;
    max-width: 100%;
  }
  .qr-payment-caption {
    text-align: center;
  }
  .qr-payment-caption > span {
    margin: 8px 0 12px;
  }
  .qr-payment-caption b {
    display: inline;
    margin-left: 5px;
  }
  .transfer-details > div {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 8px;
  }
  .transfer-details strong {
    font-size: 12px;
  }
  .transfer-details dd {
    font-size: 10px;
  }
  .topup-payment-actions {
    gap: 12px;
  }
  .topup-payment-actions .button {
    font-size: 10px;
  }
  .admin-bank-settings,
  .admin-topup-queue {
    padding: 18px;
  }
  .topup-admin-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .topup-admin-toolbar select {
    max-width: 100%;
  }
}
