/* cyberpunk-theme.css */
.glow-text {
  text-shadow:
    0 0 10px rgba(77, 163, 255, 0.35),
    0 0 24px rgba(139, 92, 246, 0.22);
}

.neon-border {
  border: 1px solid rgba(77, 163, 255, 0.22);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.02),
    0 0 0 1px rgba(77, 163, 255, 0.06),
    0 18px 35px rgba(0,0,0,.28);
}

.glass {
  background: linear-gradient(
    180deg,
    rgba(17, 25, 47, 0.78),
    rgba(8, 13, 24, 0.9)
  );
  backdrop-filter: blur(16px);
}

.cyber-line {
  position: relative;
}

.cyber-line::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 72px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--secondary));
  box-shadow: 0 0 18px rgba(49, 215, 255, 0.45);
}

.topbar {
  position: fixed;
  top: 0;
  right: 0;
  left: var(--sidebar-width);
  z-index: 50;
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: rgba(7, 11, 23, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(111, 140, 255, 0.12);
}

.topbar-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.topbar-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.topbar-brand h1,
.topbar-brand h2 {
  font-size: 1.1rem;
  margin: 0;
}

.topbar-brand small {
  display: block;
  margin-top: 2px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--sidebar-width);
  z-index: 60;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(11, 16, 31, 0.96), rgba(7, 11, 23, 0.98));
  border-right: 1px solid rgba(111, 140, 255, 0.14);
  box-shadow: 24px 0 60px rgba(0,0,0,.28);
}

.sidebar-header {
  padding: 22px 20px 18px;
  border-bottom: 1px solid rgba(111, 140, 255, 0.1);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sidebar-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.sidebar-brand strong {
  display: block;
  color: #fff;
  font-size: 1rem;
}

.sidebar-brand small {
  display: block;
  margin-top: 4px;
}

.sidebar-nav {
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  color: #c6d5f7;
  border: 1px solid transparent;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  color: #fff;
  background: rgba(77, 163, 255, 0.12);
  border-color: rgba(77, 163, 255, 0.18);
  box-shadow: inset 0 0 22px rgba(77, 163, 255, 0.06);
}

.sidebar-footer {
  margin-top: auto;
  padding: 16px 18px 20px;
  border-top: 1px solid rgba(111, 140, 255, 0.1);
}

.sidebar-user {
  padding: 14px;
  border-radius: 14px;
  background: rgba(77, 163, 255, 0.08);
  border: 1px solid rgba(77, 163, 255, 0.12);
}

.sidebar-user strong {
  display: block;
  color: #fff;
}

.sidebar-user small {
  display: block;
  margin-top: 4px;
}

@media (max-width: 860px) {
  .topbar {
    left: 0;
    padding: 0 16px;
  }

  .sidebar {
    position: static;
    width: 100%;
    height: auto;
    min-height: auto;
    border-right: none;
    border-bottom: 1px solid rgba(111, 140, 255, 0.14);
  }

  .sidebar-nav {
    padding-bottom: 14px;
  }
}