/* ==========================================================================
   PropOps — Estilos personalizados sobre Bootstrap 5
   ========================================================================== */

:root {
  --bg-0: #0a0e14;
  --bg-1: #11161f;
  --bg-2: #1a212d;
  --bg-3: #242c3a;
  --bg-4: #2f3848;
  --line: #2a3342;
  --line-strong: #3a4455;
  --ink-0: #f5f7fa;
  --ink-1: #d4dae3;
  --ink-2: #8b95a7;
  --ink-3: #5a6373;
  --accent: var(--brand, #5b8def);
  --accent-2: #4a7fdc;
  --ok: #3ecf8e;
  --warn: #f0b429;
  --bad: #ef4f5e;
  --info: #4fc3f7;
  --pink: #ff6b9d;
}

html, body {
  background: var(--bg-0);
  color: var(--ink-1);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Bootstrap dark adjustments */
[data-bs-theme="dark"] {
  --bs-body-bg: var(--bg-0);
  --bs-body-color: var(--ink-1);
  --bs-border-color: var(--line);
}

a { color: var(--accent); }
a:hover { color: var(--accent-2); }

.text-muted { color: var(--ink-3) !important; }

/* ===== LOGIN ===== */
.login-body {
  background:
    radial-gradient(ellipse at top left, rgba(91,141,239,.08), transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(62,207,142,.06), transparent 50%),
    var(--bg-0);
  min-height: 100vh;
  display: flex; align-items: center; padding: 24px;
}
.login-wrap { width: 100%; max-width: 420px; margin: auto; }
.login-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px 24px;
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
}
.login-mark {
  width: 58px; height: 58px;
  background: linear-gradient(135deg, var(--accent), #8b5cf6);
  border-radius: 14px;
  display: grid; place-items: center;
  color: white; font-weight: 800; font-size: 28px;
  margin-bottom: 14px;
  box-shadow: 0 8px 24px rgba(91,141,239,.35);
}
.login-title { font-size: 26px; font-weight: 700; color: var(--ink-0); margin: 0; }
.login-sub   { color: var(--ink-3); font-size: 13px; }

/* ===== TOPBAR ===== */
.topbar {
  background: var(--bg-1);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  position: sticky; top: 0; z-index: 1030;
  height: 60px;
  display: flex; align-items: center;
}
.brand-link {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink-0); text-decoration: none;
  flex: 1; min-width: 0;
}
.brand-mark {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--accent), #8b5cf6);
  border-radius: 9px;
  display: grid; place-items: center;
  color: white; font-weight: 800; font-size: 14px;
  flex-shrink: 0;
}
.brand-info { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand-property {
  font-weight: 700; font-size: 15px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 200px;
}
.brand-user {
  font-size: 10px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-family: ui-monospace, monospace;
}

.avatar-btn {
  background: transparent; border: 1px solid var(--line);
  padding: 0; width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
}
.avatar {
  width: 30px; height: 30px;
  background: var(--bg-3);
  color: var(--ink-0);
  font-size: 11px; font-weight: 700;
  border-radius: 50%;
  display: grid; place-items: center;
  letter-spacing: .02em;
}
.avatar-lg {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--accent), #8b5cf6);
  color: white; font-weight: 800; font-size: 22px;
  border-radius: 50%;
  display: grid; place-items: center;
}

/* ===== LAYOUT (sidebar + content) ===== */
.layout {
  display: grid;
  grid-template-columns: 1fr;
  min-height: calc(100vh - 60px);
}
@media (min-width: 768px) {
  .layout { grid-template-columns: 230px 1fr; }
}

.sidebar {
  background: var(--bg-1);
  border-right: 1px solid var(--line);
  padding: 14px 0;
  width: 280px;
}
@media (min-width: 768px) {
  .sidebar {
    width: 230px !important;
    position: sticky; top: 60px;
    height: calc(100vh - 60px);
    overflow-y: auto;
    transform: none !important;
    visibility: visible !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .sidebar::-webkit-scrollbar {
    display: none;
  }
  /*
   * Bootstrap: .offcanvas-md .offcanvas-body { display: flex } en md+ con dirección row.
   * El <ul> no crece al ancho del aside → franja del color del sidebar a la derecha.
   */
  .sidebar.offcanvas-md .offcanvas-body {
    display: block;
    width: 100%;
  }
  .sidebar .nav-list {
    width: 100%;
  }
}

.nav-list {
  list-style: none; padding: 0; margin: 0;
}
.nav-list > li {
  width: 100%;
}
.nav-list .nav-link {
  display: flex; align-items: center; gap: 10px;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  padding: 10px 16px;
  color: var(--ink-2);
  text-decoration: none;
  font-size: 14px;
  border-left: 3px solid transparent;
  transition: all .15s;
}
.nav-list .nav-link i { width: 18px; font-size: 16px; }
.nav-list .nav-link:hover { background: var(--bg-2); color: var(--ink-0); }
.nav-list .nav-link.active {
  background: var(--bg-2);
  color: var(--ink-0);
  border-left-color: var(--accent);
  font-weight: 600;
}
.nav-section {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink-3);
  padding: 16px 16px 6px;
  font-family: ui-monospace, monospace;
}

/* ===== CONTENT ===== */
.content {
  padding: 18px;
  padding-bottom: 90px; /* mobile bottom-nav clearance */
}
@media (min-width: 768px) {
  .content { padding: 28px; padding-bottom: 28px; }
}

/* ===== PAGE HEAD ===== */
.page-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 12px;
  margin-bottom: 20px;
}
.page-title {
  font-size: 24px; font-weight: 800;
  color: var(--ink-0);
  letter-spacing: -.02em;
  margin: 0;
}
.page-sub {
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin: 4px 0 0;
  font-family: ui-monospace, monospace;
}

/* ===== KPI ===== */
.kpi {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 14px;
  position: relative;
  overflow: hidden;
  text-decoration: none; color: var(--ink-1);
  display: block;
  transition: transform .15s, border-color .15s;
}
.kpi:hover { transform: translateY(-2px); border-color: var(--line-strong); color: var(--ink-1); }
.kpi::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
}
.kpi-danger::before  { background: var(--bad); }
.kpi-warning::before { background: var(--warn); }
.kpi-info::before    { background: var(--info); }
.kpi-success::before { background: var(--ok); }
.kpi-pink::before    { background: var(--pink); }
.kpi-icon { font-size: 18px; opacity: .7; margin-bottom: 6px; }
.kpi-danger .kpi-icon  { color: var(--bad); opacity: 1; }
.kpi-warning .kpi-icon { color: var(--warn); opacity: 1; }
.kpi-info .kpi-icon    { color: var(--info); opacity: 1; }
.kpi-success .kpi-icon { color: var(--ok); opacity: 1; }
.kpi-pink .kpi-icon    { color: var(--pink); opacity: 1; }
.kpi-val {
  font-size: 30px; font-weight: 800;
  color: var(--ink-0); line-height: 1;
  letter-spacing: -.03em;
}
.kpi-lbl {
  font-size: 10px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: 6px;
  font-family: ui-monospace, monospace;
}

/* ===== CARDS ===== */
.card-pn {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
}
.card-pn-title {
  font-size: 13px; font-weight: 700;
  color: var(--ink-0);
  text-transform: uppercase;
  letter-spacing: .05em;
  display: inline-flex; align-items: center; gap: 6px;
}

.list-pn { list-style: none; padding: 0; margin: 0; }
.list-pn li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.list-pn li:last-child { border-bottom: none; }

.list-pn-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-1);
  text-decoration: none;
  display: block;
}
.list-pn-item:last-child { border-bottom: none; }
.list-pn-item:hover { color: var(--ink-0); }

/* List card (item de listado tipo botón) */
.list-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  display: block;
  color: var(--ink-1);
  text-decoration: none;
  transition: all .15s;
  height: 100%;
}
.list-card:hover {
  background: var(--bg-2);
  border-color: var(--line-strong);
  color: var(--ink-1);
  transform: translateY(-1px);
}

/* Stat cell */
.stat {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  text-align: center;
}
.stat-val { font-size: 18px; font-weight: 700; color: var(--ink-0); }
.stat-lbl { font-size: 10px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; margin-top: 4px; }

/* Module quick button */
.mod-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px;
  padding: 14px 8px; gap: 6px;
  text-decoration: none; color: var(--ink-1);
  text-align: center;
  transition: all .15s;
  height: 100%;
}
.mod-btn:hover { background: var(--bg-3); border-color: var(--accent); color: var(--ink-0); }
.mod-btn i { font-size: 20px; color: var(--accent); }
.mod-btn span { font-size: 11px; }

/* ===== FORM CONTROLS ===== */
.form-control, .form-select, .form-control:focus, .form-select:focus {
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--ink-0);
}
.form-control:focus, .form-select:focus {
  background: var(--bg-3);
  border-color: var(--accent);
  box-shadow: 0 0 0 .2rem rgba(91,141,239,.15);
  color: var(--ink-0);
}
.form-control::placeholder { color: var(--ink-3); }
.form-label { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); margin-bottom: 4px; }
.form-check-input { background-color: var(--bg-3); border-color: var(--line-strong); }
.form-check-input:checked { background-color: var(--accent); border-color: var(--accent); }

/* ===== BUTTONS ===== */
.btn-primary {
  --bs-btn-bg: var(--accent);
  --bs-btn-border-color: var(--accent);
  --bs-btn-hover-bg: var(--accent-2);
  --bs-btn-hover-border-color: var(--accent-2);
}
.btn-outline-light {
  --bs-btn-color: var(--ink-1);
  --bs-btn-border-color: var(--line-strong);
  --bs-btn-hover-bg: var(--bg-3);
  --bs-btn-hover-color: var(--ink-0);
  --bs-btn-hover-border-color: var(--line-strong);
}

/* ===== TABLE ===== */
.table-dark-pn {
  --bs-table-bg: var(--bg-1);
  --bs-table-color: var(--ink-1);
  --bs-table-border-color: var(--line);
  --bs-table-striped-bg: var(--bg-2);
  margin-bottom: 0;
}
.table-dark-pn th {
  font-size: 11px; text-transform: uppercase; letter-spacing: .05em;
  color: var(--ink-3); border-bottom: 1px solid var(--line-strong);
  font-weight: 600;
}
.table-dark-pn td { vertical-align: middle; }
.table-warning-pn {
  --bs-table-bg: rgba(240,180,41,.08);
}

/* ===== FILTER PILLS ===== */
.filter-pills {
  display: flex; gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.filter-pills::-webkit-scrollbar { display: none; }
.pill {
  background: var(--bg-1);
  border: 1px solid var(--line);
  color: var(--ink-2);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  text-decoration: none;
  white-space: nowrap;
  transition: all .12s;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-family: ui-monospace, monospace;
}
.pill:hover { background: var(--bg-2); color: var(--ink-0); }
.pill.active { background: var(--accent); border-color: var(--accent); color: white; }

/* ===== MODAL ===== */
.modal-content {
  background: var(--bg-1);
  border: 1px solid var(--line);
  color: var(--ink-1);
}
.modal-header { border-bottom: 1px solid var(--line); }
.modal-footer { border-top: 1px solid var(--line); }
.modal-title { color: var(--ink-0); }
.btn-close { filter: invert(1) opacity(.7); }

/* ===== ACCORDION ===== */
.accordion-item {
  background: var(--bg-1);
  border: 1px solid var(--line);
  margin-bottom: 8px;
  border-radius: 10px !important;
  overflow: hidden;
}
.accordion-button {
  background: var(--bg-1);
  color: var(--ink-0);
  font-weight: 600;
  font-size: 14px;
  padding: 14px 16px;
}
.accordion-button:not(.collapsed) {
  background: var(--bg-2);
  color: var(--ink-0);
  box-shadow: none;
}
.accordion-button:focus { box-shadow: none; border-color: var(--accent); }
.accordion-button::after { filter: invert(1); }
.accordion-body { background: var(--bg-1); padding: 16px; }

/* ===== CHECKLIST ===== */
.checklist {
  display: flex; flex-direction: column; gap: 4px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px;
}
.check-row {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px;
  border-radius: 6px;
  cursor: pointer;
  margin: 0;
}
.check-row:hover { background: var(--bg-3); }
.check-row .form-check-input { margin-top: 0; flex-shrink: 0; width: 20px; height: 20px; }

/* ===== PROGRESS ===== */
.progress { background: var(--bg-3); }

/* ===== ALERTS ===== */
.alert-success { background: rgba(62,207,142,.12); border-color: rgba(62,207,142,.4); color: #8be3b6; }
.alert-danger  { background: rgba(239,79,94,.12); border-color: rgba(239,79,94,.4); color: #f29ca5; }
.alert-warning { background: rgba(240,180,41,.12); border-color: rgba(240,180,41,.4); color: #f7d27a; }
.alert-info    { background: rgba(79,195,247,.12); border-color: rgba(79,195,247,.4); color: #97dcfa; }

/* ===== EMPTY ===== */
.empty-state {
  padding: 60px 20px;
  text-align: center;
  color: var(--ink-3);
  background: var(--bg-1);
  border: 1px dashed var(--line);
  border-radius: 14px;
}
.empty-state h5 { color: var(--ink-1); margin-top: 12px; }

/* ===== BOTTOM NAV (mobile) ===== */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: var(--bg-1);
  border-top: 1px solid var(--line);
  z-index: 1020;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.bn-item {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 10px 4px;
  background: none; border: none;
  color: var(--ink-3);
  text-decoration: none;
  font-size: 10px;
  text-transform: uppercase; letter-spacing: .04em;
}
.bn-item i { font-size: 18px; }
.bn-item.active { color: var(--accent); }

/* ===== TOAST ===== */
.toast-pn {
  position: fixed; bottom: 100px; left: 50%; transform: translateX(-50%);
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  color: var(--ink-0);
  padding: 10px 18px;
  border-radius: 24px;
  font-size: 13px; font-weight: 500;
  z-index: 9999;
  box-shadow: 0 8px 24px rgba(0,0,0,.5);
  animation: slideUp .3s ease, fadeOut .3s ease 2s forwards;
}
.toast-pn.ok  { border-color: var(--ok); }
.toast-pn.bad { border-color: var(--bad); }
@keyframes slideUp { from { transform: translate(-50%, 30px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }
@keyframes fadeOut { to { opacity: 0; transform: translate(-50%, -10px); } }

/* ===== UTILITIES ===== */
.cursor-pointer { cursor: pointer; }
hr { border-color: var(--line); opacity: 1; }
code { color: var(--accent); background: var(--bg-2); padding: 2px 6px; border-radius: 4px; font-size: 12px; }

/* dropdown menu en dark */
.dropdown-menu {
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.dropdown-item { color: var(--ink-1); }
.dropdown-item:hover, .dropdown-item:focus { background: var(--bg-3); color: var(--ink-0); }
.dropdown-header { color: var(--ink-3); }
.dropdown-divider { border-top: 1px solid var(--line); }

/* offcanvas */
.offcanvas { background: var(--bg-1); color: var(--ink-1); }
.offcanvas-header { border-bottom: 1px solid var(--line); }

/* badges */
.badge { font-weight: 600; padding: 4px 8px; }

/* ===== PHOTO GALLERY ===== */
.photo-gallery .photo-cell { display: flex; flex-direction: column; }
.photo-thumb-wrap {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
  aspect-ratio: 1 / 1;
}
.photo-thumb {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .2s;
  display: block;
}
.photo-thumb-wrap:hover .photo-thumb { transform: scale(1.04); }
.photo-empty {
  border: 1px dashed var(--line);
  border-radius: 10px;
}

/* print */
@media print {
  .topbar, .sidebar, .bottom-nav, .modal, .filter-pills, .no-print { display: none !important; }
  .btn:not(.d-print-inline-block) { display: none !important; }
  .layout { grid-template-columns: 1fr; }
  .content { padding: 0 !important; }
  body { background: white !important; color: black !important; }
  .card-pn, .list-card, .stat, .kpi {
    background: white !important; color: black !important;
    border: 1px solid #ccc !important; box-shadow: none !important;
  }
  .page-title, .stat-val, .kpi-val, .card-pn-title { color: black !important; }
  .text-muted, .page-sub, .stat-lbl, .kpi-lbl { color: #555 !important; }
  /* Tablas y badges legibles en B/N */
  .table { color: black !important; }
  .table th { background: #f0f0f0 !important; color: black !important; }
  .badge { border: 1px solid #999; color: black !important; background: #eee !important; }
  /* Inputs como texto plano al imprimir */
  input.form-control, select.form-select, textarea.form-control {
    background: transparent !important; color: black !important;
    border: none !important; border-bottom: 1px solid #ccc !important;
    padding: 0 !important;
  }
  .form-label { color: #555 !important; }
  /* No cortar tablas/cards a la mitad */
  table, .card-pn, .list-card { page-break-inside: avoid; }
  a { color: black !important; text-decoration: none !important; }
}

/* ===== TOPBAR ICONS (tema claro/oscuro) ===== */
.topbar-icon-btn {
  color: var(--ink-2);
  border-radius: 10px;
}
.topbar-icon-btn:hover { color: var(--ink-0); background: var(--bg-2); }

.login-top-bar {
  position: fixed;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 1050;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}
.login-top-bar > * { pointer-events: auto; }

.login-top-bar .login-theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-1);
  color: var(--ink-2);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
}
.login-top-bar .login-theme-toggle:hover { color: var(--ink-0); border-color: var(--line-strong); }

.lang-switch.btn-group {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
}
.lang-switch .btn {
  font-size: 11px;
  font-weight: 700;
  padding: 0.28rem 0.55rem;
  line-height: 1.2;
  color: var(--ink-2);
  background: var(--bg-1);
  border: none;
  border-radius: 0;
}
.lang-switch .btn:hover { color: var(--ink-0); background: var(--bg-2); }
.lang-switch .btn.active {
  background: var(--accent);
  color: #fff;
}
.lang-switch .btn.active:hover { color: #fff; }

/* ===== TEMA CLARO ===== */
[data-bs-theme="light"] {
  --bg-0: #e8ecf4;
  --bg-1: #ffffff;
  --bg-2: #f1f4fa;
  --bg-3: #e4e9f2;
  --bg-4: #d8dee8;
  --line: #d0d7e3;
  --line-strong: #b8c2d4;
  --ink-0: #0d1117;
  --ink-1: #24292f;
  --ink-2: #57606a;
  --ink-3: #8c959f;
  --accent-2: #3d6fd8;
}

html[data-bs-theme="light"] body {
  background: var(--bg-0);
  color: var(--ink-1);
}

html[data-bs-theme="light"] {
  --bs-body-bg: var(--bg-0);
  --bs-body-color: var(--ink-1);
  --bs-border-color: var(--line);
}

[data-bs-theme="light"] .login-body {
  background:
    radial-gradient(ellipse at top left, rgba(91,141,239,.12), transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(62,207,142,.08), transparent 50%),
    var(--bg-0);
}
[data-bs-theme="light"] .login-card {
  box-shadow: 0 12px 40px rgba(15, 20, 40, .08);
}
[data-bs-theme="light"] .toast-pn {
  box-shadow: 0 8px 24px rgba(15, 20, 40, .12);
}

[data-bs-theme="light"] .form-control:focus,
[data-bs-theme="light"] .form-select:focus {
  box-shadow: 0 0 0 .2rem rgba(13, 110, 253, .18);
}

[data-bs-theme="light"] .btn-close {
  filter: none;
  opacity: 0.55;
}

[data-bs-theme="light"] .accordion-button::after {
  filter: none;
}

[data-bs-theme="light"] .alert-success {
  background: rgba(25, 135, 84, .12);
  border-color: rgba(25, 135, 84, .35);
  color: #0f5132;
}
[data-bs-theme="light"] .alert-danger {
  background: rgba(220, 53, 69, .1);
  border-color: rgba(220, 53, 69, .35);
  color: #842029;
}
[data-bs-theme="light"] .alert-warning {
  background: rgba(255, 193, 7, .15);
  border-color: rgba(217, 164, 6, .4);
  color: #664d03;
}
[data-bs-theme="light"] .alert-info {
  background: rgba(13, 202, 240, .12);
  border-color: rgba(13, 202, 240, .35);
  color: #055160;
}

/* Modo claro: sidebar y ítem activo alineados al borde del panel */
@media (min-width: 768px) {
  html[data-bs-theme="light"] .layout {
    background: var(--bg-0);
  }
  html[data-bs-theme="light"] .content {
    background: var(--bg-1);
    min-height: calc(100vh - 60px);
  }
}
html[data-bs-theme="light"] .sidebar {
  background: var(--bg-2);
  border-right-color: var(--line-strong);
}
html[data-bs-theme="light"] .topbar {
  border-bottom-color: var(--line-strong);
}
html[data-bs-theme="light"] .nav-list .nav-link {
  border-radius: 0;
}
html[data-bs-theme="light"] .nav-list .nav-link.active {
  background: var(--bg-1);
  border-left-color: var(--accent);
  box-shadow: none;
}
