/* Sidebar layout styles */
:root {
  --brand-500: #1d6ed6; /* aligned with ui-kit accent */
  --brand-600: #0C4DA2; /* primary brand */
  --brand-700: #0a3e80; /* darker variant */
  --surface-1: #f5f7fb;
}

.layout-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - 56px);
  background: var(--surface-1);
}

.sidenav {
  background: var(--brand-600);
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 12px 8px;
  border-right: 1px solid rgba(0,0,0,0.1);
}

.sidenav-header {
  padding: 8px 12px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  margin-bottom: 8px;
}

.sidenav-header .title {
  font-weight: 600;
  letter-spacing: 0.2px;
}

.menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
}

.menu-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  opacity: 0.95;
}

.menu-link:hover {
  background: var(--brand-500);
  opacity: 1;
}

.menu-link.active {
  background: #fff;
  color: var(--brand-700);
}

.menu-icon {
  width: 20px;
  text-align: center;
}

.menu-text {
  flex: 1;
}

.content {
  padding: 24px;
}

/* Hide old top nav list to avoid duplication */
.navbar .navbar-nav { display: none !important; }