.adminLayout {
  display: flex;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(9, 22, 16, 0.98), rgba(7, 17, 13, 0.98));
}

.sidebar {
  width: 280px;
  background: rgba(9, 19, 15, 0.94);
  border-right: 1px solid var(--border);
  backdrop-filter: blur(var(--glass-blur));
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 70px; /* Below the main header */
  bottom: 0;
  left: 0;
  overflow-y: auto;
  z-index: 100;
}

.brandCard {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 84px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--foreground);
}

.brandCard:hover {
  background: rgba(238, 248, 239, 0.05);
}

.brandMark,
.brandLogo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}

.brandMark {
  display: inline-block;
  position: relative;
  border-radius: 50% 50% 44% 44%;
  background: linear-gradient(135deg, var(--primary), #71e7a9);
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.18);
}

.brandMark::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 28px;
  width: 6px;
  height: 14px;
  border-radius: 4px;
  background: #4a2f16;
}

.brandLogo {
  background: rgba(255, 255, 255, 0.04);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.brandText {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brandText strong {
  color: var(--primary);
  font-size: 1rem;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brandText small {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.navItem {
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted-strong);
  font-weight: 700;
  border-left: 3px solid transparent;
  transition: all var(--transition-fast);
}

.navItem:hover {
  background: rgba(238, 248, 239, 0.06);
  color: var(--foreground);
}

.navItem.active {
  background: linear-gradient(90deg, rgba(45, 212, 143, 0.2), rgba(45, 212, 143, 0.08));
  color: var(--primary);
  border-left-color: var(--primary);
}

.mainContent {
  flex: 1;
  margin-left: 280px;
  padding: 40px;
  color: var(--foreground);
}

@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
  }
  .mainContent {
    margin-left: 0;
  }
}
