.sidebar {
  position: fixed;
  top: 3.5rem;
  left: -220px;
  bottom: 0;
  width: 220px;
  background-color: var(--navbar);
  z-index: 101;
  transition: left 0.15s ease;
  overflow: hidden;
}

.sidebar.sidebar-mobile-open {
  left: 0;
}

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

.sidebar-overlay.active {
  display: block;
  pointer-events: auto;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  gap: 2px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: background 0.2s;
}

.sidebar-link:hover {
  background: rgba(255, 255, 255, 0.08);
}

.sidebar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
}

@media (min-width: 1201px) {
  .sidebar {
    display: none;
  }

  .sidebar-hamburger {
    display: none;
  }
}
