:root {
  --bg-main: #0b0f19;
  --bg-surface: #111827;
  --bg-surface-hover: #1f293d;
  --bg-card: #151d30;
  --border-color: #1e293b;
  --border-subtle: #243048;
  
  --color-text-main: #f8fafc;
  --color-text-muted: #94a3b8;
  --color-text-dim: #64748b;

  /* Chuẩn màu bảng giá Chứng khoán Việt Nam */
  --c-ceiling: #e879f9;  /* Tím Trần */
  --c-floor: #22d3ee;    /* Xanh Lơ Sàn */
  --c-ref: #facc15;      /* Vàng Tham Chiếu */
  --c-up: #22c55e;       /* Xanh Lá Tăng */
  --c-down: #ef4444;     /* Đỏ Giảm */

  --c-ceiling-bg: rgba(232, 121, 249, 0.15);
  --c-floor-bg: rgba(34, 211, 238, 0.15);
  --c-up-bg: rgba(34, 197, 94, 0.15);
  --c-down-bg: rgba(239, 68, 68, 0.15);
  --c-ref-bg: rgba(250, 204, 21, 0.15);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-main);
  color: var(--color-text-main);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 13.5px;
  line-height: 1.4;
  overflow-x: hidden;
}

/* Tabular figures for financial numbers */
.num, .tnum {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  font-size: 13.5px;
  font-weight: 600;
}

/* Custom scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #475569;
}

/* Header & Tickers */
.top-header {
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 40;
}

.index-ticker-card {
  transition: all 0.2s ease;
  background-color: rgba(30, 41, 59, 0.5);
  border: 1px solid var(--border-color);
}
.index-ticker-card:hover {
  background-color: rgba(30, 41, 59, 0.8);
  border-color: #3b82f6;
}

/* Color utility classes */
.c-ceiling { color: var(--c-ceiling) !important; font-weight: 600; }
.c-floor { color: var(--c-floor) !important; font-weight: 600; }
.c-ref { color: var(--c-ref) !important; font-weight: 600; }
.c-up { color: var(--c-up) !important; font-weight: 600; }
.c-down { color: var(--c-down) !important; font-weight: 600; }

.bg-ceiling-pill { background-color: var(--c-ceiling-bg); color: var(--c-ceiling); }
.bg-floor-pill { background-color: var(--c-floor-bg); color: var(--c-floor); }
.bg-up-pill { background-color: var(--c-up-bg); color: var(--c-up); }
.bg-down-pill { background-color: var(--c-down-bg); color: var(--c-down); }
.bg-ref-pill { background-color: var(--c-ref-bg); color: var(--c-ref); }

/* Table Styles */
.stock-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13.5px;
}

.stock-table th {
  color: #cbd5e1;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.02em;
  padding: 6px 5px;
  border-bottom: 1px solid #2d3b55;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  box-sizing: border-box;
}

/* First header row: sticky at top of table container */
.stock-table thead tr:first-child th {
  position: sticky;
  top: 0;
  z-index: 25;
  background-color: #111a2c;
  height: 32px;
  line-height: 1.25;
}

/* Second header row: sticky directly below first header row */
.stock-table thead tr:nth-child(2) th {
  position: sticky;
  top: 32px;
  z-index: 24;
  background-color: #162032;
  height: 30px;
  line-height: 1.25;
}

.stock-table td {
  padding: 8px 7px;
  border-bottom: 1px solid var(--border-color);
  border-right: 1px solid rgba(255, 255, 255, 0.04);
  text-align: right;
  white-space: nowrap;
  box-sizing: border-box;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
}

/* Stock symbol column font size & style */
.stock-table td:nth-child(2) {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* Match price cell font */
.stock-table td.match-price-cell {
  font-size: 14.5px;
  font-weight: 900;
}

.bar-nav-dropdown-btn {
  font-size: 13.5px;
  font-weight: 700;
}

/* Phân cách rõ ràng hàng đầu tiên của bảng không bị đè */
.stock-table tbody tr:first-child td {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stock-table td:first-child, .stock-table th:first-child {
  border-left: none;
}

.stock-table tr.stock-row {
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.stock-table tr.stock-row:hover {
  background-color: var(--bg-surface-hover);
}

.stock-table tr.stock-row.active {
  background-color: rgba(59, 130, 246, 0.15);
  border-left: 3px solid #3b82f6;
}

/* Category Filter Tabs */
.filter-btn {
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 12px;
  transition: all 0.15s ease;
  white-space: nowrap;
  background-color: transparent;
  color: var(--color-text-muted);
  border: 1px solid transparent;
  cursor: pointer;
}

.filter-btn:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.05);
}

.filter-btn.active {
  background-color: #2563eb;
  color: #ffffff;
  border-color: #3b82f6;
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.3);
}

/* Star Watchlist Icon */
.star-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px 4px;
  color: #64748b;
  transition: transform 0.15s ease, color 0.15s ease;
}
.star-btn:hover {
  transform: scale(1.2);
  color: #facc15;
}
.star-btn.starred {
  color: #facc15;
}

/* Live Price Flash Effect */
@keyframes flash-green {
  0% { background-color: rgba(34, 197, 94, 0.4); }
  100% { background-color: transparent; }
}
@keyframes flash-red {
  0% { background-color: rgba(239, 68, 68, 0.4); }
  100% { background-color: transparent; }
}

.flash-up {
  animation: flash-green 0.8s ease-out;
}
.flash-down {
  animation: flash-red 0.8s ease-out;
}

/* Modal and Detail Drawer */
.modal-overlay {
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
}

.chart-container {
  min-height: 420px;
  width: 100%;
  position: relative;
}

/* Order Book Visualization */
.order-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  opacity: 0.18;
  pointer-events: none;
}
.order-bar-bid {
  right: 0;
  background-color: var(--c-up);
}
.order-bar-ask {
  left: 0;
  background-color: var(--c-down);
}

/* ==========================================================================
   PRO TECHNICAL CHART WORKSTATION (TradingView / FireAnt Style)
   ========================================================================== */

#pro-chart-view-container {
  height: calc(100vh - 84px);
  min-height: 550px;
}

.pro-tool-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  color: #94a3b8;
  transition: all 0.15s ease;
}

.pro-tool-btn:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.08);
}

.pro-tool-btn.active {
  background-color: #2563eb !important;
  color: #ffffff !important;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.45);
}

.pro-tf-btn {
  transition: all 0.15s ease;
}

.pro-tf-btn:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.06);
}

.pro-tf-btn.active {
  background-color: #2563eb !important;
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 0 8px rgba(37, 99, 235, 0.4);
}

.pro-quick-sym-btn {
  transition: all 0.15s ease;
}

.pro-quick-sym-btn.active {
  background-color: #3b82f6;
  color: #ffffff;
}

/* Drawing Toolbar Sidebar */
#pro-drawing-sidebar.sidebar-collapsed {
  display: none !important;
}

/* FireAnt Floating Card (Hiển thị như ban đầu) */
#fireant-floating-card {
  box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

#fireant-floating-card.hidden {
  display: none !important;
}


/* Drawing Canvas Overlay */
#pro-drawing-canvas {
  touch-action: none;
}

#pro-drawing-canvas.drawing-active {
  pointer-events: auto !important;
  cursor: crosshair !important;
}

/* Search Dropdown in Pro Header */
#pro-chart-search-dropdown::-webkit-scrollbar,
#pro-indicators-dropdown::-webkit-scrollbar {
  width: 5px;
}
#pro-chart-search-dropdown::-webkit-scrollbar-thumb,
#pro-indicators-dropdown::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

/* ======================================================== */
/* STOCK SCREENER (BỘ LỌC CỔ PHIẾU VÀ CHẤM ĐIỂM FA - TA)    */
/* ======================================================== */
.screener-preset-btn {
  transition: all 0.2s ease;
}

.screener-preset-btn.active {
  background-color: #2563eb !important;
  color: #ffffff !important;
  border-color: #3b82f6 !important;
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.45);
}

.screener-table-row {
  transition: background-color 0.15s ease;
}

.screener-table-row:hover {
  background-color: rgba(30, 41, 59, 0.5) !important;
}

/* Rank Badges */
.badge-rank-aplus {
  background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 50%, #f59e0b 100%);
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 0 10px rgba(236, 72, 153, 0.4);
}

.badge-rank-a {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.35);
}

.badge-rank-b {
  background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
  color: #ffffff;
  font-weight: 700;
}

.badge-rank-c {
  background: #334155;
  color: #94a3b8;
  font-weight: 600;
}

/* Action Recommendation Badges */
.action-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.action-strong-buy {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.5);
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.25);
}

.action-buy {
  background: rgba(14, 165, 233, 0.18);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.5);
}

.action-hold {
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.4);
}

.action-watch {
  background: rgba(100, 116, 139, 0.2);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.action-sell {
  background: rgba(239, 68, 68, 0.18);
  color: #f87171;
  border: 1px solid rgba(248, 113, 113, 0.5);
}

/* Score Progress Bar */
.score-progress-bar {
  height: 4px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  overflow: hidden;
}

.score-progress-fill {
  height: 100%;
  border-radius: 9999px;
  transition: width 0.4s ease;
}

/* Navigation View Switcher Horizontal Layout */
#main-view-switcher {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

#main-view-switcher button {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

#main-view-switcher button span {
  white-space: nowrap !important;
  display: inline-block !important;
}





/* ==========================================================================
   LIGHT MODE THEME ENGINE (GIAO DIỆN SÁNG TOÀN DIỆN CHO TOÀN BỘ TRANG WEB)
   ========================================================================== */

body.light-mode {
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-hover: #f1f5f9;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --border-subtle: #cbd5e1;

  --color-text-main: #0f172a;
  --color-text-muted: #475569;
  --color-text-dim: #64748b;

  /* Chuẩn màu bảng giá Chứng khoán Việt Nam tương phản cao trên nền Sáng */
  --c-ceiling: #9333ea;  /* Tím Trần Đậm */
  --c-floor: #0284c7;    /* Xanh Lơ Sàn Đậm */
  --c-ref: #d97706;      /* Vàng Hổ Phách Rõ Nét (không bị chói/mờ) */
  --c-up: #16a34a;       /* Xanh Lá Tươi Đậm */
  --c-down: #dc2626;     /* Đỏ Giảm Đậm */

  --c-ceiling-bg: rgba(147, 51, 234, 0.12);
  --c-floor-bg: rgba(2, 132, 199, 0.12);
  --c-up-bg: rgba(22, 163, 74, 0.12);
  --c-down-bg: rgba(220, 38, 38, 0.12);
  --c-ref-bg: rgba(217, 119, 6, 0.12);

  background-color: #f8fafc !important;
  color: #0f172a !important;
}

/* Scrollbars in Light Mode */
body.light-mode ::-webkit-scrollbar-track {
  background: #f1f5f9;
}
body.light-mode ::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}
body.light-mode ::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Background overrides */
body.light-mode .bg-\[\#0b0f19\],
body.light-mode .bg-\[\#0c1220\],
body.light-mode .bg-\[\#111827\],
body.light-mode .bg-\[\#151d30\],
body.light-mode [class*="bg-slate-950"] {
  background-color: #f8fafc !important;
}

body.light-mode .bg-slate-900,
body.light-mode .bg-slate-900\/60,
body.light-mode .bg-slate-900\/70,
body.light-mode .bg-slate-900\/80,
body.light-mode .bg-slate-900\/90,
body.light-mode .bg-slate-900\/95,
body.light-mode [class*="bg-slate-900"] {
  background-color: #ffffff !important;
}

body.light-mode .bg-slate-800,
body.light-mode .bg-slate-800\/60,
body.light-mode .bg-slate-800\/80,
body.light-mode [class*="bg-slate-800"] {
  background-color: #f1f5f9 !important;
}

/* Border overrides */
body.light-mode .border-slate-800,
body.light-mode .border-slate-700,
body.light-mode [class*="border-slate-800"],
body.light-mode [class*="border-slate-700"] {
  border-color: #e2e8f0 !important;
}

/* General Text overrides */
body.light-mode .text-white,
body.light-mode .text-slate-100,
body.light-mode .text-slate-200 {
  color: #0f172a !important;
}

body.light-mode .text-slate-300,
body.light-mode .text-slate-400 {
  color: #475569 !important;
}

body.light-mode .text-slate-500 {
  color: #64748b !important;
}

/* EXCEPTIONS: Maintain pure white text for solid primary buttons and badges */
body.light-mode .bg-blue-600,
body.light-mode .bg-blue-600 *,
body.light-mode .bg-blue-500,
body.light-mode .bg-blue-500 *,
body.light-mode .bg-indigo-600,
body.light-mode .bg-indigo-600 *,
body.light-mode .bg-purple-600,
body.light-mode .bg-purple-600 *,
body.light-mode [class*="bg-gradient-to"] .text-white,
body.light-mode .badge-rank-aplus,
body.light-mode .badge-rank-a,
body.light-mode .badge-rank-b,
body.light-mode button.active,
body.light-mode button.active *,
body.light-mode .filter-btn.active,
body.light-mode .pro-tool-btn.active,
body.light-mode .pro-tf-btn.active,
body.light-mode .screener-preset-btn.active {
  color: #ffffff !important;
}

/* Top Header */
body.light-mode .top-header {
  background-color: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

body.light-mode #main-view-switcher {
  background-color: #f1f5f9 !important;
  border-color: #e2e8f0 !important;
}

body.light-mode #main-view-switcher button:not(.bg-blue-600) {
  color: #64748b !important;
}

body.light-mode #main-view-switcher button:not(.bg-blue-600):hover {
  background-color: #e2e8f0 !important;
  color: #0f172a !important;
}

/* Search input & dropdown */
body.light-mode #search-input {
  color: #0f172a !important;
}

body.light-mode #search-input::placeholder {
  color: #94a3b8 !important;
}

body.light-mode #search-results-dropdown,
body.light-mode #pro-chart-search-dropdown,
body.light-mode #pro-indicators-dropdown {
  background-color: #ffffff !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
}

/* Theme switch button */
body.light-mode #theme-toggle-btn {
  background-color: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}
body.light-mode #theme-toggle-btn:hover {
  background-color: #e2e8f0 !important;
}

/* Ticker cards & Market breadth */
body.light-mode .index-ticker-card {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04) !important;
}

body.light-mode .index-ticker-card:hover {
  background-color: #f8fafc !important;
  border-color: #93c5fd !important;
}

body.light-mode #btn-open-tuan-thep {
  background: linear-gradient(to right, #fffbeb, #fef3c7, #ffffff) !important;
  border-color: #f59e0b !important;
  box-shadow: 0 4px 6px -1px rgba(245, 158, 11, 0.15) !important;
}
body.light-mode #btn-open-tuan-thep span {
  color: #92400e !important;
}

/* Filter buttons */
body.light-mode .filter-btn {
  color: #64748b;
}

body.light-mode .filter-btn:hover {
  color: #0f172a;
  background-color: #f1f5f9;
}

body.light-mode .filter-btn.active {
  background-color: #2563eb !important;
  color: #ffffff !important;
  border-color: #3b82f6 !important;
}

/* Stock Table */
body.light-mode .stock-table thead tr:first-child th {
  background-color: #f1f5f9 !important;
  color: #1e293b !important;
  border-bottom: 2px solid #cbd5e1 !important;
  border-right: 1px solid #e2e8f0 !important;
}

body.light-mode .stock-table thead tr:nth-child(2) th {
  background-color: #f8fafc !important;
  color: #475569 !important;
  border-bottom: 2px solid #cbd5e1 !important;
  border-right: 1px solid #e2e8f0 !important;
}

body.light-mode .stock-table tbody tr {
  background-color: #ffffff !important;
}

body.light-mode .stock-table tbody tr:nth-child(even) {
  background-color: #f8fafc !important;
}

body.light-mode .stock-table tbody tr:hover {
  background-color: #eff6ff !important;
}

body.light-mode .stock-table tr.stock-row.active {
  background-color: #dbeafe !important;
  border-left: 3px solid #2563eb !important;
}

body.light-mode .stock-table td {
  border-bottom: 1px solid #e2e8f0 !important;
  border-right: 1px solid #f1f5f9 !important;
}

body.light-mode .sym-col,
body.light-mode .stock-table td:first-child button {
  color: #0f172a !important;
  font-weight: 700 !important;
}

/* Pro Technical Chart workstation */
body.light-mode #pro-drawing-sidebar {
  background-color: #ffffff !important;
  border-right: 1px solid #e2e8f0 !important;
}

body.light-mode .pro-tool-btn {
  color: #64748b !important;
}

body.light-mode .pro-tool-btn:hover {
  background-color: #f1f5f9 !important;
  color: #0f172a !important;
}

body.light-mode #pro-chart-header,
body.light-mode #pro-timeframe-bar,
body.light-mode #pro-chart-legend {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
}

body.light-mode .pro-tf-btn {
  color: #475569 !important;
}
body.light-mode .pro-tf-btn:hover {
  background-color: #f1f5f9 !important;
  color: #0f172a !important;
}

body.light-mode #fireant-floating-card {
  background-color: #ffffff !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
}

body.light-mode #pro-valuation-subchart-pane {
  background-color: #ffffff !important;
  border-top: 1px solid #e2e8f0 !important;
}

/* Modals */
body.light-mode .modal-overlay {
  background-color: rgba(15, 23, 42, 0.45) !important;
}

body.light-mode #stock-modal > div > div,
body.light-mode #tuan-thep-modal > div > div,
body.light-mode #auth-login-modal > div > div,
body.light-mode #auth-register-modal > div > div {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
}

/* Screener & Tables */
body.light-mode .screener-table-row:hover {
  background-color: #eff6ff !important;
}

body.light-mode .action-strong-buy {
  background: rgba(22, 163, 74, 0.12) !important;
  color: #15803d !important;
  border-color: rgba(22, 163, 74, 0.35) !important;
}

body.light-mode .action-buy {
  background: rgba(2, 132, 199, 0.12) !important;
  color: #0369a1 !important;
  border-color: rgba(2, 132, 199, 0.35) !important;
}

body.light-mode .action-hold {
  background: rgba(217, 119, 6, 0.12) !important;
  color: #b45309 !important;
  border-color: rgba(217, 119, 6, 0.35) !important;
}

body.light-mode .action-sell {
  background: rgba(220, 38, 38, 0.12) !important;
  color: #b91c1c !important;
  border-color: rgba(220, 38, 38, 0.35) !important;
}


/* --- WebSocket Realtime Flash Animations --- */
@keyframes flashGreen {
  0% { background-color: rgba(16, 185, 129, 0.45); }
  100% { background-color: transparent; }
}
@keyframes flashRed {
  0% { background-color: rgba(239, 68, 68, 0.45); }
  100% { background-color: transparent; }
}
.flash-price-up {
  animation: flashGreen 0.8s ease-out;
}
.flash-price-down {
  animation: flashRed 0.8s ease-out;
}


/* --- BAR NAV DROPDOWN BUTTONS (IMAGE 2 STYLE) --- */
.bar-nav-dropdown-btn {
  background-color: #202736;
  color: #e2e8f0;
  border: 1px solid rgba(51, 65, 85, 0.8);
  font-weight: 700;
  border-radius: 4px;
}
.bar-nav-dropdown-btn:hover {
  background-color: #2d3748;
  color: #ffffff;
}
.bar-nav-dropdown-btn.active {
  background-color: #f59e0b !important;
  color: #0f172a !important;
  border-color: #d97706 !important;
  font-weight: 800 !important;
}
.bar-nav-dropdown-btn.active i,
.bar-nav-dropdown-btn.active span {
  color: #0f172a !important;
}

body.light-mode .bar-nav-dropdown-btn {
  background-color: #f1f5f9;
  color: #334155;
  border-color: #cbd5e1;
}
body.light-mode .bar-nav-dropdown-btn:hover {
  background-color: #e2e8f0;
  color: #0f172a;
}
body.light-mode .bar-nav-dropdown-btn.active {
  background-color: #f59e0b !important;
  color: #0f172a !important;
  border-color: #d97706 !important;
}
