#admin-sidebar {
  width: 100%;
  display: block;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #46679B;
  border-radius: 0;
  padding: 16px 12px;
  box-sizing: border-box;
  color: #ffffff;

  height: calc(100vh - 20px);
  overflow-y: auto;
}

.sidebar-logo {
  padding: 12px;
  margin: 0 10px 20px 10px;
  text-align: center;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
}

.sidebar-logo img {
  max-width: 100%;
  height: auto;
  max-height: 60px;
  display: inline-block;
}

.sidebar-brand {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 0 10px 20px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.2) !important;
  margin-bottom: 20px;
}

.brand-text {
  font-weight: 700;
  font-size: 1.1rem;
  color: #ffffff !important;
}

.sidebar-nav {
  display: flex !important;
  flex-direction: column;
  gap: 4px;
}

.nav-divider {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5) !important;
  letter-spacing: 0.09em;
  margin: 14px 0 6px 10px;
}

.nav-item {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  text-decoration: none !important;
  color: #ffffff !important;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.nav-item:hover {
  background: rgba(255,255,255,0.15) !important;
  color: #ffffff !important;
}

.nav-item.active {
  background: rgba(255,255,255,0.20);
  color: #ffffff;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: inset 4px 0 0 #ffffff;
}

.nav-icon {
  font-size: 20px;
  opacity: 0.9;
}

@media (max-width: 768px) {
  #admin-sidebar {
    min-height: auto !important;
  }

  .sidebar-nav {
    flex-direction: row !important;
    overflow-x: auto;
  }

  .nav-divider,
  .sidebar-logo {
    display: none !important;
  }
}