/* ═══════════════════════════════════════════════════════════════════
   FE Webtrader — "Midnight Gold" skin (v2 interface, FE 1.61.156)
   Loaded LAST; with the repainted per-page styles the trader now has a
   deep-navy + gold identity, replacing the old indigo theme entirely.
   ═══════════════════════════════════════════════════════════════════ */
:root {
  --wt-accent: #c9a227;
  --wt-accent-dark: #a9861d;
  --wt-bg: #0e1116;
  --wt-panel: #151a22;
  --wt-line: #232a36;
}
body {
  font-family: "Trebuchet MS", "Segoe UI", Verdana, system-ui, sans-serif !important;
  letter-spacing: .1px;
}
/* dark surfaces get deeper navy; light theme gets warm parchment */
[data-bs-theme="dark"] body, [data-theme="dark"] body, body.dark {
  background: var(--wt-bg) !important;
}
[data-bs-theme="light"] body, body:not(.dark):not([data-theme="dark"]) {
  background: #f6f4ec;
}
/* chrome */
.navbar, .top-bar, header, .ct-topbar {
  background: linear-gradient(180deg, #0b0e13 0%, #12161e 100%) !important;
  border-bottom: 2px solid var(--wt-accent) !important;
}
.navbar a, .top-bar a, header a { color: #e8dfc0 !important; }
/* cards / panels */
.card, .panel, .bal-summary-card, .bal-stat-card, .ct-panel {
  border-radius: 14px !important;
  border: 1px solid var(--wt-line) !important;
  box-shadow: 0 2px 10px rgba(0,0,0,.25) !important;
}
.bal-stat-card, .bal-summary-card { border-top: 3px solid var(--wt-accent) !important; }
/* buttons */
.btn { border-radius: 999px !important; font-weight: 700 !important; letter-spacing: .3px; }
.btn-primary { background: var(--wt-accent) !important; border-color: var(--wt-accent) !important; color: #141002 !important; }
.btn-primary:hover { background: var(--wt-accent-dark) !important; border-color: var(--wt-accent-dark) !important; }
/* buy/sell keep their trading semantics but sharper */
.btn-success, .btn-buy { border-radius: 8px !important; }
.btn-danger, .btn-sell { border-radius: 8px !important; }
/* inputs */
.form-control, .form-select, input, select, textarea {
  border-radius: 9px !important;
}
.form-control:focus, .form-select:focus, input:focus, select:focus {
  border-color: var(--wt-accent) !important;
  box-shadow: 0 0 0 3px rgba(201,162,39,.22) !important;
}
/* tables */
table thead th, .table thead th {
  text-transform: uppercase; letter-spacing: .6px;
  border-bottom: 2px solid var(--wt-accent) !important;
}
/* tabs & links */
.nav-tabs .nav-link.active { border-bottom: 3px solid var(--wt-accent) !important; color: var(--wt-accent) !important; font-weight: 700; }
a { color: var(--wt-accent-dark); }
/* scrollbars */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #4a4433; border-radius: 6px; }
::-webkit-scrollbar-track { background: #191f28; }
