.admin-shell-body {
  background: #f3f6fb;
  padding-left: 260px;
}

.admin-sidebar {
  background: #0b2d67;
  bottom: 0;
  color: #fff;
  left: 0;
  padding: 16px;
  position: fixed;
  top: 0;
  width: 260px;
  z-index: 50;
  display: flex;
  flex-direction: column;
}

.admin-brand {
  align-items: center;
  color: #fff;
  display: flex;
  gap: 10px;
  margin-bottom: 22px;
}

.admin-logo-box {
  align-items: center;
  background: #1d47a3;
  border-radius: 8px;
  display: flex;
  height: 52px;
  justify-content: center;
  overflow: hidden;
  width: 52px;
}

.admin-logo-box img {
  height: 34px;
  object-fit: contain;
  width: 44px;
}

.admin-brand strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.15;
}

.admin-brand small {
  color: rgba(255, 255, 255, 0.72);
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  margin-top: 2px;
}

.admin-side-nav {
  display: grid;
  align-content: start;
  gap: 6px;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  margin-right: -8px;
  padding-right: 8px;
  margin-bottom: 8px;
}

.admin-side-nav::-webkit-scrollbar {
  width: 4px;
}
.admin-side-nav::-webkit-scrollbar-track {
  background: transparent;
}
.admin-side-nav::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.admin-menu-title {
  color: #6ee7b7;
  font-size: 0.78rem;
  font-weight: 700;
  margin: 0 0 6px;
}

.admin-side-link {
  align-items: center;
  border-radius: 9px;
  color: #fff;
  display: flex;
  font-size: 0.98rem;
  font-weight: 700;
  min-height: 40px;
  padding: 0 16px;
  transition: background-color 140ms ease, color 140ms ease;
}

.admin-side-link:hover,
.admin-side-link.active {
  background: #ffd21f;
  color: #001c5b;
}

.admin-side-link.disabled {
  cursor: default;
  opacity: 0.78;
}

.admin-side-link.disabled:hover {
  background: transparent;
  color: #fff;
}

.admin-menu-group {
  border-radius: 8px;
}

.admin-menu-group summary {
  align-items: center;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 0.94rem;
  font-weight: 800;
  justify-content: space-between;
  list-style: none;
  min-height: 34px;
  padding: 0 12px;
}

.admin-menu-group summary::-webkit-details-marker {
  display: none;
}

.admin-menu-group summary::after {
  content: "⌄";
  font-size: 0.9rem;
  transition: transform 140ms ease;
}

.admin-menu-group[open] summary::after {
  transform: rotate(180deg);
}

.admin-menu-group summary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.admin-submenu {
  display: grid;
  gap: 2px;
  margin: 2px 0 6px;
  padding-left: 18px;
}

.admin-submenu:empty {
  display: none;
}

.admin-submenu a {
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.25;
  padding: 6px 10px;
}

.admin-submenu a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #dcfce7;
}

.admin-submenu a.active {
  background: rgba(187, 247, 208, 0.2);
  color: #dcfce7;
  border-left: 3px solid #4ade80;
  padding-left: 7px; /* 10px original - 3px border */
}

.admin-sidebar-user {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 12px;
  flex-shrink: 0;
}

.admin-sidebar-user span {
  color: #ffd21f;
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
}

.admin-sidebar-user strong {
  display: block;
  font-size: 0.92rem;
  margin-top: 2px;
}

@media (max-width: 860px) {
  .admin-shell-body {
    padding-left: 0;
  }

  .admin-sidebar {
    position: static;
    width: 100%;
  }

  .admin-sidebar-user {
    margin-top: 12px;
    position: static;
  }
}

@media print {
  .admin-sidebar {
    display: none !important;
  }
  .admin-shell-body {
    padding-left: 0 !important;
    background: transparent !important;
  }
}
