/* Shared permanent Tradestone dark palette for account and administration screens. */
:root, body {
 --color-bg:#030508; --color-bg-secondary:#0e1217;
 --color-surface:#05090c; --color-surface-medium:#0e1217; --color-surface-strong:#0e1217;
 --color-glass:#05090c; --color-glass-strong:#0e1217;
 --color-stroke:rgba(148,163,184,.24); --color-stroke-strong:rgba(5,171,206,.36);
 --color-primary:#05abce; --color-primary-strong:#048fb0; --color-primary-soft:rgba(5,171,206,.12);
 --color-accent:#05abce; --color-text:#f8fafc; --color-text-secondary:#cbd5e1; --color-text-tertiary:#a3a8b3;
 --gradient-hero:radial-gradient(900px 420px at 76% -8%,rgba(5,171,206,.14),transparent 62%),linear-gradient(#05070a,#030508);
 --gradient-glass:linear-gradient(#05090c,#05090c); --gradient-glass-hover:linear-gradient(#0e1217,#0e1217);
 --gradient-cta:linear-gradient(135deg,#05abce,#048fb0);
 --glass-border:1px solid rgba(148,163,184,.24); --glass-shadow:0 14px 30px rgba(0,0,0,.28); --glass-shadow-strong:0 28px 80px rgba(0,0,0,.48);
 --bs-body-bg:#030508; --bs-body-color:#cbd5e1; --bs-emphasis-color:#f8fafc; --bs-secondary-color:#a3a8b3;
 --bs-primary:#05abce; --bs-primary-rgb:5,171,206; --bs-link-color:#05abce; --bs-link-hover-color:#048fb0;
 --bs-border-color:rgba(148,163,184,.24); --bs-tertiary-bg:#0e1217;
 color-scheme:only dark;
}
html,
body {
 scrollbar-width:none;
 -ms-overflow-style:none;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
 width:0;
 height:0;
 display:none;
}
html, html body { background:#030508 !important; color:#cbd5e1 !important; }
body::before { background:var(--gradient-hero) !important; }
body :is(h1,h2,h3,h4,h5,h6,label,legend,th,.page-title,.card-title,.modal-title,.auth-card__title) { color:#f8fafc !important; -webkit-text-fill-color:currentColor; text-shadow:none; }
body :is(p,dt,dd,.text-secondary,.text-gray-300,.help-block,.form-text) { color:#cbd5e1; }
body :is(.text-muted,small,.text-gray-400,.text-gray-500) { color:#a3a8b3 !important; }
body :is(a,.text-primary,.text-info) { color:#05abce; }
body a:hover { color:#048fb0; }
body :is(.main-content,.page-wrapper,.page-content,.main-panel,.content-wrapper,.dashboard-main,.gh-page,#page-wrapper,.sticky-header) { background:#030508 !important; color:#cbd5e1; }
body :is(.card,.panel,.well,.modal-content,.dropdown-menu,.popover,.auth-card,.glass-card,.metric-card,.metric-card-small,.stat-card,.stats-card,.summary-card,.balance-card,.account-card,.pricing-card,.payment-card,.transaction-card,.settings-card,.table-responsive,.widget,.widget-body,.widget-shadow,.agile-grids,.tables,.form-body,.form-grids,.inbox-page,.gh-card,.gh-panel,.ai-insights,.regime-indicator,.action-btn,.telemetry-card) {
 background:#05090c !important; background-image:none !important; border-color:rgba(148,163,184,.24) !important; color:#cbd5e1; box-shadow:0 14px 30px rgba(0,0,0,.28);
}
body :is(header,.header,.header-section,.dashboard-header,.navbar,.sidebar,.sidebar-menu,.sidebar-left,.sidebar-mobile,.left-side,.main-sidebar,.nav-menu-panel,.nav-modal-content,.topbar,.top-nav,.sidebar-nav) { background:#05090c !important; border-color:rgba(5,171,206,.28) !important; color:#f8fafc; }
body :is(.sidebar,.sidebar-menu,.sidebar-nav,.navbar,.nav-menu-panel,.dropdown-menu) a { color:#cbd5e1; }
body :is(.sidebar,.sidebar-menu,.sidebar-nav,.navbar,.nav-menu-panel,.dropdown-menu) a:hover,
body :is(.nav-link.active,.sidebar-menu .active > a,.sidebar-nav .active > a,.nav-menu-item:hover) { background:rgba(5,171,206,.12) !important; color:#05abce !important; }
body :is(.card-header,.card-footer,.panel-heading,.panel-footer,.modal-header,.modal-footer,.input-group-text,.breadcrumb,.list-group-item,.accordion-item,.accordion-button,.pagination a,.page-link) { background:#0e1217 !important; color:#cbd5e1 !important; border-color:rgba(148,163,184,.24) !important; }
body :is(.form-control,.form-select,.auth-input,textarea,select,input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="range"]):not([type="color"]):not([type="hidden"])) {
 background:#05090c !important; color:#f8fafc !important; border-color:rgba(148,163,184,.32) !important; box-shadow:none;
}
body :is(input,textarea)::placeholder { color:#a3a8b3 !important; opacity:1; }
body :is(input,textarea,select,.form-control):focus { border-color:#05abce !important; outline-color:#05abce; box-shadow:0 0 0 3px rgba(5,171,206,.14); }
body :is(input,select,textarea):disabled, body input[readonly] { background:#0e1217 !important; color:#a3a8b3 !important; }
body :is(input[type="checkbox"],input[type="radio"],input[type="range"]) { accent-color:#05abce; }
body :is(.btn-primary,.btn-info,.btn-success,.auth-submit,button[type="submit"],input[type="submit"]) { background:linear-gradient(135deg,#05abce,#048fb0) !important; color:#fff !important; border-color:#05abce !important; }
body :is(.btn-default,.btn-secondary,.btn-light,.btn-outline-primary,.btn-outline-light,.btn-outline-info,.btn-outline-success) { background:#0e1217 !important; color:#05abce !important; border-color:rgba(5,171,206,.5) !important; }
body :is(.btn-primary,.btn-info,.btn-success):hover { background:#048fb0 !important; }
body :is(.table,table) { --bs-table-bg:#05090c; --bs-table-color:#cbd5e1; --bs-table-striped-bg:#0e1217; --bs-table-striped-color:#cbd5e1; --bs-table-hover-bg:rgba(5,171,206,.1); --bs-table-hover-color:#f8fafc; background:#05090c !important; color:#cbd5e1 !important; }
body :is(th,td) { border-color:rgba(148,163,184,.24) !important; }
body :is(thead,thead th) { background:#0e1217 !important; color:#f8fafc !important; }
body :is(tbody tr,tbody td) { background:transparent; color:#cbd5e1; }
body .table-striped tbody tr:nth-of-type(odd) { background:#0e1217 !important; }
body tbody tr:hover { background:rgba(5,171,206,.08) !important; }
body :is(.bg-white,.bg-light,.bg-black,.bg-dark) { background-color:#05090c !important; }
body :is(.text-dark,.text-black) { color:#f8fafc !important; }
body :is(.bg-primary,.bg-info,.bg-success,.badge-primary,.badge-info,.badge-success,.progress-bar) { background:#05abce !important; color:#fff !important; }
body :is(.alert-info,.alert-success) { background:rgba(5,171,206,.12) !important; color:#05abce !important; border-color:rgba(5,171,206,.36) !important; }
body :is(.text-success,.positive,.profit) { color:#05abce !important; }
body :is(.alert-danger,.alert-error) { background:rgba(220,38,38,.14) !important; color:#f87171 !important; border-color:rgba(220,38,38,.4) !important; }
body :is(.btn-danger,.bg-danger,.badge-danger) { background:#dc2626 !important; color:#fff !important; border-color:#dc2626 !important; }
body :is(.text-danger,.negative,.loss) { color:#f87171 !important; }
body :is(.alert-warning,.bg-warning,.badge-warning) { background:rgba(245,158,11,.14) !important; color:#fbbf24 !important; border-color:rgba(245,158,11,.4) !important; }
body :is(footer,.footer,.copyright,.footer-meta) { background:#030508 !important; color:#a3a8b3 !important; border-color:rgba(148,163,184,.24) !important; }
body :is(.select2-dropdown,.select2-selection,.select2-results,.iti__country-list,.datepicker,.dataTables_wrapper) { background:#05090c !important; color:#cbd5e1 !important; border-color:rgba(148,163,184,.24) !important; }
body .orb { background:radial-gradient(circle,rgba(5,171,206,.14),transparent 65%) !important; }
body :focus-visible { outline-color:#05abce; }
/* Older admin forms and the AI Core use their own token names. */
:root, body { --glass-bg:#05090c; --accent:#05abce; --accent-strong:#048fb0; --text-primary:#f8fafc; --text-muted:#a3a8b3; --input-bg:#05090c; --input-border:rgba(148,163,184,.32); --input-focus:#05abce; --success:#05abce; }
body :is(.deposit-card,.withdraw-card,.wallet-item,.wallet-frame,.wallet-timer,.amount-display,.glass-table-wrapper,.glass-frame,.pricing .box,.pricing .btn-wrap,.hero-stat,.success-content,.promo-popup__card,.gh-history-row,.gh-history-detail,.gh-select,.gh-input,.gh-status-card,.gh-feature-card,.gh-summary-card,.gh-chart-container,.panel-body,.compose-left,.compose-right,.inbox-right,.inbox-left,.activity_box,.work-progres,.stats-info,.chrt-page-grids,.widget_1) { background:#05090c !important; background-image:none !important; color:#cbd5e1; border-color:rgba(148,163,184,.24) !important; }
body :is(.deposit-card h1,.withdraw-card h1,.form-title,.market-title,.pricing .box h3) { background:none !important; color:#f8fafc !important; -webkit-text-fill-color:currentColor !important; }
body :is(.submit-btn,.continue-btn,.deposit-btn,.transaction-submit-btn,.promo-popup__cta,.gh-primary-btn) { background:linear-gradient(135deg,#05abce,#048fb0) !important; color:#fff !important; border-color:#05abce !important; }
body :is(.back-button,.nav-button,.history-tab,.gh-secondary-btn,.gh-history-row__summary,.settings-input) { background:#0e1217 !important; color:#cbd5e1 !important; border-color:rgba(148,163,184,.24) !important; }
body :is(.history-tab.active,.status-badge--success,.status-badge--info,.success-icon,.robot-icon,.pricing .advanced) { background:rgba(5,171,206,.12) !important; color:#05abce !important; }
body :is(.toast,.toast-notification,.inline-toast,.promo-popup,.success-modal) { background:#0e1217 !important; color:#cbd5e1; border-color:rgba(5,171,206,.36) !important; }
body :is(.loading-overlay,.modal-backdrop) { background:rgba(3,5,8,.8) !important; }
body .wallet-qr { background:#fff !important; } /* Keep QR codes scannable. */
/* Page-specific surfaces used across the dashboard and admin modules. */
body :is(.no-data-card,.glass-panel,.account-shell,.widget1,.kycv2-upload-card,.broker-card,.section-card,.price-card,.transactions-card,.transaction-reject-card,.deposit-panel,.withdraw-panel,.history-card__panel,.market-panel,.chart-panel,.glass-surface,.promo-card,.kyc-admin-card,.kyc-reject-card,.user-management-card,.promo-expired-card,.search-result-card,.payments-card,.codes-card,.history-card,.info-card,.kycv2-shell,.kycv2-steps-card,.user-status-card,.add-card,.ai-analysis-panel,.ai-panel-body,.analysis-upgrade-modal__card,.purchases-card) { background:#05090c !important; background-image:none !important; border-color:rgba(148,163,184,.24) !important; color:#cbd5e1; }
body :is(.ai-panel-tab,.history-card__tabs,.price-card__header,.promo-card__header,.search-result-card__header,.history-card__header,.purchases-card__header) { background:#0e1217 !important; color:#f8fafc; border-color:rgba(148,163,184,.24) !important; }
body :is(.ai-panel-tab.active,.ai-panel-tab[aria-selected="true"]) { background:rgba(5,171,206,.12) !important; color:#05abce !important; }
