/* ── Sidebar + Navigation ── */

.sidebar {
  width: var(--sidebar-w);
  background: #0C1222;
  color: white;
  padding: 0;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  overflow-y: auto;
  z-index: 100;
  display: flex;
  flex-direction: column;
}

.sidebar-header {
  padding: 24px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.sidebar-header .logo {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  margin-bottom: 10px;
}

.sidebar-header h1 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
}

.sidebar-header .subtitle {
  font-size: 11px;
  opacity: 0.4;
  margin-top: 4px;
  font-weight: 400;
}

.nav-section {
  padding: 16px 0 8px;
}

.nav-section-title {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.3);
  padding: 0 16px;
  margin-bottom: 6px;
  font-weight: 600;
}

.nav-item {
  display: flex;
  align-items: center;
  padding: 9px 14px;
  margin: 1px 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  border-radius: var(--radius);
  color: rgba(255,255,255,0.6);
  border: none;
  background: none;
  width: calc(100% - 16px);
  text-align: left;
  gap: 0;
}

.nav-item:hover {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.9);
}

.nav-item.active {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-left-color: transparent;
}

.nav-item .icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-item .icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.75;
}

/* ── Mobile menu toggle ──────────────────────────────── */

.menu-toggle {
  display: none;
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: var(--radius);
  background: #0C1222;
  color: white;
  font-size: 18px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: background var(--transition-fast);
}

.menu-toggle:hover {
  background: #1a2744;
}

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(2px);
  z-index: 90;
}

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