/* Sidebar Navigation */
.sidebar {
  width: var(--sidebar-width);
  background: white;
  border-right: 1px solid var(--slate-200);
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  z-index: 100;
  display: flex;
  flex-direction: column;
}

.sidebar-header {
  padding: 24px;
  border-bottom: 1px solid var(--slate-100);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.375rem;
  color: var(--slate-900);
}

.logo-subtitle {
  font-size: 0.75rem;
  color: var(--slate-500);
  font-weight: 500;
}

.sidebar-nav {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
}

.nav-section {
  margin-bottom: 24px;
}

.nav-section-title {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate-400);
  padding: 8px 12px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-lg);
  color: var(--slate-600);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  cursor: pointer;
  margin-bottom: 2px;
  transition: all var(--transition-base);
}

.nav-item:hover {
  background: var(--slate-100);
  color: var(--slate-900);
}

.nav-item.active {
  background: var(--primary-50);
  color: var(--primary-700);
}

.nav-badge {
  margin-left: auto;
  background: var(--primary-100);
  color: var(--primary-700);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.sidebar-footer {
  padding: 16px;
  border-top: 1px solid var(--slate-100);
}

.user-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-lg);
  background: var(--slate-50);
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--accent-500), #ea580c);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
}

.user-name {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--slate-800);
}

.user-role {
  font-size: 0.75rem;
  color: var(--slate-500);
}
