/* ONNTRADE GLOBAL PREMIUM CLIENT THEME */

:root {
  --onn-global-bg: #edf4ff;
  --onn-global-card: #dcecff;
  --onn-global-card-light: #edf5ff;
  --onn-global-border: #a9ccff;
  --onn-global-text: #142b4d;
  --onn-global-muted: #526987;
  --onn-global-blue: #0875ed;
  --onn-global-shadow: 0 5px 20px rgba(30,100,190,.11);
  --onn-global-shadow-hover: 0 12px 28px rgba(8,102,237,.18);
}

/* SHARED CLIENT PAGE BACKGROUND */
#root .app-shell,
#root .app-main,
#root .page,
#root .page-content {
  background: var(--onn-global-bg) !important;
  color: var(--onn-global-text) !important;
}

/* ALL CLIENT PAGE PANELS */
#root .app-shell .panel,
#root .app-shell .card,
#root .app-shell .section-card,
#root .app-shell .dashboard-card,
#root .app-shell .mw-panel,
#root .app-shell .mw-action-panel,
#root .app-shell .crypto-ex-panel,
#root .app-shell .crypto-ex-detail-panel,
#root .app-shell .crypto-ex-market-card,
#root .app-shell .crypto-ex-futures-card,
#root .app-shell .crypto-ex-account,
#root .app-shell .ot-access-card,
#root .app-shell .ot-calculator-card,
#root .app-shell .ot-crypto-card,
#root .app-shell .ot-exchange-card,
#root .app-shell .ot-forex-broker-card,
#root .app-shell .ot-mt5-platform-card,
#root .app-shell .ot-stat-panel,
#root .app-shell .crypto-ex-wallet-kpis {
  background: linear-gradient(140deg,#dcecff,#edf5ff) !important;
  color: var(--onn-global-text) !important;
  border: 1px solid var(--onn-global-border) !important;
  box-shadow: var(--onn-global-shadow) !important;
  border-radius: 16px !important;
  transition: transform .25s ease,
              box-shadow .25s ease,
              border-color .25s ease !important;
}

/* WALLET PANELS */
#root .app-shell .mw-panel-head,
#root .app-shell .mw-action-panel-head {
  color: var(--onn-global-text) !important;
  border-color: var(--onn-global-border) !important;
}

#root .app-shell .mw-panel-title,
#root .app-shell .mw-action-panel-title {
  color: #14233d !important;
  font-weight: 800 !important;
}

#root .app-shell .mw-panel-text,
#root .app-shell .mw-action-panel-text,
#root .app-shell .mw-deposit-info {
  color: var(--onn-global-muted) !important;
}

/* EXCHANGE AND MT5 ACCOUNT CARDS */
#root .app-shell .crypto-ex-accounts,
#root .app-shell .crypto-ex-accounts-grid,
#root .app-shell .crypto-ex-shell,
#root .app-shell .crypto-ex-futures-dashboard,
#root .app-shell .account-list,
#root .app-shell .account-main,
#root .app-shell .crypto-ex-history {
  color: var(--onn-global-text) !important;
}

#root .app-shell .account-row,
#root .app-shell .crypto-ex-accounts-title,
#root .app-shell .crypto-ex-status,
#root .app-shell .crypto-ex-closed-table {
  background: #e5f0ff !important;
  color: var(--onn-global-text) !important;
  border-color: var(--onn-global-border) !important;
}

/* FORMS AND INPUTS */
#root .app-shell input,
#root .app-shell select,
#root .app-shell textarea,
#root .app-shell .mw-form-field {
  background: #f8fbff !important;
  color: #14233d !important;
  border: 1px solid #b9d4f8 !important;
  border-radius: 10px !important;
}

#root .app-shell input::placeholder,
#root .app-shell textarea::placeholder {
  color: #8295ae !important;
}

#root .app-shell input:focus,
#root .app-shell select:focus,
#root .app-shell textarea:focus {
  border-color: #0875ed !important;
  box-shadow: 0 0 0 3px rgba(8,117,237,.12) !important;
  outline: none !important;
}

/* TABLES AND TRADE HISTORY */
#root .app-shell .table-wrapper,
#root .app-shell .table-responsive,
#root .app-shell .table-wrap,
#root .app-shell .responsive-table,
#root .app-shell .crypto-ex-table-wrap {
  background: #eaf3ff !important;
  border: 1px solid var(--onn-global-border) !important;
  border-radius: 14px !important;
  overflow-x: auto !important;
}

#root .app-shell table {
  color: var(--onn-global-text) !important;
  background: transparent !important;
}

#root .app-shell th {
  background: #cfe3ff !important;
  color: #142b4d !important;
  font-weight: 800 !important;
}

#root .app-shell td {
  background: #edf5ff !important;
  color: #263d5c !important;
  border-color: #d1e3fa !important;
}

/* PAGE HEADINGS AND TEXT */
#root .app-shell .panel-header,
#root .app-shell .mw-panel-title,
#root .app-shell .crypto-ex-accounts-title {
  color: #14233d !important;
  font-weight: 800 !important;
}

#root .app-shell .page h1,
#root .app-shell .page h2,
#root .app-shell .page h3,
#root .app-shell .page-content h1,
#root .app-shell .page-content h2,
#root .app-shell .page-content h3 {
  color: #14233d !important;
}

#root .app-shell .page p,
#root .app-shell .page-content p {
  color: var(--onn-global-muted);
}

/* BUTTONS */
#root .app-shell button:not(.nav-item):not(.mobile-nav-item) {
  transition: transform .2s ease, box-shadow .2s ease;
}

#root .app-shell .mw-action-button {
  background: linear-gradient(135deg,#d3e7ff,#edf5ff) !important;
  border: 1px solid #a9ccff !important;
  color: #0875ed !important;
}

/* PRESERVE STATUS COLOURS */
#root .app-shell .status-pill,
#root .app-shell .status-dot,
#root .app-shell .exchange-badge {
  opacity: 1 !important;
}

/* ICONS */
#root .app-shell .nav-icon,
#root .app-shell .profile-menu-icon {
  color: #0875ed;
}

/* PREMIUM HOVER */
@media (hover:hover) {
  #root .app-shell .panel:hover,
  #root .app-shell .card:hover,
  #root .app-shell .section-card:hover,
  #root .app-shell .mw-panel:hover,
  #root .app-shell .crypto-ex-panel:hover,
  #root .app-shell .crypto-ex-market-card:hover,
  #root .app-shell .ot-mt5-platform-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--onn-global-shadow-hover) !important;
    border-color: #77adf5 !important;
  }
}

/* RESPONSIVE MOBILE */
@media(max-width:768px) {
  #root .app-shell .page,
  #root .app-shell .page-content,
  #root .app-shell .panel,
  #root .app-shell .card {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  #root .app-shell .table-wrapper,
  #root .app-shell .table-responsive,
  #root .app-shell .table-wrap {
    max-width: 100% !important;
    overflow-x: auto !important;
  }
}

/* ACCESSIBILITY */
@media(prefers-reduced-motion:reduce) {
  #root .app-shell *,
  #root .app-shell *::before,
  #root .app-shell *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* END ONNTRADE GLOBAL PREMIUM CLIENT THEME */

/* ONNTRADE ALL CLIENT PAGES - WHITE SKY BLUE THEME */

/* PAGE BACKGROUNDS */
html body,
html body #root,
#root .app-shell,
#root .app-main,
#root .page-content,
#root .page,
#root .dashboard-page,
#root .placeholder-page {
  background: #ffffff !important;
  color: #172b49 !important;
}

/* PAGE CONTENT WRAPPERS */
#root .crypto-ex-shell,
#root .crypto-ex-futures-dashboard,
#root .crypto-ex-history {
  background: #ffffff !important;
  color: #172b49 !important;
}

/* ALL MAIN CARDS */
#root .mw-panel,
#root .mw-action-panel,
#root .mw-deposit-info,
#root .crypto-ex-panel,
#root .crypto-ex-detail-panel,
#root .crypto-ex-market-card,
#root .crypto-ex-futures-card,
#root .crypto-ex-account,
#root .ot-access-card,
#root .ot-calculator-card,
#root .ot-crypto-card,
#root .ot-exchange-card,
#root .ot-forex-broker-card,
#root .ot-mt5-platform-card,
#root .ot-price-card,
#root .ot-stat-panel,
#root .section-card,
#root .dashboard-card,
#root .stat-card,
#root .panel,
#root .card,
#root .account-row,
#root .ONNTRADE-referral-card,
#root .ONNTRADE-signup-card,
#root .ONNTRADE-signup-form-panel,
#root .login-card,
#root .zfx-auth-card {
  background: linear-gradient(145deg,#e0efff,#f0f7ff) !important;
  color: #142b4d !important;
  border: 1px solid #b9d7ff !important;
  border-radius: 16px !important;
  box-shadow: 0 5px 18px rgba(30,100,190,.09) !important;
  transition: box-shadow .25s ease, transform .25s ease !important;
}

/* CARD HOVER */
@media (hover:hover) {
  #root .mw-panel:hover,
  #root .crypto-ex-panel:hover,
  #root .ot-mt5-platform-card:hover,
  #root .ot-forex-broker-card:hover,
  #root .stat-card:hover,
  #root .section-card:hover {
    box-shadow: 0 12px 28px rgba(8,102,237,.16) !important;
    transform: translateY(-2px);
  }
}

/* ALL PAGE TEXT */
#root .app-main h1,
#root .app-main h2,
#root .app-main h3,
#root .app-main h4,
#root .app-main p,
#root .app-main label,
#root .app-main small,
#root .app-main th,
#root .app-main td,
#root .app-main strong {
  color: #172b49 !important;
}

/* SECONDARY TEXT */
#root .app-main .muted,
#root .app-main .description,
#root .app-main .subtitle,
#root .app-main .mw-panel-text {
  color: #526987 !important;
}

/* INPUTS AND SELECTS */
#root .app-main input,
#root .app-main select,
#root .app-main textarea {
  background: #ffffff !important;
  color: #172b49 !important;
  border: 1px solid #b9d7ff !important;
  border-radius: 10px !important;
}

#root .app-main input::placeholder,
#root .app-main textarea::placeholder {
  color: #8296b2 !important;
}

/* TABLES */
#root .app-main table {
  background: #ffffff !important;
  color: #172b49 !important;
}

#root .app-main th {
  background: #cfe4ff !important;
  color: #142b4d !important;
}

#root .app-main td {
  background: #f5f9ff !important;
  border-color: #d5e5fa !important;
}

/* ICON COLORS */
#root .app-main svg {
  color: #0875ed;
}

#root .mw-action-panel svg,
#root .crypto-ex-panel svg,
#root .ot-mt5-platform-card svg {
  color: #0875ed !important;
}

/* BUTTONS */
#root .app-main button:not(.nav-item) {
  transition: all .2s ease;
}

#root .app-main button.primary,
#root .app-main .mw-action-button,
#root .app-main .login-button {
  background: linear-gradient(120deg,#0875ed,#3997ff) !important;
  color: #ffffff !important;
  border-color: #0875ed !important;
}

/* PRESERVE SIDEBAR AND HEADER */
#root .sidebar {
  background: #ffffff !important;
}

#root .topbar {
  background: #ffffff !important;
}

/* MOBILE */
@media(max-width:768px) {
  #root .app-main {
    background: #ffffff !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
  }

  #root .mw-panel,
  #root .crypto-ex-panel,
  #root .ot-mt5-platform-card,
  #root .section-card {
    border-radius: 14px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* ACCESSIBILITY */
@media(prefers-reduced-motion:reduce) {
  #root .app-main * {
    animation: none !important;
    transition: none !important;
  }
}

/* END ONNTRADE GLOBAL CLIENT THEME */

/* ONNTRADE MY WALLET - PREMIUM SKY BLUE UI */

/* Wallet page background */
#root .app-main:has(.mw-panel) {
  background: #ffffff !important;
  color: #142b4d !important;
}

/* Wallet content wrappers */
#root .app-main:has(.mw-panel) > div {
  background-color: #ffffff !important;
  color: #142b4d !important;
}

/* Wallet main panels */
#root .app-main:has(.mw-panel) .mw-panel,
#root .app-main:has(.mw-panel) .mw-action-panel,
#root .app-main:has(.mw-panel) .mw-deposit-info {
  background: linear-gradient(145deg,#dceeff,#eff7ff) !important;
  border: 1px solid #b9d7ff !important;
  border-radius: 17px !important;
  color: #142b4d !important;
  box-shadow: 0 6px 22px rgba(8,102,237,.09) !important;
}

/* Wallet headings and descriptions */
#root .app-main:has(.mw-panel) .mw-panel-title,
#root .app-main:has(.mw-panel) .mw-action-panel-title,
#root .app-main:has(.mw-panel) .mw-panel-head,
#root .app-main:has(.mw-panel) .mw-panel-text,
#root .app-main:has(.mw-panel) .mw-action-panel-text,
#root .app-main:has(.mw-panel) h1,
#root .app-main:has(.mw-panel) h2,
#root .app-main:has(.mw-panel) h3,
#root .app-main:has(.mw-panel) p {
  color: #142b4d !important;
  opacity: 1 !important;
}

/* Wallet balance cards */
#root .app-main:has(.mw-panel) .mw-panel strong,
#root .app-main:has(.mw-panel) .mw-panel b {
  color: #142b4d !important;
}

/* Transaction table */
#root .app-main:has(.mw-panel) .mw-panel table {
  background: #ffffff !important;
  color: #142b4d !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  width: 100% !important;
}

#root .app-main:has(.mw-panel) .mw-panel thead th {
  background: #cfe4ff !important;
  color: #142b4d !important;
  border-bottom: 1px solid #a9ccff !important;
}

#root .app-main:has(.mw-panel) .mw-panel tbody tr,
#root .app-main:has(.mw-panel) .mw-panel tbody td {
  background: #f0f7ff !important;
  color: #263d5c !important;
  border-bottom: 1px solid #d5e5fa !important;
}

/* Transaction text visibility */
#root .app-main:has(.mw-panel) .mw-panel td span,
#root .app-main:has(.mw-panel) .mw-panel td div,
#root .app-main:has(.mw-panel) .mw-panel td small {
  color: #263d5c !important;
  opacity: 1 !important;
}

/* Credit and debit colors */
#root .app-main:has(.mw-panel) .mw-panel .credit,
#root .app-main:has(.mw-panel) .mw-panel .text-success {
  color: #07976d !important;
}

#root .app-main:has(.mw-panel) .mw-panel .debit,
#root .app-main:has(.mw-panel) .mw-panel .text-danger {
  color: #df5252 !important;
}

/* Wallet icons */
#root .app-main:has(.mw-panel) .mw-panel svg,
#root .app-main:has(.mw-panel) .mw-action-panel svg {
  color: #0875ed !important;
}

/* Wallet form fields */
#root .app-main:has(.mw-panel) .mw-form-field input,
#root .app-main:has(.mw-panel) .mw-form-field select,
#root .app-main:has(.mw-panel) .mw-form-field textarea,
#root .app-main:has(.mw-panel) input,
#root .app-main:has(.mw-panel) select,
#root .app-main:has(.mw-panel) textarea {
  background: #ffffff !important;
  color: #142b4d !important;
  border: 1px solid #b9d7ff !important;
  border-radius: 10px !important;
}

/* Wallet buttons */
#root .app-main:has(.mw-panel) .mw-action-button,
#root .app-main:has(.mw-panel) button.primary {
  background: linear-gradient(120deg,#0875ed,#3997ff) !important;
  color: #ffffff !important;
  border: 1px solid #0875ed !important;
  border-radius: 11px !important;
}

/* Responsive wallet */
@media(max-width:768px) {
  #root .app-main:has(.mw-panel) {
    width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
  }

  #root .app-main:has(.mw-panel) .mw-panel {
    border-radius: 14px !important;
    max-width: 100% !important;
  }

  #root .app-main:has(.mw-panel) .mw-panel table {
    min-width: 700px !important;
  }
}

/* END MY WALLET PREMIUM UI */

/* ONNTRADE MY WALLET - FINAL WHITE SKY BLUE PREMIUM UI */

/* Main wallet background */
#root .my-wallet-page {
  background: #ffffff !important;
  color: #142b4d !important;
}

/* Wallet headings */
#root .my-wallet-page h1,
#root .my-wallet-page h2,
#root .my-wallet-page h3,
#root .my-wallet-page .mw-section-title,
#root .my-wallet-page .mw-wallet-breakdown strong {
  color: #142b4d !important;
}

/* Wallet cards and sections */
#root .my-wallet-page .mw-section,
#root .my-wallet-page .mw-stat-card,
#root .my-wallet-page .mw-wallet-breakdown,
#root .my-wallet-page .mw-wallet-grid > *,
#root .my-wallet-page .mw-panel,
#root .my-wallet-page .mw-action-panel {
  background: linear-gradient(145deg,#e0efff,#f0f7ff) !important;
  color: #142b4d !important;
  border: 1px solid #b9d6ff !important;
  border-radius: 18px !important;
  box-shadow: 0 7px 22px rgba(37,99,180,.09) !important;
}

/* Section headers */
#root .my-wallet-page .mw-section-header,
#root .my-wallet-page .mw-panel-head {
  background: #d7eaff !important;
  border-bottom: 1px solid #b9d6ff !important;
}

#root .my-wallet-page .mw-section-title,
#root .my-wallet-page .mw-panel-title {
  color: #142b4d !important;
}

#root .my-wallet-page .mw-panel-text,
#root .my-wallet-page .mw-action-panel-text {
  color: #526987 !important;
}

/* Action buttons */
#root .my-wallet-page .mw-action-button {
  background: linear-gradient(120deg,#d5eaff,#eaf4ff) !important;
  color: #075ecb !important;
  border: 1px solid #a9ccff !important;
  border-radius: 14px !important;
  box-shadow: 0 5px 15px rgba(8,102,237,.09) !important;
  transition: transform .25s ease, box-shadow .25s ease !important;
}

#root .my-wallet-page .mw-action-button:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 22px rgba(8,102,237,.16) !important;
}

#root .my-wallet-page .mw-action-icon {
  background: #c5e2ff !important;
  color: #0875ed !important;
}

#root .my-wallet-page .mw-action-title {
  color: #075ecb !important;
}

#root .my-wallet-page .mw-action-text {
  color: #526987 !important;
}

/* Transaction table */
#root .my-wallet-page .mw-section table {
  background: #edf5ff !important;
  color: #142b4d !important;
  border-collapse: collapse !important;
}

#root .my-wallet-page .mw-section th {
  background: #cfe4ff !important;
  color: #12345c !important;
  border-bottom: 1px solid #a9ccff !important;
}

#root .my-wallet-page .mw-section td {
  background: #edf5ff !important;
  color: #142b4d !important;
  border-bottom: 1px solid #d2e4fa !important;
}

#root .my-wallet-page .mw-section tr:hover td {
  background: #deedff !important;
}

/* Forms */
#root .my-wallet-page .mw-form-field input,
#root .my-wallet-page .mw-form-field select,
#root .my-wallet-page .mw-field input,
#root .my-wallet-page .mw-field select {
  background: #ffffff !important;
  color: #142b4d !important;
  border: 1px solid #a9ccff !important;
  border-radius: 10px !important;
}

#root .my-wallet-page .mw-primary {
  background: linear-gradient(110deg,#0875ed,#3998ff) !important;
  color: #ffffff !important;
  border: none !important;
}

/* Loading and messages */
#root .my-wallet-page .mw-loading-text {
  color: #142b4d !important;
}

/* Mobile */
@media(max-width:700px) {
  #root .my-wallet-page {
    background: #ffffff !important;
  }

  #root .my-wallet-page .mw-section,
  #root .my-wallet-page .mw-stat-card {
    border-radius: 14px !important;
  }
}

/* END MY WALLET FINAL PREMIUM UI */

/* ONNTRADE WALLET - TEXT READABILITY FINAL FIX */

/* Wallet card headings */
#root .my-wallet-page .mw-wallet-card-label,
#root .my-wallet-page .mw-section-title,
#root .my-wallet-page .mw-stat-label,
#root .my-wallet-page .mw-action-panel-title {
  color: #142b4d !important;
  opacity: 1 !important;
}

/* Balance values */
#root .my-wallet-page .mw-wallet-balance,
#root .my-wallet-page .mw-stat-value,
#root .my-wallet-page .mw-wallet-breakdown strong {
  color: #102b50 !important;
  opacity: 1 !important;
}

/* Small labels */
#root .my-wallet-page .mw-wallet-balance-label,
#root .my-wallet-page .mw-wallet-breakdown span {
  color: #526987 !important;
  opacity: 1 !important;
}

/* Transaction descriptions */
#root .my-wallet-page .mw-section td:nth-child(2),
#root .my-wallet-page .mw-section td:nth-child(2) * {
  color: #263d5c !important;
  opacity: 1 !important;
}

/* Transaction table text */
#root .my-wallet-page .mw-section th {
  color: #142b4d !important;
}

/* Preserve credit and debit colors */
#root .my-wallet-page .mw-section .credit,
#root .my-wallet-page .mw-section .debit {
  opacity: 1 !important;
}

/* END WALLET TEXT READABILITY FIX */

/* ONNTRADE WALLET - COMPLETE TEXT VISIBILITY FIX */

/* Main wallet page */
#root .my-wallet-page {
  background: #ffffff !important;
  color: #142b4d !important;
}

/* Main wallet cards */
#root .my-wallet-page .mw-wallet-card {
  background: linear-gradient(145deg,#dcecff,#edf5ff) !important;
  border: 1px solid #a9ccff !important;
  color: #142b4d !important;
  box-shadow: 0 5px 18px rgba(30,100,190,.09) !important;
}

/* All wallet headings and balance text */
#root .my-wallet-page .mw-wallet-card-label,
#root .my-wallet-page .mw-wallet-balance-label,
#root .my-wallet-page .mw-wallet-balance,
#root .my-wallet-page .mw-section-title,
#root .my-wallet-page .mw-stat-label,
#root .my-wallet-page .mw-stat-value,
#root .my-wallet-page .mw-wallet-breakdown strong,
#root .my-wallet-page .mw-action-panel-title,
#root .my-wallet-page .mw-panel-title {
  color: #142b4d !important;
  opacity: 1 !important;
}

/* Description and secondary text */
#root .my-wallet-page .mw-wallet-card p,
#root .my-wallet-page .mw-wallet-card span,
#root .my-wallet-page .mw-wallet-breakdown span,
#root .my-wallet-page .mw-section td,
#root .my-wallet-page .mw-section td small,
#root .my-wallet-page .mw-section th {
  opacity: 1 !important;
}

/* REMOVE INNER DOUBLE CARDS - AVAILABLE / LOCKED */
#root .my-wallet-page .mw-wallet-breakdown {
  background: transparent !important;
  border: 0 !important;
  border-top: 1px solid #bfd8fa !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 14px 0 0 !important;
  margin-top: 14px !important;
}

/* Remove backgrounds from inner breakdown elements */
#root .my-wallet-page .mw-wallet-breakdown > div {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

/* Transaction section - single clean card */
#root .my-wallet-page .mw-section {
  background: #e4f0ff !important;
  border: 1px solid #a9ccff !important;
  border-radius: 16px !important;
  box-shadow: 0 5px 18px rgba(30,100,190,.08) !important;
  color: #142b4d !important;
}

/* Transaction header */
#root .my-wallet-page .mw-section-header {
  background: #d5e8ff !important;
  border-bottom: 1px solid #a9ccff !important;
}

/* Transaction table */
#root .my-wallet-page .mw-section table {
  background: #edf5ff !important;
  color: #142b4d !important;
}

#root .my-wallet-page .mw-section th {
  background: #d0e4ff !important;
  color: #142b4d !important;
}

#root .my-wallet-page .mw-section td {
  background: #edf5ff !important;
  color: #142b4d !important;
  border-color: #c9ddf7 !important;
}

/* Preserve credit and debit colors */
#root .my-wallet-page .mw-section .credit {
  color: #059669 !important;
}

#root .my-wallet-page .mw-section .debit {
  color: #ef4444 !important;
}

/* Wallet buttons */
#root .my-wallet-page .mw-primary {
  color: #ffffff !important;
  background: linear-gradient(110deg,#0875ed,#3998ff) !important;
  border: 0 !important;
}

/* END WALLET VISIBILITY FIX */

/* ONNTRADE TRANSACTIONS - COMPLETE READABILITY FIX */

/* Transaction section */
#root .my-wallet-page .mw-section {
  background: #e4f0ff !important;
  color: #142b4d !important;
}

/* Table headings */
#root .my-wallet-page .mw-table th {
  background: #cfe3ff !important;
  color: #142b4d !important;
  font-weight: 800 !important;
  opacity: 1 !important;
}

/* All table cells */
#root .my-wallet-page .mw-table td {
  background: #edf5ff !important;
  color: #142b4d !important;
  border-color: #c5dcfa !important;
  opacity: 1 !important;
}

/* Date */
#root .my-wallet-page .mw-table td:nth-child(1) {
  color: #263e60 !important;
  font-weight: 600 !important;
}

/* Transaction description - override inline color */
#root .my-wallet-page .mw-table td:nth-child(2) > div:first-child {
  color: #142b4d !important;
  opacity: 1 !important;
  font-weight: 700 !important;
}

/* Transaction reference / ID */
#root .my-wallet-page .mw-table td:nth-child(2) > div:nth-child(2) {
  color: #526987 !important;
  opacity: 1 !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  overflow-wrap: anywhere !important;
}

/* MAIN / GAS wallet labels */
#root .my-wallet-page .mw-table td:nth-child(3) span {
  color: #0875ed !important;
  font-weight: 800 !important;
}

/* Direction */
#root .my-wallet-page .mw-table .mw-direction.credit {
  color: #059669 !important;
  opacity: 1 !important;
}

#root .my-wallet-page .mw-table .mw-direction.debit {
  color: #dc4444 !important;
  opacity: 1 !important;
}

/* Transaction amount */
#root .my-wallet-page .mw-table .mw-amount.credit {
  color: #059669 !important;
  font-weight: 800 !important;
}

#root .my-wallet-page .mw-table .mw-amount.debit {
  color: #dc4444 !important;
  font-weight: 800 !important;
}

/* Balance after */
#root .my-wallet-page .mw-table td:nth-child(6) {
  color: #142b4d !important;
  font-weight: 600 !important;
}

/* Transaction status */
#root .my-wallet-page .mw-table .mw-status {
  background: #d8f5e8 !important;
  color: #087b50 !important;
  opacity: 1 !important;
  font-weight: 800 !important;
}

/* Transaction filters */
#root .my-wallet-page .mw-filter {
  background: #ffffff !important;
  color: #263e60 !important;
  border: 1px solid #b5d2f5 !important;
}

#root .my-wallet-page .mw-filter.active {
  background: #0875ed !important;
  color: #ffffff !important;
  border-color: #0875ed !important;
}

/* Empty transaction message */
#root .my-wallet-page .mw-empty-title,
#root .my-wallet-page .mw-empty-text {
  color: #263e60 !important;
  opacity: 1 !important;
}

/* Footer note */
#root .my-wallet-page .mw-footer-note {
  color: #526987 !important;
  opacity: 1 !important;
}

/* END TRANSACTION READABILITY FIX */

/* =====================================================
   ONNTRADE COMPLETE WALLET WHITE + SKY BLUE UI
   Add Funds | Transfer | Balance | Transactions
   ===================================================== */

#root .my-wallet-page {
  background: #ffffff !important;
  color: #142b4d !important;
}

/* ACTION PANELS */
#root .my-wallet-page .mw-action-panel {
  background: linear-gradient(145deg,#f0f7ff,#e4f0ff) !important;
  border: 1px solid #a9ccff !important;
  border-radius: 16px !important;
  color: #142b4d !important;
  box-shadow: 0 5px 18px rgba(30,100,190,.08) !important;
}

#root .my-wallet-page .mw-action-panel-title,
#root .my-wallet-page .mw-action-panel-text {
  color: #142b4d !important;
  opacity: 1 !important;
}

/* ADD FUNDS - REMOVE DARK GREEN PANEL */
#root .my-wallet-page .mw-auto-deposit-premium {
  background: linear-gradient(145deg,#ffffff,#eaf4ff) !important;
  background-image: none !important;
  border: 1px solid #a9ccff !important;
  border-radius: 16px !important;
  color: #142b4d !important;
  box-shadow: 0 5px 18px rgba(30,100,190,.08) !important;
}

/* ADD FUNDS ALL TEXT */
#root .my-wallet-page .mw-auto-deposit-premium h3,
#root .my-wallet-page .mw-auto-deposit-premium h4,
#root .my-wallet-page .mw-auto-deposit-premium p,
#root .my-wallet-page .mw-auto-deposit-premium label,
#root .my-wallet-page .mw-auto-deposit-premium span,
#root .my-wallet-page .mw-auto-deposit-premium strong,
#root .my-wallet-page .mw-auto-deposit-premium div {
  color: #183858 !important;
  opacity: 1 !important;
}

/* AMOUNT AND DEPOSIT STEPS */
#root .my-wallet-page .mw-auto-deposit-amount,
#root .my-wallet-page .mw-auto-deposit-step-label {
  background: #eaf3ff !important;
  border: 1px solid #c0d9fb !important;
  border-radius: 12px !important;
  color: #142b4d !important;
}

/* QR CODE AND ADDRESS */
#root .my-wallet-page .mw-auto-deposit-premium svg {
  background: #ffffff !important;
  border-radius: 10px !important;
  padding: 8px !important;
}

#root .my-wallet-page .mw-auto-deposit-premium svg rect {
  fill: #ffffff !important;
}

#root .my-wallet-page .mw-auto-deposit-premium svg path {
  fill: #000000 !important;
}

#root .my-wallet-page .mw-auto-deposit-premium div[style*="overflow-wrap"] {
  background: #ffffff !important;
  border: 1px solid #bdd7fa !important;
  border-radius: 10px !important;
  color: #102b50 !important;
  overflow-wrap: anywhere !important;
}

/* DEPOSIT INPUTS */
#root .my-wallet-page .mw-auto-deposit-premium input,
#root .my-wallet-page .mw-auto-deposit-premium textarea {
  background: #ffffff !important;
  color: #142b4d !important;
  border: 1px solid #a9ccff !important;
  border-radius: 10px !important;
  min-height: 44px !important;
  box-shadow: none !important;
}

#root .my-wallet-page .mw-auto-deposit-premium input::placeholder,
#root .my-wallet-page .mw-auto-deposit-premium textarea::placeholder {
  color: #7188a5 !important;
  opacity: 1 !important;
}

/* COPY AND SUBMIT BUTTONS */
#root .my-wallet-page .mw-auto-deposit-premium button,
#root .my-wallet-page .mw-primary-action {
  background: linear-gradient(110deg,#0875ed,#3998ff) !important;
  color: #ffffff !important;
  border: 1px solid #0875ed !important;
  border-radius: 10px !important;
  font-weight: 800 !important;
  opacity: 1 !important;
}

#root .my-wallet-page .mw-auto-deposit-premium button:hover,
#root .my-wallet-page .mw-primary-action:hover:not(:disabled) {
  background: #075fc5 !important;
  color: #ffffff !important;
}

#root .my-wallet-page .mw-auto-deposit-premium button:disabled,
#root .my-wallet-page .mw-primary-action:disabled {
  opacity: .55 !important;
}

/* TRANSFER FORM */
#root .my-wallet-page .mw-form-field {
  color: #183858 !important;
  font-weight: 700 !important;
  opacity: 1 !important;
}

#root .my-wallet-page .mw-form-field input,
#root .my-wallet-page .mw-form-field select,
#root .my-wallet-page .mw-form-field textarea {
  background: #ffffff !important;
  color: #142b4d !important;
  border: 1px solid #a9ccff !important;
  border-radius: 10px !important;
  min-height: 44px !important;
  opacity: 1 !important;
}

#root .my-wallet-page .mw-form-field input::placeholder {
  color: #7188a5 !important;
  opacity: 1 !important;
}

#root .my-wallet-page .mw-form-field input:focus,
#root .my-wallet-page .mw-form-field select:focus {
  border-color: #0875ed !important;
  outline: 2px solid rgba(8,117,237,.12) !important;
}

/* TRANSFER INFORMATION */
#root .my-wallet-page .mw-deposit-info {
  background: #edf5ff !important;
  border: 1px solid #bdd7fa !important;
  border-radius: 12px !important;
  color: #263e60 !important;
}

#root .my-wallet-page .mw-deposit-info *,
#root .my-wallet-page .mw-deposit-info strong {
  color: #263e60 !important;
  opacity: 1 !important;
}

/* CLOSE BUTTON */
#root .my-wallet-page .mw-action-close {
  background: #142b4d !important;
  color: #ffffff !important;
}

/* WALLET CARDS - SINGLE CARD DESIGN */
#root .my-wallet-page .mw-wallet-card {
  background: linear-gradient(145deg,#eaf3ff,#f5f9ff) !important;
  border: 1px solid #a9ccff !important;
  color: #142b4d !important;
}

#root .my-wallet-page .mw-wallet-breakdown {
  background: transparent !important;
  border: 0 !important;
  border-top: 1px solid #bdd7fa !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 14px 0 0 !important;
}

#root .my-wallet-page .mw-wallet-breakdown > div {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

#root .my-wallet-page .mw-wallet-card-label,
#root .my-wallet-page .mw-wallet-balance,
#root .my-wallet-page .mw-wallet-balance-label,
#root .my-wallet-page .mw-wallet-breakdown strong,
#root .my-wallet-page .mw-wallet-breakdown span,
#root .my-wallet-page .mw-wallet-card-description {
  color: #183858 !important;
  opacity: 1 !important;
}

/* TRANSACTIONS - PRESERVE READABILITY */
#root .my-wallet-page .mw-section {
  background: #e4f0ff !important;
  border: 1px solid #a9ccff !important;
}

#root .my-wallet-page .mw-table th {
  background: #cfe3ff !important;
  color: #142b4d !important;
}

#root .my-wallet-page .mw-table td {
  background: #edf5ff !important;
  color: #142b4d !important;
  border-color: #c5dcfa !important;
}

#root .my-wallet-page .mw-table td:nth-child(2) > div:first-child {
  color: #142b4d !important;
}

#root .my-wallet-page .mw-table td:nth-child(2) > div:nth-child(2) {
  color: #526987 !important;
}

#root .my-wallet-page .mw-table .mw-direction.credit,
#root .my-wallet-page .mw-table .mw-amount.credit {
  color: #059669 !important;
}

#root .my-wallet-page .mw-table .mw-direction.debit,
#root .my-wallet-page .mw-table .mw-amount.debit {
  color: #dc4444 !important;
}

#root .my-wallet-page .mw-filter {
  background: #ffffff !important;
  color: #263e60 !important;
}

#root .my-wallet-page .mw-filter.active {
  background: #0875ed !important;
  color: #ffffff !important;
}

/* MOBILE AND TABLET */
@media (max-width: 800px) {
  #root .my-wallet-page {
    padding: 16px !important;
  }

  #root .my-wallet-page .mw-action-panel {
    padding: 16px !important;
  }

  #root .my-wallet-page .mw-auto-deposit-premium {
    padding: 16px !important;
  }

  #root .my-wallet-page .mw-form-grid {
    grid-template-columns: 1fr !important;
  }

  #root .my-wallet-page .mw-wallet-grid {
    grid-template-columns: 1fr !important;
  }

  #root .my-wallet-page .mw-table-wrap {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
}

/* END COMPLETE WALLET UI */
