.navigation-sidebar {
  width: 280px;
  height: 100vh;
  background: linear-gradient(180deg, #1a1f2e 0%, #0f1419 100%);
  border-right: 1px solid #2d3748;
  display: flex;
  flex-direction: column;
  transition: width 0.3s ease;
  overflow-y: auto;
  overflow-x: hidden;
}

.navigation-sidebar.collapsed {
  width: 60px;
}

.nav-header {
  padding: 1.5rem 1rem;
  border-bottom: 1px solid #2d3748;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 70px;
}

.nav-header h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.collapse-button {
  background: transparent;
  border: 1px solid #4a5568;
  color: #a0aec0;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.2s;
}

.collapse-button:hover {
  background: #2d3748;
  border-color: #667eea;
  color: #667eea;
}

.nav-content {
  flex: 1;
  padding: 1rem 0;
  overflow-y: auto;
}

.nav-item {
  margin: 0.25rem 0.5rem;
}

.nav-item.level-0 {
  margin-top: 0.75rem;
}

.nav-item-content {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  color: #cbd5e0;
  gap: 0.75rem;
  position: relative;
}

.nav-item-content:hover:not(.disabled) {
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
  transform: translateX(2px);
}

.nav-item-content.active {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
  color: #667eea;
  border-left: 3px solid #667eea;
}

.nav-item-content.parent-active {
  color: #a0aec0;
}

.nav-item-content.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.nav-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
}

.nav-label {
  flex: 1;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-badge {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-expand {
  font-size: 0.7rem;
  transition: transform 0.2s;
  color: #718096;
}

.nav-expand.expanded {
  transform: rotate(90deg);
}

.nav-description {
  font-size: 0.75rem;
  color: #718096;
  padding: 0.25rem 1rem 0.5rem 3.25rem;
  line-height: 1.3;
}

.nav-children {
  margin-left: 0.5rem;
  border-left: 1px solid #2d3748;
  margin-top: 0.25rem;
  padding-left: 0.5rem;
}

.nav-item.level-1 .nav-item-content {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
}

.nav-item.level-1 .nav-icon {
  font-size: 1rem;
}

.nav-footer {
  padding: 1rem;
  border-top: 1px solid #2d3748;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-version {
  font-size: 0.75rem;
  color: #718096;
  text-align: center;
}

.nav-github-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem;
  background: rgba(102, 126, 234, 0.1);
  border-radius: 6px;
  color: #667eea;
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.2s;
}

.nav-github-link:hover {
  background: rgba(102, 126, 234, 0.2);
  transform: translateY(-2px);
}

/* Scrollbar styling */
.navigation-sidebar::-webkit-scrollbar {
  width: 6px;
}

.navigation-sidebar::-webkit-scrollbar-track {
  background: #0f1419;
}

.navigation-sidebar::-webkit-scrollbar-thumb {
  background: #4a5568;
  border-radius: 3px;
}

.navigation-sidebar::-webkit-scrollbar-thumb:hover {
  background: #667eea;
}

/* Collapsed state adjustments */
.navigation-sidebar.collapsed .nav-item-content {
  justify-content: center;
  padding: 0.75rem;
}

.navigation-sidebar.collapsed .nav-children {
  display: none;
}

.navigation-sidebar.collapsed .nav-description {
  display: none;
}

/* Tooltip for collapsed state */
.navigation-sidebar.collapsed .nav-item-content {
  position: relative;
}

.navigation-sidebar.collapsed .nav-item-content::after {
  content: attr(title);
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  background: #2d3748;
  color: #cbd5e0;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  margin-left: 0.5rem;
  z-index: 1000;
  font-size: 0.875rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.navigation-sidebar.collapsed .nav-item-content:hover::after {
  opacity: 1;
}
