.sidebar {
  position: sticky;
  top: 88px;
  width: 250px;
  height: calc(100vh - 88px);
  flex-shrink: 0;
  padding: 18px 12px;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.78);
  border-right: 1px solid rgba(217, 226, 236, 0.9);
  box-shadow: 12px 0 35px rgba(15, 23, 42, 0.05);
  backdrop-filter: blur(18px);
}

.nav-section {
  padding: 16px 12px 7px;
  font-size: 10px;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  margin: 3px 0;
  padding: 11px 12px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 14px;
  font-weight: 650;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.nav-item::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 999px;
  background: transparent;
}

.nav-item:hover {
  color: var(--brand-primary);
  background: rgba(12, 43, 94, 0.06);
  transform: translateX(2px);
}

.nav-item.active {
  color: var(--brand-primary);
  background: linear-gradient(90deg, rgba(12, 43, 94, 0.12), rgba(255, 255, 255, 0.78));
  border-color: rgba(135, 167, 216, 0.35);
  box-shadow: var(--shadow-sm);
}

.nav-item.active::before {
  background: var(--brand-gold);
}

.nav-item .icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--text-muted);
  background: rgba(148, 163, 184, 0.11);
  transition: background 0.18s ease, color 0.18s ease;
}

.nav-item:hover .icon,
.nav-item.active .icon {
  color: var(--brand-primary);
  background: rgba(12, 43, 94, 0.1);
}

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