/* Wallet Page Styles - Flexbox Flow Layout */

/* Main Container */
.wallet-page {
  display: flex;
  width: 100%;
  min-height: 100vh;
  background: #f5f5f5;
}

/* Main Wallet Container */
body .wallet-main,
body.kyc-hidden .wallet-main {
  width: calc(100% - 256px);
  min-height: 100vh;
  margin-left: 256px;
  padding: 0 !important;
  background: #fafafa;
  display: flex !important;
  flex-direction: column !important;
  gap: 0;
  z-index: 0;
  position: relative;
}

/* Wallet container - content width constraint */
/* Content Wrapper - Centered 1096px width */
.wallet-container {
  display: flex !important;
  flex-direction: column !important;
  gap: 24px;
  width: 100%;
  max-width: 1200px !important;
  padding: 24px var(--page-padding-x, 32px) var(--page-padding-bottom, 48px);
  margin-left: 0 !important;
  margin-right: 0 !important;
  position: relative;
}

/* Layer to ensure stacking of balances and content */
#wallet-content-layer {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
}

/* Wallet Header */
.wallet-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 0;
  margin-bottom: 0;
  position: relative;
  z-index: 5;
  padding: 0;
}

.wallet-header-left {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.wallet-header-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}



.wallet-header-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}









.wallet-page-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.wallet-page-icon svg,
.wallet-page-icon img {
  width: 32px;
  height: 32px;
}

.wallet-page-icon svg path {
  stroke: #000000;
  stroke-width: 2;
}

.wallet-page-title {
  font-family: var(--font-family, "TT Norms Pro", -apple-system, BlinkMacSystemFont, sans-serif);
  font-style: normal;
  font-weight: 700;
  font-size: 36px;
  line-height: 44px;
  letter-spacing: -0.02em;
  color: var(--page-title-color);
  margin: 0;
}

/* Balance Cards Container */
.wallet-balances {
  display: flex;
  flex-direction: row;
  gap: 24px;
  width: 100%;
  margin: 0;
  padding: 0;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.wallet-cash-balance,
.wallet-rewards-balance,
.wallet-assets-balance {
  flex: 1;
  min-width: 0;
}

/* Balance Card */
.wallet-balance-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  /* Increased padding */
  gap: 16px;
  background: #ffffff;
  border: 1px solid var(--table-border-color);
  border-radius: 12px;
  width: 100%;
  height: auto;
  /* Allow auto height */
  min-height: 112px;
  box-shadow: 0px 1px 2px rgba(10, 13, 18, 0.05);
  position: relative;
  overflow: hidden;
}

.wallet-balance-card::before,
#transactions-table::before,
.wallet-payment-card::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, #0000FF 0%, #03FF88 100%);
  border-radius: 12px 12px 0 0;
  z-index: 2;
}

#transactions-table::before {
  border-radius: var(--card-border-radius, 12px) var(--card-border-radius, 12px) 0 0;
}

.wallet-cash-balance .wallet-balance-card {
  width: 100%;
}

.wallet-rewards-balance .wallet-balance-card {
  width: 100%;
}

.wallet-balance-card-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.wallet-balance-card-label {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
  height: 20px;
}

.wallet-balance-card-label-text {
  font-family: var(--font-family, "TT Norms Pro", sans-serif);
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: var(--text-secondary);
  white-space: nowrap;
}

.wallet-balance-card-help-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.wallet-balance-card-amount {
  font-family: var(--font-family, "TT Norms Pro", sans-serif);
  font-style: normal;
  font-weight: 700;
  font-size: 36px;
  line-height: 44px;
  letter-spacing: -0.02em;
  color: var(--page-title-color);
  white-space: nowrap;
}

.wallet-balance-card-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 8px;
  width: 94px;
  flex-shrink: 0;
}















.wallet-balance-card-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.wallet-balance-card-icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.wallet-balance-card-icon svg {
  width: 64px;
  height: 64px;
}

/* Full-Width Transactions Section */
.wallet-transactions-full {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Payment Methods Row - Cards & Banks side by side */
.wallet-payment-methods-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 32px !important;
  width: 100% !important;
  margin-top: 0 !important;
  align-items: start !important;
}

.wallet-payment-methods-row .wallet-cards-section,
.wallet-payment-methods-row .wallet-banks-section {
  width: 100% !important;
}

/* Transactions Section Header */
.wallet-transactions-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--table-border-color);
}

.wallet-transactions-title {
  font-family: var(--font-family, "TT Norms Pro", sans-serif);
  font-style: normal;
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  color: var(--page-title-color);
  margin: 0;
}

#transactions-table .ds-table-flex__head {
  border-radius: 0;
}

#transactions-table {
  position: relative;
}

/* Transactions Table */
.wallet-transactions-section {
  width: 100%;
}

.wallet-transactions-table {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  isolation: isolate;
  margin-top: 12px;
  width: 100%;
  
}

/* Empty State */
.wallet-transactions-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 64px 0;
  gap: 24px;
  width: 100%;
  z-index: 3;
}

.wallet-transactions-empty-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 297px;
}

.wallet-transactions-empty-illustration {
  width: 152px;
  height: 118px;
  position: relative;
}

.wallet-transactions-empty-circle {
  position: absolute;
  width: 104px;
  height: 104px;
  left: 24px;
  top: 0px;
  background: var(--table-border-color);
  border-radius: 50%;
}

.wallet-transactions-empty-cloud {
  position: absolute;
  left: 13.16%;
  right: 13.16%;
  top: 13.56%;
  bottom: 32.2%;
  background: #fafafa;
  box-shadow:
    0px 20px 24px -4px rgba(10, 13, 18, 0.08),
    0px 8px 8px -4px rgba(10, 13, 18, 0.03),
    0px 3px 3px -1.5px rgba(10, 13, 18, 0.04);
}

.cloud-circle {
  position: absolute;
  background: linear-gradient(133.21deg,
      #d0d5dd 14.2%,
      rgba(255, 255, 255, 0) 44.29%);
  mix-blend-mode: normal;
  border-radius: 50%;
}

.cloud-dot {
  position: absolute;
  background: #f5f5f5;
  mix-blend-mode: normal;
  border-radius: 50%;
}

.cloud-dot-1 {
  width: 10px;
  height: 10px;
  left: 16px;
  top: 14px;
}

.cloud-dot-2 {
  width: 14px;
  height: 14px;
  left: 11px;
  top: 102px;
}

.cloud-dot-3 {
  width: 14px;
  height: 14px;
  left: 138px;
  top: 28px;
}

.cloud-dot-4 {
  width: 8px;
  height: 8px;
  left: 130px;
  top: 4px;
}

.wallet-transactions-empty-icon-wrapper {
  position: absolute;
  width: 48px;
  height: 48px;
  left: 52px;
  top: 62px;
  background: rgba(52, 64, 84, 0.4);
  mix-blend-mode: normal;
  backdrop-filter: blur(4px);
  border-radius: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wallet-transactions-empty-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 297px;
  max-width: 352px;
}

.wallet-transactions-empty-title {
  font-family: var(--font-family, "TT Norms Pro", sans-serif);
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  color: var(--page-title-color);
}

.wallet-transactions-empty-message {
  font-family: var(--font-family, "TT Norms Pro", sans-serif);
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  color: var(--text-secondary);
}

/* Table with Data */
.wallet-transactions-table-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.wallet-transactions-table-header {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  width: 100%;
  height: var(--table-header-height, 44px);
  background: var(--table-header-bg, #FAFAFA);
  border-radius: 12px 12px 0 0;
}

.wallet-transactions-header-cell {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  padding: 12px 24px;
  gap: 12px;
  height: var(--table-header-height, 44px);
  background: var(--table-header-bg, #FAFAFA);
  border-bottom: 1px solid var(--table-border-color, var(--table-border-color));
}

.wallet-transactions-header-cell:nth-child(1) {
  width: 182px;
  flex: none;
  border-radius: 12px 0 0 0;
}

.wallet-transactions-header-cell:nth-child(2) {
  width: 163px;
  flex: none;
}

.wallet-transactions-header-cell:nth-child(3) {
  width: 200px;
  flex: none;
}

.wallet-transactions-header-cell:nth-child(4) {
  width: 180px;
  flex: none;
}

.wallet-transactions-header-cell:nth-child(5) {
  width: 183px;
  flex: none;
}

.wallet-transactions-header-cell:nth-child(6) {
  width: 188px;
  flex: none;
  border-radius: 0 12px 0 0;
}

.wallet-transactions-header-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
}

.wallet-transactions-header-content svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.wallet-transactions-header-text {
  font-family: var(--font-family, "TT Norms Pro", sans-serif);
  font-style: normal;
  font-weight: 600;
  font-size: 12px;
  line-height: 18px;
  color: #717680;
}

.wallet-transactions-header-arrow {
  width: 12px;
  height: 12px;
}

.wallet-transactions-header-arrow path {
  stroke: #a4a7ae;
  stroke-width: 1.5px;
}

.wallet-transactions-table-body {
  width: 100%;
}

.wallet-transaction-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  height: 72px;
  border-bottom: 1px solid var(--table-border-color, var(--table-border-color));
}

.wallet-transaction-cell {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 16px 24px;
  height: 72px;
}

.wallet-transaction-type {
  width: 182px;
  flex: none;
  gap: 12px;
}

.wallet-transaction-type-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-icon {
  box-sizing: border-box;
  width: 40px;
  height: 40px;
  background: #f3f4f6;
  border: 1px solid var(--table-border-color);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-icon svg {
  width: 20px;
  height: 20px;
}

.wallet-transaction-type-text {
  font-family: var(--font-family, "TT Norms Pro", sans-serif);
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: var(--page-title-color);
}

.wallet-transaction-status {
  width: 163px;
}

.wallet-transaction-status-badge {
  box-sizing: border-box;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  padding: 2px 6px;
  gap: 4px;
  height: 22px;
  background: #ffffff;
  border: 1px solid #d5d7da;
  box-shadow: 0px 1px 2px rgba(10, 13, 18, 0.05);
  border-radius: 6px;
  flex: none;
  order: 0;
  flex-grow: 0;
}

.wallet-transaction-status-dot {
  width: 8px;
  height: 8px;
  position: relative;
  flex: none;
  order: 0;
  flex-grow: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wallet-transaction-status-dot::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.wallet-transaction-status-text {
  font-family: var(--font-family, "TT Norms Pro", sans-serif);
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
  color: #414651;
  flex: none;
  order: 1;
  flex-grow: 0;
}

/* Completed Status */
.status-completed {
  width: 88px;
}

.status-completed .wallet-transaction-status-dot::after {
  background: var(--badge-success-color, #027A48);
}

.status-completed .wallet-transaction-status-text {
  width: 64px;
}

/* In Process Status */
.status-in-process {
  width: 84px;
}

.status-in-process .wallet-transaction-status-dot::after {
  background: var(--badge-warning-color, #B54708);
}

.status-in-process .wallet-transaction-status-text {
  width: 60px;
}

/* Declined Status */
.status-declined {
  width: 82px;
}

.status-declined .wallet-transaction-status-dot::after {
  background: var(--badge-danger-color, #B42318);
}

.status-declined .wallet-transaction-status-text {
  width: 58px;
}

.wallet-transaction-date,
.wallet-transaction-wallet {
  font-family: var(--font-family, "TT Norms Pro", sans-serif);
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: var(--text-secondary);
}

.wallet-transaction-date {
  width: 200px;
}

.wallet-transaction-wallet {
  width: 180px;
}

.wallet-transaction-amount {
  width: 183px;
  font-family: var(--font-family, "TT Norms Pro", sans-serif);
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
}

.amount-positive {
  color: #065f46;
}

.amount-negative {
  color: var(--page-title-color);
}

.wallet-transaction-action {
  width: 188px;
}

.wallet-transaction-action-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  font-family: var(--font-family, "TT Norms Pro", sans-serif);
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: #717680;
  cursor: pointer;
}

.wallet-pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  width: 100%;
}

.pagination-btn {
  padding: 8px 12px;
  border: 1px solid #d0d5dd;
  background: #ffffff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--body-color);
  cursor: pointer;
  transition: all 0.2s;
}

.pagination-btn:hover:not(:disabled) {
  background: #f9fafb;
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-info {
  font-size: 14px;
  color: #475467;
}


.wallet-transactions-footer {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-top: 16px;
  margin-bottom: 32px;
  width: 100%;
}

.wallet-transactions-see-all {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  height: 20px;
  background: none;
  border: none;
  font-family: var(--font-family, "TT Norms Pro", sans-serif);
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: var(--primary-color);
  cursor: pointer;
}

/* Payment Methods - stacked vertically in right column */
.wallet-payment-methods {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

/* Hide any misplaced transaction footer inside payment methods (backend replacement bug) */
.wallet-payment-methods .wallet-transactions-footer,
.wallet-payment-methods>.wallet-transactions-footer {
  display: none !important;
}

.wallet-payment-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0px;
  gap: 0;
}

.wallet-cards-section,
.wallet-banks-section {
  flex: 1;
  min-width: 0;
}

.wallet-cards-section .wallet-payment-section,
.wallet-banks-section .wallet-payment-section {
  width: 100%;
}

.wallet-banks-section .wallet-payment-add-button,
.wallet-banks-section .wallet-payment-item {
  width: 100%;
}

.wallet-payment-title {
  font-family: var(--font-family, "TT Norms Pro", sans-serif);
  font-style: normal;
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  color: var(--page-title-color);
  align-self: auto;
  margin: 0;
}

.wallet-payment-title-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.wallet-accepted-cards {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
}

.wallet-accepted-card-icon {
  height: 20px;
  width: auto;
  object-fit: contain;
  border-radius: 3px;
  border: 1px solid var(--table-border-color);
}

.wallet-payment-add-spacer {
  flex: 1;
}

.wallet-payment-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px;
  gap: 16px;
  min-height: 176px;
  background: #ffffff;
  border: 1px solid var(--table-border-color);
  border-radius: 12px;
  align-self: stretch;
  position: relative;
  overflow: hidden;
}

.wallet-payment-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 28px;
}

#wallet-payment-cards-add-button,
#wallet-payment-banks-add-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  gap: 8px;
  color: #414651;
  background: #FFFFFF !important;
  border: 1px solid #D5D7DA !important;
  border-radius: 8px;
  box-shadow: none !important;
  font-weight: 600;
}

#wallet-payment-cards-add-button:hover,
#wallet-payment-banks-add-button:hover {
  color: #414651;
  background: #FFFFFF !important;
  border-color: #D5D7DA !important;
  box-shadow: var(--card-shadow, 0 1px 2px rgba(10, 13, 18, 0.05)) !important;
  transform: none;
}

#wallet-payment-cards-add-button svg,
#wallet-payment-banks-add-button svg {
  width: 18px;
  height: 18px;
  color: #0000FF;
  flex-shrink: 0;
}

#wallet-payment-cards-add-button span {
  flex: 1;
  min-width: 0;
  text-align: left;
}

#wallet-payment-banks-add-button span {
  flex: 0 1 auto;
  min-width: 0;
}

.wallet-payment-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0px;
  gap: 8px;
  height: 40px;
}

.wallet-payment-icon {
  box-sizing: border-box;
  width: 40px;
  height: 40px;
  background: #a4a7ae;
  box-shadow:
    0px 1px 2px rgba(16, 24, 40, 0.05),
    inset 0px 0px 0px 1px rgba(10, 13, 18, 0.18),
    inset 0px -2px 0px rgba(10, 13, 18, 0.05);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wallet-payment-subtitle {
  font-family: var(--font-family, "TT Norms Pro", sans-serif);
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: var(--page-title-color);
}

.wallet-payment-items {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.wallet-payment-item {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  padding: 12px 0;
  gap: 12px;
  width: 100%;
  min-height: 40px;
  flex: none;
  order: 0;
  align-self: stretch;
  flex-grow: 0;
  border-bottom: 1px solid var(--table-border-color);
}

.wallet-payment-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.wallet-payment-item:first-child {
  padding-top: 0;
}

.wallet-payment-item-logo {
  box-sizing: border-box;
  width: 58px;
  height: 40px;
  background: #ffffff;
  border: 1px solid #f5f5f5;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  order: 0;
  flex-grow: 0;
}

.wallet-payment-item-spacer {
  flex: 1;
}

.wallet-payment-item-details {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  padding: 0px;
  gap: 8px;
  width: 162px;
  height: 24px;
  flex: none;
  order: 1;
  flex-grow: 0;
}

.wallet-payment-item-text {
  width: 130px;
  height: 20px;
  font-family: var(--font-family, "TT Norms Pro", sans-serif);
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: var(--text-secondary);
  text-align: right;
  flex: none;
  order: 0;
  flex-grow: 0;
}

.wallet-payment-item-menu {
  width: 24px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex: none;
  order: 1;
  flex-grow: 0;
}



/* ===========================
   Wallet-specific styles for BaseTable integration
   =========================== */

/* Ensure cells are properly aligned */
#wallet-transactions-wrapper .table__cell {
  display: flex;
  align-items: center;
}

/* Type column styling with icon and text */
#wallet-transactions-wrapper .table__cell--type {
  gap: 12px;
}

.wallet-transaction-type-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-icon {
  box-sizing: border-box;
  width: 40px;
  height: 40px;
  background: #f3f4f6;
  border: 1px solid var(--table-border-color);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.featured-icon svg {
  width: 20px;
  height: 20px;
}

.wallet-transaction-type-text {
  font-family: var(--font-family, "TT Norms Pro", sans-serif);
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: var(--page-title-color);
}

/* Status badge styling */
.wallet-transaction-status-badge {
  box-sizing: border-box;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  padding: 2px 6px;
  gap: 4px;
  height: 22px;
  background: #ffffff;
  border: 1px solid #d5d7da;
  box-shadow: 0px 1px 2px rgba(10, 13, 18, 0.05);
  border-radius: 6px;
}

.wallet-transaction-status-dot {
  width: 8px;
  height: 8px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wallet-transaction-status-dot::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.wallet-transaction-status-text {
  font-family: var(--font-family, "TT Norms Pro", sans-serif);
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
  color: #414651;
}

/* Status variants */
.status-completed .wallet-transaction-status-dot::after {
  background: #17b26a;
}

.status-in-process .wallet-transaction-status-dot::after {
  background: #f79009;
}

.status-declined .wallet-transaction-status-dot::after {
  background: #f04438;
}

/* Amount styling */
.amount-positive {
  color: #065f46;
  font-family: var(--font-family, "TT Norms Pro", sans-serif);
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
}

.amount-negative {
  color: var(--page-title-color);
  font-family: var(--font-family, "TT Norms Pro", sans-serif);
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
}

/* Action button styling */
.wallet-transaction-action-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  font-family: var(--font-family, "TT Norms Pro", sans-serif);
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: #717680;
  cursor: pointer;
}

.wallet-transaction-action-btn:hover {
  color: var(--text-secondary);
}

/* ── Wallet Modals ───────────────────────────────────────────── */
.wallet-bank-modal {
  max-width: 560px;
  border: 1px solid rgba(229, 231, 235, 0.95);
}

.wallet-bank-modal__header {
  align-items: center;
  padding: 24px 28px 20px;
  border-bottom: 1px solid #EAECF0;
}

.wallet-bank-modal__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.wallet-bank-modal__logo {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(180deg, #F4F7FF 0%, #FFFFFF 100%);
  border: 1px solid #DDE4FF;
  box-shadow: 0 8px 18px rgba(43, 50, 249, 0.08);
}

.wallet-bank-modal__logo img {
  width: 31px;
  height: 31px;
  display: block;
}

.wallet-bank-modal__eyebrow {
  margin: 0 0 2px;
  color: #667085;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.wallet-bank-modal__body {
  padding: 22px 28px 0;
}

.wallet-bank-modal__intro {
  margin-bottom: 18px;
}

.wallet-bank-modal__intro p {
  margin: 0;
  color: #667085;
  font-size: 14px;
  line-height: 1.55;
}

.wallet-bank-modal__trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.wallet-bank-modal__trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #EFFDF4;
  color: #067647;
  border: 1px solid #ABEFC6;
  font-size: 12px;
  font-weight: 700;
}

.wallet-bank-modal__trust-row svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
}

.wallet-bank-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wallet-bank-form__section {
  border: 1px solid #EAECF0;
  border-radius: 12px;
  background: #FFFFFF;
  padding: 16px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.wallet-bank-form__section .ds-form-group:last-child {
  margin-bottom: 0;
}

.wallet-bank-form__section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.wallet-bank-form__section-header h3 {
  margin: 0;
  color: #101828;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.wallet-bank-form__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 999px;
  background: #0000FF;
  color: #98FB96;
  font-size: 12px;
  font-weight: 800;
}

.wallet-bank-form__dynamic {
  display: contents;
}

.wallet-bank-form__actions {
  position: sticky;
  bottom: 0;
  margin: 0 -28px;
  padding: 16px 28px 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, #FFFFFF 32%);
  border-top: 1px solid #EAECF0;
}

#add-bank-modal .ds-form-group {
  margin-bottom: 14px;
}

#add-bank-modal .ds-form-label {
  color: #344054;
  font-weight: 700;
}

#add-bank-modal .ds-input,
#add-bank-modal .ds-select {
  min-height: 46px;
}

#add-bank-modal .ds-form-hint {
  margin-top: 6px;
  color: #667085;
}

@media (max-width: 640px) {
  .wallet-bank-modal {
    max-width: min(100%, 520px);
  }

  .wallet-bank-modal__header,
  .wallet-bank-modal__body {
    padding-left: 20px;
    padding-right: 20px;
  }

  .wallet-bank-form__actions {
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
  }
}

.bank-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(52, 64, 84, 0.6);
  backdrop-filter: blur(6px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.bank-modal-container {
  background: #ffffff;
  border-radius: 12px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow:
    0px 8px 8px -4px rgba(16, 24, 40, 0.03),
    0px 20px 24px -4px rgba(16, 24, 40, 0.08);
  overflow: hidden;
}

.bank-modal-header {
  padding: 24px 24px 8px 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.bank-modal-title {
  font-family: var(--font-family, "TT Norms Pro", sans-serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
  color: #101828;
  margin: 0;
}

.bank-modal-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #98a2b3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
  border-radius: 4px;
}

.bank-modal-close:hover {
  color: #475467;
  background-color: #f2f4f7;
}

.bank-modal-body {
  padding: 0 24px 24px 24px;
  overflow-y: auto;
}

.bank-modal-desc {
  font-family: var(--font-family, "TT Norms Pro", sans-serif);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #475467;
  margin: 0 0 24px 0;
}

.bank-modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-family: var(--font-family, "TT Norms Pro", sans-serif);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: var(--body-color);
  margin: 0;
}

.form-input {
  padding: var(--input-padding, 10px 14px);
  box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
  border: 1px solid var(--input-border-color, #D0D5DD);
  border-radius: var(--input-border-radius, 8px);
  font-family: var(--font-family, "TT Norms Pro", sans-serif);
  font-size: var(--input-font-size, 16px);
  color: var(--input-text-color, #101828);
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.form-input::placeholder {
  color: var(--input-placeholder-color, #667085);
}

.form-input:focus {
  border-color: var(--input-border-focus, #0000FF);
  box-shadow:
    0px 1px 2px rgba(16, 24, 40, 0.05),
    0px 0px 0px 4px rgba(0, 0, 255, 0.24);
}

.custom-select-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.form-select {
  width: 100%;
  appearance: none;
  padding: 10px 36px 10px 14px;
  box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  font-family: var(--font-family, "TT Norms Pro", sans-serif);
  font-size: 16px;
  color: #101828;
  background: #ffffff;
  outline: none;
  cursor: pointer;
}

.form-select:focus {
  border-color: var(--primary-color);
  box-shadow:
    0px 1px 2px rgba(16, 24, 40, 0.05),
    0px 0px 0px 4px rgba(0, 0, 255, 0.24);
}

.form-select.with-icon {
  padding-left: 42px;
}

.flag-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  pointer-events: none;
  border-radius: 20px;
  overflow: hidden;
  width: 20px;
  height: 20px;
}

.flag-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chevron-down {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  display: flex;
}

.form-select:has(option[disabled]:checked) {
  color: #667085;
}

.save-bank-btn {
  width: 100%;
  padding: 10px 18px;
  background: #f2f4f7;
  border: 1px solid var(--card-border-color);
  border-radius: 8px;
  font-family: var(--font-family, "TT Norms Pro", sans-serif);
  font-weight: 600;
  font-size: 16px;
  color: #d0d5dd;
  cursor: not-allowed;
  transition: all 0.2s;
  display: flex;
  justify-content: center;
  align-items: center;
}

.save-bank-btn:not([disabled]) {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
}

.save-bank-btn:not([disabled]):hover {
  background: #0000cc;
  border-color: #0000cc;
}

.btn-primary-full {
  width: 100%;
  background: #000;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-primary-full:hover {
  background: #1a1a1a;
}

.btn-primary-full:disabled {
  background: #d0d5dd;
  cursor: not-allowed;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #414651;
  margin-bottom: 6px;
}

.form-group {
  margin-bottom: 16px;
}

.wallet-payment-empty-state {
  padding: 18px 16px 12px;
  min-height: 72px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: #667085;
  font-size: 13px;
  line-height: 18px;
  text-align: center;
}

.wallet-payment-empty-state svg {
  width: 22px;
  height: 22px;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ─── Phase 4: State Layers ──────────────────────────────────── */

/* Hidden utility */
.hidden {
  display: none !important;
}

/* Skeleton shimmer */
@keyframes wallet-shimmer {
  0% {
    background-position: -800px 0;
  }

  100% {
    background-position: 800px 0;
  }
}

.skeleton-box {
  background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 37%, #f0f0f0 63%);
  background-size: 800px 100%;
  animation: wallet-shimmer 1.4s infinite linear;
  border-radius: 12px;
}

/* Loading layer */
.wallet-loading-layer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.wallet-loading-layer .sk-cards-row {
  display: flex;
  gap: 17px;
}

.wallet-loading-layer .sk-card {
  height: 112px;
  flex: 1;
}

.wallet-loading-layer .sk-table {
  height: 320px;
  width: 100%;
}

.wallet-loading-layer .sk-sidebar {
  width: 320px;
  height: 240px;
  flex-shrink: 0;
}

.wallet-loading-layer .sk-columns {
  display: flex;
  gap: 24px;
}

/* Error layer */
.wallet-error-layer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 80px 24px;
  text-align: center;
  background: #fff;
  border: 1px solid #fecdca;
  border-radius: 12px;
}

.wallet-error-layer .error-icon {
  width: 48px;
  height: 48px;
  color: #f04438;
}

/* Premium empty state — POOOL brand (#0000FF / mint #98FB96) */
.wallet-empty-layer.wallet-empty {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 20px;
  padding: 0;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 0;
}

/* Hero */
.wallet-empty__hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: 36px 40px;
  border-radius: 12px;
  background:
    radial-gradient(900px 280px at 100% 0%, rgba(152, 251, 150, 0.12), transparent 60%),
    radial-gradient(1100px 320px at 0% 100%, rgba(0, 0, 255, 0.05), transparent 55%),
    #FFFFFF;
  border: 1px solid #E5E7EB;
  box-shadow: var(--card-shadow, 0 1px 2px rgba(10, 13, 18, 0.05));
  overflow: hidden;
}

.wallet-empty__hero::after {
  content: "";
  position: absolute;
  right: 26px;
  bottom: 20px;
  width: min(340px, 28vw);
  height: 112px;
  background: url("/static/images/logos/poool-text-logo.svg") center / contain no-repeat;
  opacity: 0.032;
  pointer-events: none;
}

.wallet-empty__hero-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.wallet-empty__eyebrow {
  font-family: 'TT Norms Pro', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--btn-primary-bg, #0000FF);
}

.wallet-empty__title {
  font-family: 'TT Norms Pro', sans-serif;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--page-title-color, #181D27);
  margin: 0;
}

.wallet-empty__lede {
  font-family: 'TT Norms Pro', sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--page-subtitle-color, #475467);
  margin: 0;
  max-width: 52ch;
}

.wallet-empty__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.wallet-empty__cta-primary {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding-inline: 22px !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.wallet-empty__cta-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -8px rgba(0, 0, 255, 0.45);
}

.wallet-empty__cta-secondary {
  display: inline-flex !important;
  align-items: center;
  min-height: 44px;
  padding-inline: 20px !important;
  background: #FFFFFF !important;
  color: var(--page-title-color, #181D27) !important;
  border: 1px solid #E5E7EB !important;
  font-weight: 600 !important;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.wallet-empty__cta-secondary:hover {
  background: #F9FAFB !important;
  border-color: var(--btn-primary-bg, #0000FF) !important;
  color: var(--btn-primary-bg, #0000FF) !important;
}

.wallet-empty__hero-art {
  display: block;
  width: 100%;
  max-width: 360px;
  justify-self: end;
  position: relative;
  z-index: 1;
}
.wallet-empty__art-logo {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 82px;
  height: auto;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.75));
  opacity: 0.94;
}
.wallet-empty__hero-art svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Metrics */
.wallet-empty__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.wallet-empty__metric {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
  border-radius: 12px;
  background: var(--card-bg, #FFFFFF);
  border: 1px solid var(--card-border-color, #E5E7EB);
  box-shadow: var(--card-shadow, 0 1px 2px rgba(10, 13, 18, 0.05));
  overflow: hidden;
}
.wallet-empty__metric::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--btn-primary-bg, #0000FF), var(--brand-greeny-green, #03FF88));
}

.wallet-empty__metric-label {
  font-family: 'TT Norms Pro', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--label-color, #475467);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.wallet-empty__metric-value {
  font-family: 'TT Norms Pro', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #D0D5DD;
  line-height: 1;
  letter-spacing: -0.01em;
}

.wallet-empty__metric-hint {
  font-family: 'TT Norms Pro', sans-serif;
  font-size: 12px;
  color: #667085;
  margin-top: 2px;
}

/* Steps */
.wallet-empty__steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.wallet-empty__step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  border-radius: 12px;
  background: var(--card-bg, #FFFFFF);
  border: 1px solid var(--card-border-color, #E5E7EB);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.wallet-empty__step:hover {
  border-color: var(--btn-primary-bg, #0000FF);
  box-shadow: 0 6px 18px -10px rgba(0, 0, 255, 0.35);
  transform: translateY(-1px);
}

.wallet-empty__step-num {
  font-family: 'TT Norms Pro', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--btn-primary-bg, #0000FF);
  background: var(--badge-info-bg, #EEF4FF);
  border-radius: 8px;
  padding: 6px 10px;
  line-height: 1;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.wallet-empty__step-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.wallet-empty__step-title {
  font-family: 'TT Norms Pro', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--page-title-color, #181D27);
  margin: 0;
}

.wallet-empty__step-desc {
  font-family: 'TT Norms Pro', sans-serif;
  font-size: 13px;
  line-height: 1.45;
  color: var(--page-subtitle-color, #475467);
  margin: 0;
}

.wallet-empty__step-link {
  font-family: 'TT Norms Pro', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--btn-primary-bg, #0000FF);
  text-decoration: none;
  margin-top: 4px;
  align-self: flex-start;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.wallet-empty__step-link:hover {
  text-decoration: underline;
}

.wallet-empty__step[data-complete="true"] {
  background: #F0FDF4;
  border-color: #BBF7D0;
}
.wallet-empty__step[data-complete="true"] .wallet-empty__step-num {
  color: var(--badge-success-color, #027A48);
  background: var(--badge-success-bg, #ECFDF3);
}
.wallet-empty__step[data-complete="true"] .wallet-empty__step-link {
  color: var(--badge-success-color, #027A48);
}

/* Trust strip */
.wallet-empty__trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 18px 20px;
  border-radius: 12px;
  background: var(--badge-info-bg, #EEF4FF);
  border: 1px solid #D7E3FF;
}

.wallet-empty__trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--btn-primary-bg, #0000FF);
}
.wallet-empty__trust-item > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.wallet-empty__trust-item svg {
  flex-shrink: 0;
}

.wallet-empty__trust-label {
  font-family: 'TT Norms Pro', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--page-title-color, #181D27);
  line-height: 1.2;
}

.wallet-empty__trust-sub {
  font-family: 'TT Norms Pro', sans-serif;
  font-size: 12px;
  color: var(--page-subtitle-color, #475467);
  line-height: 1.3;
}

/* Responsive */
@media (max-width: 1024px) {
  .wallet-empty__hero {
    grid-template-columns: 1fr;
    padding: 28px 24px;
  }
  .wallet-empty__hero-art {
    max-width: 280px;
    justify-self: start;
    order: -1;
  }
  .wallet-empty__title {
    font-size: 26px;
  }
}

@media (max-width: 720px) {
  .wallet-empty__metrics,
  .wallet-empty__steps,
  .wallet-empty__trust {
    grid-template-columns: 1fr;
  }
  .wallet-empty__title {
    font-size: 22px;
  }
}

/* Shared state text */
.state-title {
  font-family: var(--font-family, "TT Norms Pro", sans-serif);
  font-weight: 600;
  font-size: 16px;
  color: var(--page-title-color);
  margin: 0;
}

.state-desc {
  font-family: var(--font-family, "TT Norms Pro", sans-serif);
  font-size: 14px;
  color: #667085;
  max-width: 320px;
  margin: 0;
}

/* Transaction detail expand panel */
.tx-detail-panel {
  padding: 12px 16px 14px;
  background: #f9fafb;
  border-top: 1px solid #eaecf0;
  border-bottom: 1px solid #eaecf0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tx-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.tx-detail-label {
  font-size: 12px;
  color: #667085;
  min-width: 120px;
  flex-shrink: 0;
}

.tx-detail-value {
  font-size: 12px;
  color: #101828;
}

.tx-id-mono {
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
  word-break: break-all;
}

/* ── Modal helpers ──────────────────────────────────────────────── */
.ds-modal__footer-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.ds-modal__footer-actions .ds-btn--secondary {
  flex: 0 0 auto;
}

.ds-modal__footer-actions .ds-btn--primary {
  flex: 1;
}

.ds-form-required-legend {
  font-size: 12px;
  color: #667085;
  margin: 4px 0 0;
}

.ds-modal__empty-state {
  padding: 8px 0;
}

.ds-modal__empty-text {
  font-size: 14px;
  color: #344054;
  line-height: 1.5;
  margin-bottom: 20px;
}

/* ── Deposit instructions info card ────────────────────────────── */
.dim-modal {
  max-width: 520px;
  border: 1px solid rgba(229, 231, 235, 0.95);
}

.dim-header {
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid #EAECF0;
}

.dim-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.dim-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 12px;
  background: #F4F7FF;
  border: 1px solid #DDE4FF;
}

.dim-logo-mark img {
  width: 30px;
  height: 30px;
  display: block;
}

.dim-kicker {
  margin: 0 0 2px;
  color: #667085;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.dim-bank-table {
  background: var(--card-bg, #FFFFFF);
  border: 1px solid var(--card-border-color, #E5E7EB);
  border-radius: 12px;
  padding: 6px 18px;
  margin-bottom: 16px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.dim-bank-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 12px 0;
  font-size: 14px;
  border-bottom: 1px solid #EAECF0;
}

.dim-bank-row:last-child {
  border-bottom: none;
}

.dim-bank-label {
  color: #667085;
}

.dim-bank-value {
  color: #101828;
  font-weight: 700;
  text-align: right;
}

.dim-bank-value--ref {
  color: var(--color-electric-blue, #1B4DFF);
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
  font-size: 12px;
}

.dim-warning {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #FFF8E6;
  border: 1px solid #F7D38A;
  border-left: 4px solid #D97706;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  color: #7C2D12;
  line-height: 1.45;
}

.dim-warning__icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  margin-top: 1px;
}

.dim-warning__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.dim-subtitle {
  margin: 0 0 18px;
  font-size: 15px;
}

.dim-footer {
  padding-top: 18px;
  border-top: 1px solid #EAECF0;
}

.dim-copy-btn {
  display: inline-flex;
  align-items: center;
  padding: 1px 8px;
  font-size: 11px;
  font-weight: 600;
  color: #344054;
  background: #F2F4F7;
  border: 1px solid #D0D5DD;
  border-radius: 4px;
  cursor: pointer;
  margin-left: 6px;
  vertical-align: middle;
  transition: background 0.15s;
}

.dim-copy-btn:hover {
  background: #E4E7EC;
}

.dim-ref-text {
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
  font-size: 12px;
  color: #344054;
  word-break: break-all;
}
