:root {
  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --primary-light: #a5b4fc;
  --primary-subtle: rgba(99,102,241,0.14);
  --accent: #22d3ee;
  --accent-2: #f472b6;
  --success: #34d399;
  --warning: #fbbf24;
  --danger: #fb7185;
  --bg: #0b0f1a;
  --bg-surface: #121829;
  --bg-elevated: #1a2138;
  --bg-input: #121829;
  --card-bg: #121829;
  --surface: #121829;
  --sidebar-bg: rgba(13,17,30,0.85);
  --topbar-bg: rgba(11,15,26,0.8);
  --text: #c3cbe0;
  --text-bright: #eef1fa;
  --text-muted: #8b94ad;
  --border: rgba(148,163,222,0.08);
  --border-bold: rgba(148,163,222,0.18);
  --radius: 14px;
  --radius-sm: 10px;
  --sidebar-width: 240px;
  --sidebar-collapsed-width: 56px;
  --topbar-height: 52px;
  --transition: 220ms cubic-bezier(0.2, 0, 0, 1);
  --grad-primary: linear-gradient(135deg, #3a4150 0%, #23272f 55%, #14161b 120%);
  --grad-accent: linear-gradient(135deg, #4b5563, #1f2937);
  --shadow-glow: 0 8px 32px rgba(0,0,0,0.45);
  --shadow-card: 0 6px 24px rgba(0,0,0,0.35);
  color-scheme: dark;
}

body.theme-light {
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --primary-light: #6366f1;
  --primary-subtle: rgba(79,70,229,0.10);
  --accent: #0891b2;
  --accent-2: #db2777;
  --success: #059669;
  --warning: #b45309;
  --danger: #e11d48;
  --bg: #f2f4fb;
  --bg-surface: #ffffff;
  --bg-elevated: #eef1fa;
  --bg-input: #ffffff;
  --card-bg: #ffffff;
  --surface: #ffffff;
  --sidebar-bg: rgba(255,255,255,0.9);
  --topbar-bg: rgba(255,255,255,0.85);
  --text: #2d3643;
  --text-bright: #171d2b;
  --text-muted: #5f6b7a;
  --border: rgba(15,23,42,0.08);
  --border-bold: rgba(15,23,42,0.14);
  --grad-primary: linear-gradient(135deg, #2b2f36 0%, #16181d 55%, #000000 120%);
  --grad-accent: linear-gradient(135deg, #374151, #111827);
  --shadow-glow: 0 8px 32px rgba(0,0,0,0.22);
  --shadow-card: 0 6px 24px rgba(15,23,42,0.08);
  color-scheme: light;
}

body.theme-light input[type="date"],
body.theme-light input[type="datetime-local"] {
  color-scheme: light;
}

* { box-sizing: border-box; }
html { font-size: 14px; overflow-x: hidden; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg) !important;
  color: var(--text) !important;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(600px 400px at 10% -10%, rgba(148,163,184,0.10), transparent 65%),
    radial-gradient(700px 500px at 105% 15%, rgba(100,116,139,0.08), transparent 65%),
    radial-gradient(500px 400px at 60% 110%, rgba(71,85,105,0.08), transparent 65%);
}

body.theme-light::before {
  background:
    radial-gradient(600px 400px at 10% -10%, rgba(15,23,42,0.06), transparent 65%),
    radial-gradient(700px 500px at 105% 15%, rgba(51,65,85,0.05), transparent 65%),
    radial-gradient(500px 400px at 60% 110%, rgba(30,41,59,0.05), transparent 65%);
}

.topbar, .sidebar, .app-wrapper, .mobile-tabbar { position: relative; z-index: 1; }

a { color: var(--text-bright); text-decoration-color: var(--border-bold); transition: color var(--transition); }
a:hover { color: var(--accent); }

.themed-link {
  color: var(--text-bright);
  text-decoration: none;
  border-bottom: 1px solid var(--border-bold);
  transition: color var(--transition), border-color var(--transition);
}
.themed-link:hover {
  color: var(--text-bright);
  border-bottom-color: var(--text-bright);
}

/* ===== TOPBAR ===== */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--topbar-height);
  background: var(--topbar-bg);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--border-bold);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 1100;
}

.topbar-left { display: flex; align-items: center; gap: 8px; }

.topbar-brand {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-bright) !important;
  text-decoration: none;
  letter-spacing: -0.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.topbar-brand:hover { color: #e2e8f0 !important; }

body.theme-light .topbar-brand { color: #000 !important; }
body.theme-light .topbar-brand:hover { color: #d3d3d3 !important; }

.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid transparent;
  background: var(--grad-primary) border-box;
  box-shadow: 0 0 12px rgba(0,0,0,0.4);
  transition: transform var(--transition);
}
.topbar-brand:hover .brand-logo { transform: rotate(-8deg) scale(1.08); }

.topbar-right { display: flex; align-items: center; gap: 4px; }

.topbar-btn, .sidebar-toggle {
  width: 32px; height: 32px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.topbar-btn:hover, .sidebar-toggle:hover {
  background: var(--bg-elevated);
  color: var(--text-bright);
}

/* ===== SIDEBAR ===== */
.app-wrapper {
  display: flex;
  padding-top: var(--topbar-height);
  min-height: 100vh;
  max-width: 100vw;
  overflow-x: hidden;
}

.sidebar {
  position: fixed;
  top: var(--topbar-height);
  left: 0; bottom: 0;
  width: var(--sidebar-width);
  background: var(--sidebar-bg);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-right: 1px solid var(--border-bold);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px 8px;
  transition: width var(--transition);
  z-index: 1050;
  overflow: hidden;
}

.sidebar-nav { display: flex; flex-direction: column; gap: 2px; }

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-muted) !important;
  text-decoration: none !important;
  font-weight: 500;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: all var(--transition);
}
.sidebar-link i { font-size: 1.15rem; flex-shrink: 0; width: 20px; text-align: center; }
.sidebar-link:hover { background: var(--bg-elevated); color: var(--text-bright) !important; transform: translateX(3px); }
.sidebar-link.active {
  background: var(--primary-subtle);
  color: var(--primary-light) !important;
  box-shadow: inset 3px 0 0 var(--primary);
}
body.theme-light .sidebar-link.active {
  background: rgba(15,23,42,0.08);
  color: #111827 !important;
  box-shadow: inset 3px 0 0 #111827;
}

.sidebar-footer { border-top: 1px solid var(--border-bold); padding-top: 8px; }

/* Page loading indicator */
.page-loading-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.2s;
}
.page-loading-bar.loading {
  opacity: 1;
  animation: page-loading-progress 1.4s ease-out forwards;
}
@keyframes page-loading-progress {
  0% { width: 0; }
  60% { width: 70%; }
  100% { width: 92%; }
}
.sidebar-link.nav-loading i,
.mobile-tabbar-link.nav-loading i {
  animation: nav-loading-spin 0.9s linear infinite;
}
@keyframes nav-loading-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Collapsed */
.sidebar-collapsed .sidebar { width: var(--sidebar-collapsed-width); }
.sidebar-collapsed .sidebar .sidebar-link span { opacity: 0; width: 0; overflow: hidden; }
.sidebar-collapsed .main-content { margin-left: var(--sidebar-collapsed-width); }

/* ===== MAIN ===== */
.main-content {
  flex: 1;
  min-width: 0;
  margin-left: var(--sidebar-width);
  transition: margin-left var(--transition);
  min-height: calc(100vh - var(--topbar-height));
}

.content-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 32px;
  overflow-x: hidden;
}

/* ===== MOBILE ===== */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1040;
}

@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); width: var(--sidebar-width); }
  .main-content { margin-left: 0 !important; }
  .content-inner { padding: 16px; }
  .sidebar-mobile-open .sidebar { transform: translateX(0); }
  .sidebar-mobile-open .sidebar-overlay { display: block; }
  .sidebar-collapsed .sidebar { width: var(--sidebar-width); transform: translateX(-100%); }
  .sidebar-collapsed .main-content { margin-left: 0; }

  .topbar { padding: 0 10px; gap: 6px; }
  .topbar-left, .topbar-right { min-width: 0; flex-shrink: 1; }
  .topbar-brand { font-size: 1rem; overflow: hidden; }
  .topbar-brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* ===== CARDS ===== */
.card {
  background: var(--bg-surface) !important;
  border: 1px solid var(--border-bold) !important;
  border-radius: var(--radius) !important;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
  color: var(--text);
  box-shadow: var(--shadow-card);
}
.card:hover {
  border-color: rgba(148,163,184,0.45) !important;
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}
.card-body { padding: 20px; }
.card-header {
  background: transparent !important;
  border-bottom: 1px solid var(--border-bold) !important;
  padding: 14px 20px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-muted) !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}
.card-header::after {
  content: '';
  position: absolute;
  left: 20px; bottom: -1px;
  width: 42px; height: 2px;
  background: var(--grad-primary);
  border-radius: 2px;
}
.card-footer {
  background: transparent !important;
  border-top: 1px solid var(--border-bold) !important;
  padding: 12px 20px;
}

/* Stat Cards */
.stat-card { border: 1px solid var(--border-bold) !important; }
.stat-card:hover { transform: none; }
.stat-card-link {
  display: block;
  text-decoration: none;
  color: inherit !important;
}
.stat-card-link .stat-card { transition: border-color var(--transition), box-shadow var(--transition); }
.stat-card-link:hover .stat-card,
.stat-card-link:active .stat-card {
  border-color: var(--primary) !important;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}
.stat-card .stat-icon {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.stat-card .stat-value { font-size: 1.75rem; font-weight: 800; color: var(--text-bright); line-height: 1; }
.stat-card .stat-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); font-weight: 600; }

.club-card { position: relative; }
.club-card::after {
  content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%;
  background: var(--primary); border-radius: 3px 0 0 3px;
}

.post-card { position: relative; }
.post-card::after {
  content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%;
  background: var(--accent); border-radius: 3px 0 0 3px;
}

/* ===== BUTTONS ===== */
.btn {
  border-radius: var(--radius-sm) !important;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 7px 14px;
  border: none;
  transition: all var(--transition);
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--grad-primary) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
}
.btn-primary:hover {
  background: var(--grad-primary) !important;
  filter: brightness(1.25);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
  transform: translateY(-1px);
}
.btn-outline-primary {
  background: transparent !important;
  border: 1.5px solid var(--primary) !important;
  color: var(--primary-light) !important;
}
.btn-outline-primary:hover { background: var(--primary-subtle) !important; color: #fff !important; }
.btn-ghost {
  background: transparent !important;
  color: var(--text-muted) !important;
  border: 1px solid var(--border-bold) !important;
}
.btn-ghost:hover { background: var(--bg-elevated) !important; color: var(--text-bright) !important; }
.btn-success { background: var(--success) !important; color: #fff !important; }
.btn-warning { background: var(--warning) !important; color: #1d2125 !important; }
.btn-danger { background: var(--danger) !important; color: #fff !important; }
.btn-sm { padding: 4px 8px; font-size: 0.8rem; }
.btn-lg { padding: 10px 20px; font-size: 0.95rem; }

/* ===== FORMS ===== */
.form-control, .form-select {
  background: var(--bg-input) !important;
  border: 1.5px solid var(--border-bold) !important;
  border-radius: var(--radius-sm) !important;
  color: var(--text-bright) !important;
  padding: 8px 12px;
  font-size: 0.9rem;
}
.form-control:focus, .form-select:focus {
  background: var(--bg-input) !important;
  border-color: var(--primary) !important;
  color: var(--text-bright) !important;
  box-shadow: 0 0 0 3px var(--primary-subtle) !important;
}
.form-control::placeholder { color: var(--text-muted) !important; }
.form-label { color: var(--text-muted); font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }

/* ===== BADGES ===== */
.badge { border-radius: 999px; font-weight: 600; padding: 4px 10px; font-size: 0.7rem; letter-spacing: 0.3px; }
.badge-role-admin { background: rgba(255,86,48,0.15) !important; color: var(--danger) !important; border: 1px solid rgba(255,86,48,0.3); }
.badge-role-contributor { background: rgba(255,171,0,0.15) !important; color: var(--warning) !important; border: 1px solid rgba(255,171,0,0.3); }
.badge-role-member { background: rgba(166,197,226,0.08) !important; color: var(--text-muted) !important; border: 1px solid var(--border-bold); }

/* ===== TABLES ===== */
.table { color: var(--text) !important; }
.table th { border-color: var(--border-bold) !important; color: var(--text-muted); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }
.table td { border-color: var(--border-bold) !important; vertical-align: middle; }
.table-hover tbody tr:hover { background: var(--primary-subtle) !important; }

.members-table th { font-size: 0.72rem; }
.members-table td { padding-top: 12px; padding-bottom: 12px; }
.member-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}
.member-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.member-name {
  color: var(--text-bright);
  font-weight: 600;
}
.member-email {
  color: var(--text-muted);
  font-size: 0.82rem;
}

body:not(.theme-light) .members-table {
  background: color-mix(in srgb, var(--bg-surface) 94%, #000 6%);
  --bs-table-bg: color-mix(in srgb, var(--bg-surface) 94%, #000 6%);
  --bs-table-color: var(--text);
  --bs-table-striped-bg: color-mix(in srgb, var(--bg-surface) 90%, #000 10%);
  --bs-table-hover-bg: rgba(76,154,255,0.12);
  --bs-table-border-color: var(--border-bold);
}

body:not(.theme-light) .members-table tbody tr:hover {
  background: rgba(76,154,255,0.12) !important;
}

body:not(.theme-light) .members-table > :not(caption) > * > * {
  background-color: var(--bs-table-bg) !important;
  color: var(--text) !important;
}

/* ===== MODALS ===== */
.modal-content { background: var(--bg-elevated) !important; border: 1px solid var(--border-bold) !important; border-radius: var(--radius) !important; color: var(--text); }
.modal-header { border-color: var(--border-bold) !important; }
.modal-footer { border-color: var(--border-bold) !important; }
.btn-close { filter: invert(1) grayscale(100%) brightness(200%); }
body.theme-light .btn-close { filter: none; }

/* ===== AVATAR ===== */
.member-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.7rem; color: #fff; flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

/* ===== VOTE BUTTONS ===== */
.vote-btn {
  border-radius: var(--radius-sm); padding: 4px 10px; font-size: 0.78rem;
  font-weight: 600; border: 1.5px solid transparent; cursor: pointer; background: transparent;
  transition: all var(--transition);
}
.vote-btn.vote-yes { border-color: var(--success); color: var(--success); }
.vote-btn.vote-yes:hover, .vote-btn.vote-yes.active { background: var(--success); color: #fff; }
.vote-btn.vote-maybe { border-color: var(--warning); color: var(--warning); }
.vote-btn.vote-maybe:hover, .vote-btn.vote-maybe.active { background: var(--warning); color: #1d2125; }
.vote-btn.vote-no { border-color: var(--danger); color: var(--danger); }
.vote-btn.vote-no:hover, .vote-btn.vote-no.active { background: var(--danger); color: #fff; }

/* ===== HERO ===== */
.hero-section { padding: 60px 0 40px; text-align: center; position: relative; }
.hero-logo {
  width: min(220px, 70vw);
  height: auto;
  border-radius: 50%;
  box-shadow: 0 12px 48px rgba(0,0,0,0.4);
  animation: heroFloat 5s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero-section::before {
  content: ''; position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
  width: 500px; height: 500px; background: radial-gradient(circle, rgba(148,163,184,0.14), transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.hero-title {
  font-size: 2.8rem; font-weight: 900; letter-spacing: -1px; line-height: 1.15;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-subtitle { font-size: 1.05rem; color: var(--text-muted); max-width: 520px; margin: 16px auto 0; line-height: 1.6; }

.feature-card { text-align: center; padding: 24px; }
.feature-card .feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 1.3rem;
}

.information-preview {
  max-height: 220px;
  overflow: hidden;
}

.information-preview p:last-child,
.information-preview ul:last-child,
.information-preview ol:last-child {
  margin-bottom: 0;
}

/* Empty state */
.empty-state { padding: 60px 20px; text-align: center; }
.empty-state i { font-size: 3rem; color: var(--text-muted); opacity: 0.3; display: block; margin-bottom: 16px; }

/* Lists */
.list-group-item { background: transparent !important; border-color: var(--border-bold) !important; color: var(--text); }

/* Misc */
.text-muted { color: var(--text-muted) !important; }
.text-danger { color: var(--danger) !important; }
.border-bottom { border-color: var(--border-bold) !important; }
.border-top { border-color: var(--border-bold) !important; }
.border-start { border-color: var(--border-bold) !important; }
hr { border-color: var(--border-bold); }

/* Animations */
.animate-in { animation: fadeIn 0.45s cubic-bezier(0.2, 0, 0, 1) backwards; }
.animate-in:nth-child(1) { animation-delay: 0.02s; }
.animate-in:nth-child(2) { animation-delay: 0.07s; }
.animate-in:nth-child(3) { animation-delay: 0.12s; }
.animate-in:nth-child(4) { animation-delay: 0.17s; }
.animate-in:nth-child(5) { animation-delay: 0.22s; }
.animate-in:nth-child(6) { animation-delay: 0.27s; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(14px) scale(0.985); } to { opacity: 1; transform: translateY(0) scale(1); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-bold); border-radius: 3px; }

/* ===== MOBILE-FIRST APP NAV ===== */
.mobile-tabbar {
  display: none;
}

@media (max-width: 991.98px) {
  :root {
    --topbar-height: 56px;
  }

  .topbar {
    padding: 0 12px;
  }

  .topbar-btn, .sidebar-toggle {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }

  .sidebar-toggle {
    display: none !important;
  }

  .sidebar {
    width: min(84vw, 320px);
    transform: translateX(-105%);
    border-right: none;
    box-shadow: 8px 0 28px rgba(0,0,0,0.32);
    border-radius: 0 16px 16px 0;
    padding: 14px 10px;
  }

  .sidebar-link {
    min-height: 46px;
    padding: 12px 12px;
    font-size: 0.95rem;
  }

  .sidebar-mobile-open .sidebar {
    transform: translateX(0);
  }

  .main-content {
    margin-left: 0 !important;
  }

  .content-inner {
    padding: 14px 14px calc(86px + env(safe-area-inset-bottom));
  }

  .mobile-tabbar {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(8px + env(safe-area-inset-bottom));
    z-index: 1150;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    background: color-mix(in srgb, var(--bg-surface) 82%, transparent);
    border: 1px solid var(--border-bold);
    border-radius: 22px;
    padding: 6px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.35), 0 0 0 1px rgba(148,163,184,0.10);
    backdrop-filter: blur(16px) saturate(170%);
    -webkit-backdrop-filter: blur(16px) saturate(170%);
  }

  .mobile-tabbar-link {
    min-height: 54px;
    border-radius: 16px;
    color: var(--text-muted) !important;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-size: 0.68rem;
    font-weight: 600;
    transition: all var(--transition);
  }

  .mobile-tabbar-link i {
    font-size: 1.2rem;
    line-height: 1;
    transition: transform var(--transition);
  }

  .mobile-tabbar-link:active i { transform: scale(1.2); }

  .mobile-tabbar-link:active,
  .mobile-tabbar-link:hover,
  .mobile-tabbar-link.active {
    background: var(--primary-subtle);
    color: var(--primary-light) !important;
  }

  body.theme-light .mobile-tabbar-link:active,
  body.theme-light .mobile-tabbar-link:hover,
  body.theme-light .mobile-tabbar-link.active {
    background: rgba(15,23,42,0.08);
    color: #111827 !important;
  }

  .sidebar-overlay {
    z-index: 1125;
  }
}

@media (min-width: 992px) {
  .mobile-tabbar {
    display: none !important;
  }
}
