/* FinanceiroJF — Premium Dark Industrial Theme */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

:root {
  --bg-base:    #0D0F14;
  --bg-surface: #13161E;
  --bg-card:    #181C26;
  --bg-hover:   #1E2230;
  --bg-input:   #1A1E28;
  --border:     #252A38;
  --border-light: #2E3448;

  --gold:       #E8A020;
  --gold-light: #F4B840;
  --gold-dim:   rgba(232,160,32,0.12);
  --gold-glow:  0 0 20px rgba(232,160,32,0.25);

  --text-primary:   #F0F2F8;
  --text-secondary: #8B92A8;
  --text-muted:     #545C74;

  --success:  #22C55E;
  --warning:  #F59E0B;
  --danger:   #EF4444;
  --info:     #3B82F6;

  --success-dim: rgba(34,197,94,0.12);
  --warning-dim: rgba(245,158,11,0.12);
  --danger-dim:  rgba(239,68,68,0.12);
  --info-dim:    rgba(59,130,246,0.12);

  --sidebar-w: 248px;
  --header-h: 60px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-card: 0 2px 12px rgba(0,0,0,0.3);

  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 14px;
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ── SIDEBAR ── */
.sidebar {
  position: fixed;
  left: 0; top: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: var(--bg-surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  transition: transform 0.3s cubic-bezier(.4,0,.2,1);
}

.sidebar-brand {
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--border);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--gold), #C87A10);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: var(--gold-glow);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.brand-sub {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 1px;
}

.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 12px 10px;
}

.nav-group {
  margin-bottom: 4px;
}

.nav-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 8px 10px 4px;
  display: block;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  transition: all 0.15s ease;
  margin-bottom: 1px;
  position: relative;
}

.nav-item:hover {
  color: var(--text-primary);
  background: var(--bg-hover);
}

.nav-item.active {
  color: var(--gold);
  background: var(--gold-dim);
}

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

.nav-item svg { width: 16px; height: 16px; flex-shrink: 0; }

.nav-badge {
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  background: var(--danger);
  color: #fff;
  padding: 1px 6px;
  border-radius: 10px;
}

.sidebar-footer {
  padding: 12px 10px;
  border-top: 1px solid var(--border);
}

.user-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--bg-card);
  cursor: pointer;
  text-decoration: none;
}

.user-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #C87A10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: #000;
  flex-shrink: 0;
}

.user-info { flex: 1; overflow: hidden; }
.user-name { font-size: 13px; font-weight: 600; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-role { font-size: 11px; color: var(--text-muted); }

/* ── MAIN LAYOUT ── */
.main-wrap {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  height: var(--header-h);
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 12px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.topbar-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.page-content { padding: 24px; flex: 1; }

/* ── CARDS ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.card-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.card-body { padding: 20px; }

/* ── KPI CARDS ── */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}

.kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  position: relative;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.kpi-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
}

.kpi-card.gold::before   { background: linear-gradient(90deg, var(--gold), var(--gold-light)); }
.kpi-card.success::before { background: var(--success); }
.kpi-card.danger::before  { background: var(--danger); }
.kpi-card.info::before    { background: var(--info); }
.kpi-card.warning::before { background: var(--warning); }
.kpi-card.purple::before  { background: #8B5CF6; }

.kpi-icon {
  width: 38px; height: 38px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.kpi-icon.gold    { background: var(--gold-dim); color: var(--gold); }
.kpi-icon.success { background: var(--success-dim); color: var(--success); }
.kpi-icon.danger  { background: var(--danger-dim); color: var(--danger); }
.kpi-icon.info    { background: var(--info-dim); color: var(--info); }
.kpi-icon.warning { background: var(--warning-dim); color: var(--warning); }
.kpi-icon.purple  { background: rgba(139,92,246,0.12); color: #8B5CF6; }

.kpi-label { font-size: 11.5px; color: var(--text-muted); font-weight: 500; margin-bottom: 4px; letter-spacing: 0.3px; }

.kpi-value {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.kpi-sub { font-size: 11px; color: var(--text-muted); margin-top: 4px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  font-family: var(--font-body);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn svg { width: 15px; height: 15px; flex-shrink: 0; }

.btn-primary {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
}
.btn-primary:hover { background: var(--gold-light); color: #000; }

.btn-secondary {
  background: var(--bg-hover);
  color: var(--text-primary);
  border-color: var(--border-light);
}
.btn-secondary:hover { background: var(--border); }

.btn-success { background: var(--success-dim); color: var(--success); border-color: rgba(34,197,94,0.2); }
.btn-success:hover { background: rgba(34,197,94,0.2); }

.btn-danger { background: var(--danger-dim); color: var(--danger); border-color: rgba(239,68,68,0.2); }
.btn-danger:hover { background: rgba(239,68,68,0.2); }

.btn-outline {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border-light);
}
.btn-outline:hover { background: var(--bg-hover); color: var(--text-primary); }

.btn-sm { padding: 5px 11px; font-size: 12.5px; }
.btn-lg { padding: 11px 22px; font-size: 15px; }
.btn-icon { padding: 7px; }
.btn-icon svg { width: 16px; height: 16px; }

/* ── FORMS ── */
.form-group { margin-bottom: 16px; }

.form-label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
  letter-spacing: 0.2px;
}

.form-control, .form-select {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 9px 12px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  appearance: none;
}

.form-control:focus, .form-select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}

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

textarea.form-control { resize: vertical; min-height: 80px; }

.input-group {
  display: flex;
  align-items: stretch;
}

.input-group .input-prefix {
  background: var(--bg-hover);
  border: 1px solid var(--border);
  border-right: none;
  border-radius: 8px 0 0 8px;
  padding: 9px 12px;
  color: var(--text-muted);
  font-size: 13px;
  white-space: nowrap;
  display: flex;
  align-items: center;
}

.input-group .form-control {
  border-radius: 0 8px 8px 0;
}

/* ── TABLES ── */
.table-wrap { overflow-x: auto; }

table.fjf {
  width: 100%;
  border-collapse: collapse;
}

table.fjf thead tr {
  border-bottom: 1px solid var(--border-light);
}

table.fjf th {
  padding: 10px 14px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-muted);
}

table.fjf td {
  padding: 11px 14px;
  font-size: 13.5px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

table.fjf tr:last-child td { border-bottom: none; }

table.fjf tbody tr:hover { background: var(--bg-hover); }

table.fjf tr.danger-row { background: rgba(239,68,68,0.05); }
table.fjf tr.warning-row { background: rgba(245,158,11,0.05); }

/* ── BADGES ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 600;
}

.badge-success { background: var(--success-dim); color: var(--success); }
.badge-danger  { background: var(--danger-dim);  color: var(--danger); }
.badge-warning { background: var(--warning-dim); color: var(--warning); }
.badge-info    { background: var(--info-dim);    color: var(--info); }
.badge-gold    { background: var(--gold-dim);    color: var(--gold); }
.badge-secondary { background: rgba(139,146,168,0.12); color: var(--text-secondary); }

/* ── PROGRESS ── */
.progress {
  height: 5px;
  background: var(--border-light);
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  border-radius: 3px;
  transition: width 0.5s ease;
}

.progress-bar.gold    { background: linear-gradient(90deg, var(--gold), var(--gold-light)); }
.progress-bar.success { background: var(--success); }
.progress-bar.warning { background: var(--warning); }
.progress-bar.danger  { background: var(--danger); }

/* ── TABS ── */
.tabs {
  display: flex;
  gap: 2px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.tab-btn {
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: -1px;
}

.tab-btn:hover { color: var(--text-primary); }

.tab-btn.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* ── ALERTAS ── */
.alert {
  padding: 12px 16px;
  border-radius: 9px;
  margin-bottom: 16px;
  font-size: 13.5px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.alert-success { background: var(--success-dim); border: 1px solid rgba(34,197,94,0.2); color: var(--success); }
.alert-danger  { background: var(--danger-dim);  border: 1px solid rgba(239,68,68,0.2); color: var(--danger); }
.alert-warning { background: var(--warning-dim); border: 1px solid rgba(245,158,11,0.2); color: var(--warning); }
.alert-info    { background: var(--info-dim);    border: 1px solid rgba(59,130,246,0.2); color: var(--info); }

/* ── OBRA STATUS INDICATORS ── */
.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
}

.status-dot.em_andamento { background: var(--info); box-shadow: 0 0 6px var(--info); }
.status-dot.concluida    { background: var(--success); }
.status-dot.pausada      { background: var(--warning); }
.status-dot.orcamento    { background: var(--text-muted); }
.status-dot.cancelada    { background: var(--danger); }

/* ── OBRA CARD ── */
.obra-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  display: block;
  color: inherit;
}

.obra-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.obra-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.obra-codigo {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--gold);
  text-transform: uppercase;
}

.obra-nome {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 4px 0 2px;
}

.obra-cliente {
  font-size: 12.5px;
  color: var(--text-muted);
}

.obra-financeiro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.obra-fin-item { }
.obra-fin-label { font-size: 10.5px; color: var(--text-muted); }
.obra-fin-value { font-size: 14px; font-weight: 600; color: var(--text-primary); }

/* ── CHARTS ── */
.chart-container { position: relative; }

/* ── MARGEM GAUGE ── */
.margem-display {
  text-align: center;
  padding: 12px;
}

.margem-value {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
}

.margem-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ── STATS ROW ── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.stats-row .stat-item {
  background: var(--bg-card);
  padding: 14px 16px;
  text-align: center;
}

.stat-item .stat-val {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.stat-item .stat-lbl {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ── EMPTY STATE ── */
.empty-state {
  text-align: center;
  padding: 60px 20px;
}

.empty-state svg { color: var(--text-muted); margin-bottom: 14px; }
.empty-state h4  { font-family: var(--font-display); font-size: 16px; color: var(--text-secondary); margin-bottom: 6px; }
.empty-state p   { font-size: 13px; color: var(--text-muted); }

/* ── SEARCH BAR ── */
.search-bar {
  position: relative;
}

.search-bar svg {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  width: 15px; height: 15px;
}

.search-bar input {
  padding-left: 34px;
}

/* ── RESPONSIVE ── */
.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 6px;
}

@media (max-width: 992px) {
  :root { --sidebar-w: 0px; }

  .sidebar {
    transform: translateX(-248px);
    width: 248px;
  }

  .sidebar.open {
    transform: translateX(0);
    box-shadow: 4px 0 30px rgba(0,0,0,0.6);
  }

  .main-wrap { margin-left: 0; }
  .hamburger { display: flex; }

  .sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
  }

  .sidebar-overlay.active { display: block; }

  .page-content { padding: 16px; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .topbar { padding: 0 14px; }
}

/* ── UTILS ── */
.text-gold    { color: var(--gold); }
.text-success { color: var(--success); }
.text-danger  { color: var(--danger); }
.text-warning { color: var(--warning); }
.text-info    { color: var(--info); }
.text-muted   { color: var(--text-muted); }
.text-right   { text-align: right; }
.font-display { font-family: var(--font-display); }
.fw-700       { font-weight: 700; }

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 6px; }
.mb-2 { margin-bottom: 12px; }
.mb-3 { margin-bottom: 18px; }
.mb-4 { margin-bottom: 24px; }
.mt-3 { margin-top: 18px; }
.mt-4 { margin-top: 24px; }
.p-0 { padding: 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }

@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* ── LOADING SKELETON ── */
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

.skeleton {
  background: linear-gradient(90deg, var(--bg-hover) 25%, var(--border) 50%, var(--bg-hover) 75%);
  background-size: 800px 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 6px;
}

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

.fade-up { animation: fadeUp 0.35s ease forwards; }
.fade-up-1 { animation-delay: 0.05s; opacity: 0; }
.fade-up-2 { animation-delay: 0.10s; opacity: 0; }
.fade-up-3 { animation-delay: 0.15s; opacity: 0; }
.fade-up-4 { animation-delay: 0.20s; opacity: 0; }

/* ── LOGIN PAGE ── */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-base);
  position: relative;
  overflow: hidden;
}

.login-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(232,160,32,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(59,130,246,0.04) 0%, transparent 60%);
}

.login-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.login-logo {
  text-align: center;
  margin-bottom: 32px;
}

/* ── FECHAMENTO ── */
.fechamento-header {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-hover));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
  text-align: center;
}

.fechamento-titulo {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 4px;
}

/* ── TOOLTIP ── */
[data-tooltip] { position: relative; cursor: help; }
[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-hover);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  font-size: 12px;
  white-space: nowrap;
  padding: 5px 10px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
  z-index: 1000;
}
[data-tooltip]:hover::after { opacity: 1; }

/* ── TEMA CLARO ── */
body.light {
  --bg-base:    #F0F2F8;
  --bg-surface: #FFFFFF;
  --bg-card:    #FFFFFF;
  --bg-hover:   #F0F2F8;
  --bg-input:   #F8F9FC;
  --border:     #E2E6F0;
  --border-light: #CDD3E0;

  --text-primary:   #0D0F14;
  --text-secondary: #3D4460;
  --text-muted:     #8B92A8;

  --gold-dim:   rgba(232,160,32,0.10);
  --success-dim: rgba(34,197,94,0.10);
  --warning-dim: rgba(245,158,11,0.10);
  --danger-dim:  rgba(239,68,68,0.10);
  --info-dim:    rgba(59,130,246,0.10);
}

body.light .sidebar { background: #FFFFFF; border-color: #E2E6F0; }
body.light .topbar  { background: #FFFFFF; border-color: #E2E6F0; }
body.light table.fjf tbody tr:hover { background: #F5F7FF; }
body.light .form-control, body.light .form-select { background: #F8F9FC; border-color: #E2E6F0; color: #0D0F14; }
body.light .btn-secondary { background: #F0F2F8; color: #0D0F14; border-color: #CDD3E0; }
body.light .btn-outline   { background: transparent; color: #3D4460; border-color: #CDD3E0; }
body.light .nav-item      { color: #3D4460; }
body.light .nav-item:hover { background: #F0F2F8; color: #0D0F14; }
body.light .nav-item.active { background: rgba(232,160,32,0.10); }
body.light .user-card     { background: #F0F2F8; }
body.light .brand-name    { color: #0D0F14; }
body.light ::-webkit-scrollbar-track { background: #F0F2F8; }
