/* =====================================================
   BLOCKWISEFX – MODERN REDESIGN 2024
   Dark Luxury Fintech Theme
   Fonts: Syne (headings) + Outfit (body)
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ── CSS Variables ── */
:root {
  --bg-primary:       #050c18;
  --bg-secondary:     #0b1628;
  --bg-card:          #0e1e35;
  --bg-card-hover:    #132540;
  --border:           rgba(245,197,66,0.12);
  --border-subtle:    rgba(255,255,255,0.06);
  --accent-gold:      #f5c542;
  --accent-gold-glow: rgba(245,197,66,0.18);
  --accent-blue:      #3b7df5;
  --accent-blue-glow: rgba(59,125,245,0.18);
  --text-primary:     #e8edf5;
  --text-secondary:   #8fa3bd;
  --text-muted:       #4a6280;
  --success:          #10d98a;
  --danger:           #f43f5e;
  --warning:          #f5c542;
  --sidebar-w:        240px;
  --topbar-h:         64px;
  --radius:           12px;
  --radius-lg:        18px;
  --shadow:           0 4px 24px rgba(0,0,0,0.35);
  --shadow-gold:      0 0 28px rgba(245,197,66,0.15);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body, body#page-top {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 15px;
  line-height: 1.65;
  min-height: 100vh;
  background-image:
    radial-gradient(ellipse 80% 60% at 20% -10%, rgba(59,125,245,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 110%, rgba(245,197,66,0.05) 0%, transparent 60%);
  background-attachment: fixed;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: 'Syne', sans-serif;
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.3;
}

/* ── Sidebar ── */
#wrapper { display: flex; min-height: 100vh; }

.sidebar {
  width: var(--sidebar-w) !important;
  min-height: 100vh;
  background: var(--bg-secondary) !important;
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  z-index: 1000;
  overflow: hidden;
  transition: width 0.3s ease;
  box-shadow: 4px 0 20px rgba(0,0,0,0.3);
  list-style: none !important;
  padding: 0 !important;
}

/* Brand */
.sidebar-brand {
  display: flex;
  align-items: center;
  padding: 20px 16px !important;
  text-decoration: none;
  border-bottom: 1px solid var(--border-subtle);
  min-height: 72px;
}

.sidebar-brand-icon img { max-height: 36px; max-width: 160px; object-fit: contain; }

/* Sidebar divider */
.sidebar .sidebar-divider {
  border-color: var(--border-subtle) !important;
  margin: 6px 16px !important;
}

/* Nav items */
.sidebar .nav-item { list-style: none; }

.sidebar .nav-link {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 11px 20px !important;
  color: var(--text-secondary) !important;
  font-size: 14px;
  font-weight: 500;
  border-radius: 0;
  transition: all 0.2s ease;
  text-decoration: none;
  position: relative;
}

.sidebar .nav-link i { font-size: 15px; width: 18px; text-align: center; flex-shrink: 0; }
.sidebar .nav-link span { white-space: nowrap; overflow: hidden; }

.sidebar .nav-link:hover {
  color: var(--accent-gold) !important;
  background: var(--accent-gold-glow) !important;
  padding-left: 24px !important;
}

.sidebar .nav-item.active .nav-link,
.sidebar .nav-link.active {
  color: var(--accent-gold) !important;
  background: var(--accent-gold-glow) !important;
}

.sidebar .nav-item.active .nav-link::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent-gold);
  border-radius: 0 2px 2px 0;
}

/* Collapse menu */
.sidebar .collapse-inner {
  background: rgba(0,0,0,0.25) !important;
  border-radius: 8px !important;
  margin: 0 10px 6px;
  padding: 6px 0 !important;
}

.sidebar .collapse-header {
  color: var(--text-muted) !important;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px !important;
  font-family: 'Outfit', sans-serif;
}

.sidebar .collapse-item {
  color: var(--text-secondary) !important;
  padding: 7px 14px !important;
  font-size: 13px;
  border-radius: 6px;
  transition: all 0.2s;
  display: block;
  text-decoration: none;
}

.sidebar .collapse-item:hover,
.sidebar .collapse-item.active {
  color: var(--accent-gold) !important;
  background: var(--accent-gold-glow) !important;
}

/* Toggle button */
#sidebarToggle, #sidebarToggle:focus {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-subtle) !important;
  color: var(--text-secondary) !important;
  width: 32px; height: 32px;
  border-radius: 50%;
  outline: none;
}

/* ── Content Wrapper ── */
#content-wrapper {
  margin-left: var(--sidebar-w);
  width: calc(100% - var(--sidebar-w));
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: transparent;
}

#content {
  flex: 1;
  background: transparent !important;
}

/* Kill any Bootstrap white backgrounds leaking through */
#wrapper,
#content-wrapper,
#content,
.container-fluid {
  background: transparent !important;
}

/* Remove the gap the topbar mb-4 leaves as white */
.topbar.mb-4 { margin-bottom: 0 !important; }
.topbar + * { margin-top: 0 !important; }

/* ── Topbar ── */
.topbar,
nav.navbar.navbar-expand.navbar-light.bg-white.topbar {
  height: var(--topbar-h) !important;
  background: var(--bg-secondary) !important;
  border-bottom: 1px solid var(--border-subtle) !important;
  box-shadow: none !important;
  padding: 0 24px !important;
}

.topbar .nav-link { color: var(--text-secondary) !important; }
.topbar .nav-link:hover { color: var(--text-primary) !important; }

.topbar .img-profile {
  width: 36px; height: 36px;
  border: 2px solid var(--accent-gold);
  border-radius: 50%;
  object-fit: cover;
}

.topbar .dropdown-menu {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow) !important;
}

.topbar .dropdown-item {
  color: var(--text-secondary) !important;
  font-size: 14px;
  padding: 9px 16px !important;
  border-radius: 8px !important;
  transition: all 0.2s;
}

.topbar .dropdown-item:hover {
  background: var(--accent-gold-glow) !important;
  color: var(--accent-gold) !important;
}

.topbar .dropdown-divider { border-color: var(--border-subtle) !important; }

.text-gray-600, .text-gray-800 { color: var(--text-secondary) !important; }

/* ── Cards ── */
.card {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow) !important;
  color: var(--text-primary) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.card:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.4) !important; }

.card-body { padding: 20px !important; }

.card-header {
  background: rgba(255,255,255,0.03) !important;
  border-bottom: 1px solid var(--border-subtle) !important;
  color: var(--text-primary) !important;
  padding: 14px 20px !important;
  font-family: 'Syne', sans-serif;
  font-weight: 600;
}

/* Stat cards */
.card.border-left-success { border-left: 3px solid var(--success) !important; }
.card.border-left-danger  { border-left: 3px solid var(--danger) !important; }
.card.border-left-primary { border-left: 3px solid var(--accent-blue) !important; }
.card.border-left-warning { border-left: 3px solid var(--accent-gold) !important; }

.card .text-success { color: var(--success) !important; }
.card .text-danger  { color: var(--danger) !important; }
.card .text-primary { color: var(--accent-blue) !important; }
.card .text-warning { color: var(--accent-gold) !important; }

.card .text-xs { color: var(--text-secondary) !important; letter-spacing: 0.08em; font-size: 11px; }
.card .h5 { color: var(--text-primary) !important; font-size: 22px !important; font-family: 'Syne', sans-serif; }
.card .fa-2x { color: var(--text-muted) !important; }

/* Crypto asset cards */
bitcoin, cosmos, ethereum { display: block; }
.asset-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-radius: 10px 10px 0 0;
}

.asset-info .title { display: flex; align-items: center; gap: 10px; }
.asset-info .title h4 { font-size: 15px; font-family: 'Syne', sans-serif; margin: 0; color: var(--text-primary); }
.asset-info .asset-price { color: var(--accent-gold); font-size: 16px; font-weight: 700; font-family: 'Syne', sans-serif; margin: 0; }

/* ── Forms ── */
.form-control,
.custom-select,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
select, textarea {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: 8px !important;
  color: var(--text-primary) !important;
  padding: 10px 14px !important;
  font-size: 14px !important;
  font-family: 'Outfit', sans-serif !important;
  transition: all 0.2s !important;
  height: auto !important;
}

.form-control:focus,
.custom-select:focus,
input:focus, select:focus, textarea:focus {
  background: rgba(59,125,245,0.08) !important;
  border-color: var(--accent-blue) !important;
  box-shadow: 0 0 0 3px rgba(59,125,245,0.15) !important;
  color: var(--text-primary) !important;
  outline: none !important;
}

.form-control::placeholder { color: var(--text-muted) !important; }

.form-control-user {
  border-radius: 8px !important;
  padding: 11px 16px !important;
  height: auto !important;
}

label {
  color: var(--text-secondary) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  margin-bottom: 6px !important;
  font-family: 'Outfit', sans-serif !important;
}

.form-group { margin-bottom: 18px !important; }

.custom-control-label { color: var(--text-secondary) !important; }

/* ── Buttons ── */
.btn {
  font-family: 'Outfit', sans-serif !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  padding: 10px 20px !important;
  letter-spacing: 0.02em !important;
  transition: all 0.2s ease !important;
  border: none !important;
  font-size: 14px !important;
}

.btn-primary {
  background: var(--accent-blue) !important;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(59,125,245,0.25) !important;
}
.btn-primary:hover {
  background: #2d6bdf !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 24px rgba(59,125,245,0.35) !important;
}

.btn-warning {
  background: var(--accent-gold) !important;
  color: #050c18 !important;
  box-shadow: 0 4px 16px rgba(245,197,66,0.25) !important;
}
.btn-warning:hover {
  background: #e0b030 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 24px rgba(245,197,66,0.35) !important;
}

.btn-success {
  background: var(--success) !important;
  color: #050c18 !important;
}

.btn-danger {
  background: var(--danger) !important;
  color: #fff !important;
}

.btn-user { border-radius: 8px !important; padding: 12px 20px !important; }
.btn-block { display: block !important; width: 100% !important; }
.btn-sm { padding: 6px 14px !important; font-size: 12px !important; }

/* ── Tables ── */
.table {
  color: var(--text-primary) !important;
  border-color: var(--border-subtle) !important;
  background: transparent !important;
  border-radius: var(--radius) !important;
  overflow: hidden !important;
}

.table thead tr th {
  background: rgba(255,255,255,0.04) !important;
  color: var(--text-secondary) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  border-bottom: 1px solid var(--border-subtle) !important;
  border-top: none !important;
  padding: 14px 16px !important;
}

.table tbody tr {
  transition: background 0.15s ease;
  border-bottom: 1px solid var(--border-subtle) !important;
}

.table tbody tr td {
  vertical-align: middle !important;
  padding: 13px 16px !important;
  color: var(--text-primary) !important;
  border-color: var(--border-subtle) !important;
  font-size: 14px !important;
}

.table-hover tbody tr:hover {
  background: rgba(59,125,245,0.06) !important;
}

.table-bordered, .table-bordered > tbody > tr > td,
.table-bordered > thead > tr > th {
  border-color: var(--border-subtle) !important;
}

/* ── Status Badges ── */
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  gap: 5px;
}
.status-running  { background: rgba(16,217,138,0.12); color: var(--success); }
.status-stopped  { background: rgba(244,63,94,0.12);  color: var(--danger); }
.status-processing { background: rgba(245,197,66,0.12); color: var(--warning); }
.status-pending  { background: rgba(245,197,66,0.12); color: var(--warning); }
.status-approved { background: rgba(16,217,138,0.12); color: var(--success); }

/* ── Footer ── */
.sticky-footer, footer.sticky-footer {
  background: var(--bg-secondary) !important;
  border-top: 1px solid var(--border-subtle) !important;
  padding: 14px 24px !important;
  color: var(--text-muted) !important;
  font-size: 13px !important;
}

/* ── Scroll to top ── */
.scroll-to-top {
  background: var(--accent-gold) !important;
  color: var(--bg-primary) !important;
  border-radius: 50% !important;
}

/* ── Page heading ── */
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding: 0 4px;
}

.page-heading h1, .page-heading .h3 {
  font-size: 22px !important;
  font-weight: 700 !important;
  color: var(--text-primary) !important;
  font-family: 'Syne', sans-serif !important;
  margin: 0 !important;
}

/* Override default text-gray-800 headings */
.text-gray-800 { color: var(--text-primary) !important; }
.text-gray-100 { color: var(--text-primary) !important; }
.text-gray-199 { color: var(--text-primary) !important; }

/* ── Alert/notice cards ── */
.card.bg-light {
  background: rgba(59,125,245,0.08) !important;
  border: 1px solid rgba(59,125,245,0.2) !important;
}

.card.bg-light .h5 {
  color: var(--text-secondary) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.7 !important;
}

/* ── Modern Plan Cards ── */
.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.plan-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-gold));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.plan-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.45); border-color: rgba(245,197,66,0.25); }
.plan-card:hover::before { opacity: 1; }
.plan-card.featured { border-color: rgba(245,197,66,0.3); box-shadow: var(--shadow-gold); }
.plan-card.featured::before { opacity: 1; }

.plan-card .plan-name {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  text-align: center;
  letter-spacing: 0.05em;
}

.plan-card .plan-badge {
  display: inline-block;
  background: var(--accent-gold-glow);
  color: var(--accent-gold);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  margin: 0 auto 16px;
  display: block;
  width: fit-content;
  text-align: center;
}

.plan-card .plan-divider { border-color: var(--border-subtle); margin: 14px 0; }

.plan-card .plan-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 13px;
}

.plan-card .plan-row:last-of-type { border-bottom: none; }
.plan-card .plan-row .label { color: var(--text-muted); }
.plan-card .plan-row .value { color: var(--text-primary); font-weight: 600; }

.plan-card .plan-return {
  text-align: center;
  margin: 16px 0;
  background: var(--accent-gold-glow);
  border-radius: 8px;
  padding: 10px;
  color: var(--accent-gold);
  font-size: 13px;
  font-weight: 600;
}

.plan-card .btn { margin-top: auto; }

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up { animation: fadeUp 0.4s ease both; }
.fade-up-1 { animation-delay: 0.05s; }
.fade-up-2 { animation-delay: 0.10s; }
.fade-up-3 { animation-delay: 0.15s; }
.fade-up-4 { animation-delay: 0.20s; }

/* ── Google Translate overrides ── */
#google_translate_element select {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-subtle) !important;
  color: var(--text-secondary) !important;
  font-size: 12px !important;
  padding: 4px 8px !important;
  border-radius: 6px !important;
}

/* ── Mobile sidebar ── */
@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.toggled { transform: translateX(0); }
  #content-wrapper { margin-left: 0 !important; width: 100% !important; }
}

/* ── Miscellaneous ── */
a { color: var(--accent-blue); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-gold); }

hr { border-color: var(--border-subtle) !important; }

.shadow-lg { box-shadow: var(--shadow) !important; }
.shadow     { box-shadow: 0 2px 12px rgba(0,0,0,0.25) !important; }

.o-hidden { overflow: hidden !important; }

/* Custom select arrow color fix */
.custom-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%238fa3bd' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  padding-right: 36px !important;
  appearance: none !important;
}

/* Section utility */
.section-pad { padding: 28px 24px; }

/* Topbar email */
.topbar .text-gray-600.small { font-size: 13px !important; color: var(--text-secondary) !important; }

/* Sidebar toggle text */
.sidebar .toggled-content { display: none; }

/* ── Theme Toggle Button ── */
.theme-toggle-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.2s ease;
  outline: none;
  margin-right: 10px;
  flex-shrink: 0;
}
.theme-toggle-btn:hover {
  color: var(--accent-gold);
  border-color: var(--accent-gold);
  background: var(--accent-gold-glow);
}

/* ── LIGHT MODE ── */
body.light-mode,
body#page-top.light-mode {
  --bg-primary:       #f0f4f8;
  --bg-secondary:     #ffffff;
  --bg-card:          #ffffff;
  --bg-card-hover:    #f8fafc;
  --border:           rgba(59,125,245,0.15);
  --border-subtle:    rgba(0,0,0,0.08);
  --text-primary:     #1a2332;
  --text-secondary:   #4a5568;
  --text-muted:       #8fa3bd;
  --shadow:           0 4px 24px rgba(0,0,0,0.10);
  --shadow-gold:      0 0 28px rgba(245,197,66,0.20);
  background-image:
    radial-gradient(ellipse 80% 60% at 20% -10%, rgba(59,125,245,0.05) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 110%, rgba(245,197,66,0.04) 0%, transparent 60%);
}

body.light-mode .sidebar {
  background: #1a2748 !important;
  border-right-color: rgba(255,255,255,0.08) !important;
}

body.light-mode .topbar,
body.light-mode nav.navbar.navbar-expand.navbar-light.bg-white.topbar {
  background: #ffffff !important;
  border-bottom-color: rgba(0,0,0,0.08) !important;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06) !important;
}

body.light-mode .card {
  background: #ffffff !important;
  border-color: rgba(0,0,0,0.08) !important;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07) !important;
}

body.light-mode .table { color: #1a2332 !important; }
body.light-mode .table thead tr th { background: rgba(0,0,0,0.03) !important; color: #4a5568 !important; border-bottom-color: rgba(0,0,0,0.08) !important; }
body.light-mode .table tbody tr td { color: #1a2332 !important; border-color: rgba(0,0,0,0.06) !important; }
body.light-mode .table-hover tbody tr:hover { background: rgba(59,125,245,0.05) !important; }

body.light-mode .form-control,
body.light-mode input[type="text"],
body.light-mode input[type="email"],
body.light-mode input[type="password"],
body.light-mode select, body.light-mode textarea {
  background: #f8fafc !important;
  border-color: rgba(0,0,0,0.12) !important;
  color: #1a2332 !important;
}

body.light-mode .sticky-footer,
body.light-mode footer.sticky-footer {
  background: #ffffff !important;
  border-top-color: rgba(0,0,0,0.08) !important;
}

body.light-mode .stat-card { background: #ffffff !important; border-color: rgba(0,0,0,0.08) !important; }
body.light-mode .stat-label { color: #8fa3bd !important; }
body.light-mode .stat-value { color: #1a2332 !important; }
body.light-mode .crypto-card { background: #ffffff !important; border-color: rgba(0,0,0,0.08) !important; }
body.light-mode .crypto-header { border-bottom-color: rgba(0,0,0,0.06) !important; }
body.light-mode .crypto-header .left h4 { color: #1a2332 !important; }
body.light-mode .section-title { color: #8fa3bd !important; }
body.light-mode .welcome-badge { background: rgba(59,125,245,0.08); border-color: rgba(59,125,245,0.15); }

body.light-mode .form-section { background: #ffffff !important; border-color: rgba(0,0,0,0.08) !important; }
body.light-mode .field-input { background: #f8fafc !important; border-color: rgba(0,0,0,0.12) !important; color: #1a2332 !important; }
body.light-mode select.field-input option { background: #ffffff; color: #1a2332; }

body.light-mode .notice-card.info { background: rgba(59,125,245,0.06); }
body.light-mode .notice-card.warn { background: rgba(245,197,66,0.06); }
body.light-mode .notice-card p { color: #4a5568; }

body.light-mode .plan-card { background: #ffffff; border-color: rgba(0,0,0,0.08); }
body.light-mode .plan-row { border-bottom-color: rgba(0,0,0,0.06); }
body.light-mode .plan-row .label { color: #8fa3bd; }
body.light-mode .plan-row .value { color: #1a2332; }

body.light-mode .sidebar .collapse-inner { background: rgba(255,255,255,0.07) !important; }
body.light-mode #google_translate_element select { background: #f0f4f8 !important; color: #4a5568 !important; border-color: rgba(0,0,0,0.1) !important; }

/* Override hardcoded dark colours used in view inline styles */
body.light-mode .stat-card { background: #ffffff !important; border-color: rgba(0,0,0,0.10) !important; box-shadow: 0 2px 16px rgba(0,0,0,0.07) !important; }
body.light-mode .stat-value { color: #1a2332 !important; }
body.light-mode .stat-label { color: #8fa3bd !important; }
body.light-mode .crypto-card { background: #ffffff !important; border-color: rgba(0,0,0,0.08) !important; }
body.light-mode [style*="background:#0e1e35"] { background: #ffffff !important; }
body.light-mode [style*="background: #0e1e35"] { background: #ffffff !important; }
body.light-mode [style*="color:#e8edf5"] { color: #1a2332 !important; }
body.light-mode [style*="color: #e8edf5"] { color: #1a2332 !important; }
body.light-mode [style*="color:#4a6280"] { color: #6b7a90 !important; }
body.light-mode [style*="color: #4a6280"] { color: #6b7a90 !important; }
body.light-mode [style*="color:#8fa3bd"] { color: #6b7a90 !important; }
body.light-mode .form-section { background: #ffffff !important; border-color: rgba(0,0,0,0.08) !important; }
body.light-mode .field-input { background: #f8fafc !important; border-color: rgba(0,0,0,0.12) !important; color: #1a2332 !important; }
body.light-mode [style*="background:#050c18"] { background: #f0f4f8 !important; }
body.light-mode [style*="font-family:'Syne'"] { color: #1a2332 !important; }
