/* Navigation Drawer */
.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100vh;
  background: var(--bg-sidebar);
  box-shadow: -4px 0 32px rgba(0,0,0,0.4);
  z-index: 5000;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  border-left: 1px solid var(--border);
}

.nav-drawer.active {
  transform: translateX(0);
}

.nav-drawer-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 20px;
  overflow-y: auto;
}

.nav-logo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}

.nav-logo h1 {
  font-size: 26px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.5px;
}

.close-drawer-btn {
  background: none;
  border: none;
  font-size: 26px;
  color: var(--text-muted);
  cursor: pointer;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.2s;
  line-height: 1;
}

.close-drawer-btn:hover {
  background: var(--bg-input);
  color: var(--text-primary);
}

.nav-menu {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
  font-family: inherit;
  width: 100%;
}

.nav-item:hover {
  background: var(--bg-input);
  color: var(--accent);
}

.nav-item svg {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-item:hover svg {
  color: var(--accent);
}

@media (max-width: 600px) {
  .nav-drawer {
    width: 88%;
    max-width: 300px;
  }
}
