.navbar {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 6px rgba(0,0,0,.05);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 999;
}

.nav-left { display:flex; align-items:center; gap:12px; }
.nav-left .brand { font-size: 20px; letter-spacing: -.02em; }
.nav-right .username { color: var(--muted); font-weight: 500; }

.icon-btn {
  background:transparent;
  border: none;
  cursor: pointer;
  font-size: 22px;
  color: black;
  margin: 0px;
  box-shadow: none;
}

icon-btn:hover {
  background:transparent; 
}

.side-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 260px;
  background: #fff;
  border-right: 1px solid var(--border);
  box-shadow: 4px 0 10px rgba(0,0,0,.1);
  transform: translateX(-100%);
  transition: transform .3s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}
.side-menu.show { transform: translateX(0); }

.menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid var(--border);
}
.menu-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu-links li {
  border-bottom: 1px solid var(--border);
}
.menu-links a {
  display: block;
  padding: 14px 18px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: background .2s;
}
.menu-links a:hover {
  background: #f7f7f7;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(2px);
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.overlay.show {
  opacity: 1;
  pointer-events: all;
}

.hidden { display:none !important; }