.app-sidebar {
  width: 270px;
  min-height: 100vh;
  background: #0f172a;
  color: #cbd5e1;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255,255,255,.08);
}

.sidebar-brand {
  height: 155px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #07111f, #0f172a);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.sidebar-brand-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.sidebar-logo {
  width: 185px;
  max-width: 100%;
  max-height: 112px;
  object-fit: contain;
  border-radius: 18px;
  padding: 8px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 14px 32px rgba(0,0,0,.32);
  transition: .2s ease;
}

.sidebar-logo:hover {
  transform: scale(1.03);
}

.sidebar-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 16px 12px;
}

.sidebar-section {
  margin-bottom: 18px;
}

.sidebar-label {
  color: #64748b;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 0 10px;
  margin-bottom: 8px;
}

.sidebar-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  margin-bottom: 4px;
  border-radius: 13px;
  color: #cbd5e1;
  font-size: .94rem;
  font-weight: 600;
  transition: .16s ease;
}

.sidebar-link i {
  width: 22px;
  font-size: 1.05rem;
  color: #94a3b8;
}

.sidebar-link:hover {
  color: #fff;
  background: rgba(255,255,255,.07);
}

.sidebar-link:hover i {
  color: #fff;
}

.sidebar-link.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(37,99,235,.95), rgba(14,165,233,.85));
  box-shadow: 0 8px 20px rgba(37,99,235,.22);
}

.sidebar-link.active i {
  color: #fff;
}

.sidebar-link.active::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 10px;
  bottom: 10px;
  width: 4px;
  border-radius: 999px;
  background: #38bdf8;
}

.sidebar-user {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(15,23,42,.96);
}

.user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}

.user-name {
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
}

.user-role {
  color: #94a3b8;
  font-size: .78rem;
}