body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  font-family: "Space Grotesk", Arial, sans-serif;
  background: linear-gradient(135deg, #0f172a, #1e293b);
}

.sidebar {
  width: 260px;
  min-height: 100vh;
  padding: 18px 14px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 10px 0 35px rgba(0, 0, 0, 0.25);
  transition: width 0.3s ease;
  overflow: hidden;
}

.sidebar.collapsed {
  width: 76px;
}

.sidebar-toggle {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 16px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  margin-bottom: 26px;
  backdrop-filter: blur(12px);
}

.sidebar-toggle:hover {
  background: rgba(255,255,255,0.22);
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 52px;
  padding: 0 16px;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  border-radius: 18px;
  white-space: nowrap;
  overflow: hidden;
  transition: 0.25s ease;
}

.nav-item:hover {
  background: rgba(255,255,255,0.14);
  color: #fff;
}

.nav-item.active {
  background: rgba(255,255,255,0.22);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25);
}

.icon {
  min-width: 24px;
  font-size: 22px;
  text-align: center;
  flex-shrink: 0;
}

.label {
  opacity: 1;
  transition: opacity 0.15s ease, transform 0.2s ease;
}

.sidebar.collapsed .label {
  opacity: 0;
  transform: translateX(-8px);
  width: 0;
  overflow: hidden;
}

.sidebar.collapsed .nav-item {
  width: 48px;
  padding: 0;
  justify-content: center;
  gap: 0;
}

.sidebar.collapsed .sidebar-toggle {
  margin-left: 0;
}

main {
  flex: 1;
  padding: 32px;
  color: white;
}