/* ============================================
   3. SIDEBAR
   ============================================ */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background-color: #FFFDF6;
  border-right: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  z-index: 100;
}

.sidebar-header {
  padding: 24px 20px;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-logo-icon {
  width: 40px;
  height: 40px;
  background-color: var(--primary-gold);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.sidebar-logo-text {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
}

.sidebar-logo-subtitle {
  font-size: 0.75rem;
  color: var(--gray-400);
}

.sidebar-nav {
  flex: 1;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: all 0.15s ease;
}

.sidebar-link:hover {
  background-color: rgba(255, 187, 99, 0.12);
  color: var(--gray-900);
}

.sidebar-link.active {
  background-color: var(--primary-gold);
  color: white;
}

.sidebar-link.active svg {
  color: white;
}

.sidebar-link svg {
  color: #9C8560;
  flex-shrink: 0;
}

.sidebar-link:hover svg {
  color: var(--primary-gold);
}

.sidebar-link.active:hover {
  color: white;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.sidebar-link.active:hover svg {
  color: white;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.7));
}

.sidebar-footer {
  padding: 16px 12px;
  border-top: 1px solid rgba(212, 168, 67, 0.2);
}

.sidebar-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  transition: background-color 0.15s ease;
}

.sidebar-profile:hover {
  background-color: var(--gray-100);
}

.sidebar-avatar {
  width: 36px;
  height: 36px;
  background-color: var(--gray-800);
  color: white;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 600;
}

.sidebar-profile-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-900);
}

.sidebar-profile-link {
  font-size: 0.75rem;
  color: var(--gray-400);
}

.sidebar-logout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 4px;
  padding: 8px 12px;
  border: none;
  border-radius: var(--radius-md);
  background: transparent;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-400);
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}
.sidebar-logout:hover {
  background-color: #fef2f2;
  color: #b91c1c;
}

