/* ================================================
   Sidebar
   ================================================ */

.sidebar {
  width: var(--sidebar-w);
  min-width: var(--sidebar-w);
  height: 100vh;
  background: var(--bg-secondary);
  border-right: 1px solid var(--gold-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 0 20px;
  z-index: 100;
  position: relative;
}

/* Logo */
.sidebar-logo {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--gold-dim), var(--gold));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(201,168,76,0.3);
  position: relative;
}
.sidebar-logo svg { width: 24px; height: 24px; fill: #0e0e0e; }

/* Nav */
.sidebar-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
  padding: 0 10px;
}

.nav-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 6px;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  cursor: pointer;
  border: 1px solid transparent;
}
.nav-item svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.nav-item:hover {
  background: var(--gold-glow);
  border-color: var(--gold-border);
  color: var(--gold-light);
}
.nav-item.active {
  background: var(--gold-glow);
  border-color: var(--gold-border-hv);
  color: var(--gold);
}
.nav-item.active::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 60%;
  background: var(--gold);
  border-radius: 0 2px 2px 0;
}

/* Spacer */
.sidebar-spacer { flex: 1; }

/* Divider */
.sidebar-divider {
  width: 40px;
  height: 1px;
  background: var(--gold-border);
  margin: 8px 0;
}

/* Logout */
.sidebar-logout {
  width: 100%;
  padding: 0 10px;
}
.nav-item.logout:hover { background: rgba(180,50,50,0.12); border-color: rgba(180,50,50,0.3); color: #e07070; }
