/* Sidebar Component */
.admin-sidebar {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Sidebar Header */
.admin-sidebar__header {
  padding: var(--spacing-lg);
  border-bottom: 1px solid var(--color-gray-800);
  margin-bottom: var(--spacing-md);
}

.admin-sidebar__title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-gray-100);
  margin: 0;
  letter-spacing: -0.025em;
  text-align: center;
}

.admin-sidebar__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-sm);
}

.admin-sidebar__version {
  font-size: var(--font-size-sm);
  color: var(--color-gray-300);
  font-weight: 500;
}

.admin-sidebar__github {
  display: inline-flex;
  align-items: center;
  color: var(--color-gray-400);
  transition: color var(--transition-fast);
}

.admin-sidebar__github:hover {
  color: var(--color-gray-100);
}

.admin-sidebar__github svg {
  width: 18px;
  height: 18px;
}

/* Sidebar Navigation */
.admin-sidebar__nav {
  flex: 1;
  padding: 0 var(--spacing-md);
}

.admin-nav {
  list-style: none;
}

.admin-nav__item {
  margin-bottom: var(--spacing-xs);
}

.admin-nav__link {
  display: block;
  padding: var(--spacing-sm) var(--spacing-md);
  color: var(--color-gray-300);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  font-size: var(--font-size-sm);
  font-weight: 500;
  position: relative;
}

.admin-nav__link:hover {
  color: white;
  background-color: var(--color-gray-800);
  text-decoration: none;
}

/* Active Navigation Item */
.admin-nav__link--active {
  color: white;
  background-color: var(--color-gray-800);
}

.admin-nav__link--active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 20px;
  background-color: var(--color-primary-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Disabled Navigation Item */
.admin-nav__link--disabled {
  color: var(--color-gray-500);
  cursor: not-allowed;
  opacity: 0.6;
}

.admin-nav__link--disabled:hover {
  color: var(--color-gray-500);
  background-color: transparent;
}

/* Sidebar Footer */
.admin-sidebar__footer {
  margin-top: auto;
  padding: var(--spacing-lg);
  border-top: 1px solid var(--color-gray-800);
  text-align: center;
}

.admin-sidebar__footer-content {
  font-size: var(--font-size-xs);
  color: var(--color-gray-400);
  margin-bottom: var(--spacing-xs);
}

.admin-sidebar__footer-sponsor {
  font-size: var(--font-size-xs);
  color: var(--color-gray-500);
}

.admin-sidebar__footer a {
  color: var(--color-primary-400);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.admin-sidebar__footer a:hover {
  color: var(--color-primary-300);
  text-decoration: underline;
}