/* ── AI Spotlight Sidebar ────────────────────────────────── */

.sidebar {
  position: fixed;
  left: 0; top: 0; bottom: 0;
  width: 240px;
  background: #1A1A2E;
  display: flex;
  flex-direction: column;
  z-index: 1000;
  box-shadow: 4px 0 20px rgba(0,0,0,0.15);
}

/* Header */
.sidebar-header {
  padding: 28px 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.sidebar-logo {
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(135deg, #FF6B35, #EC4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.sidebar-tagline {
  font-size: 10px;
  color: rgba(255,255,255,0.35);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 2px;
}

/* Navigation */
.sidebar-nav {
  flex: 1;
  padding: 12px 0;
  overflow-y: auto;
}

.sidebar-nav::-webkit-scrollbar { width: 4px; }
.sidebar-nav::-webkit-scrollbar-track { background: transparent; }
.sidebar-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }

.nav-section {
  padding: 16px 16px 6px;
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,0.25);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 0;
  transition: all 0.18s;
  position: relative;
  border-left: 3px solid transparent;
}

.nav-item:hover {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.9);
  text-decoration: none;
}

.nav-item.active {
  background: linear-gradient(90deg, rgba(255,107,53,0.18), rgba(236,72,153,0.08));
  color: #FF6B35;
  border-left-color: #FF6B35;
  font-weight: 600;
}

.nav-item.active .nav-icon { opacity: 1; }

.nav-icon {
  font-size: 18px;
  width: 22px;
  text-align: center;
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.18s;
}

.nav-item:hover .nav-icon { opacity: 1; }

/* Spotlight CTA in sidebar */
.nav-item-spotlight {
  margin: 12px 16px 4px;
  background: linear-gradient(135deg, #FF6B35, #EC4899);
  color: white;
  border-radius: 10px;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  justify-content: center;
  border-left: none;
  box-shadow: 0 4px 14px rgba(255,107,53,0.4);
}

.nav-item-spotlight:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255,107,53,0.5);
  background: linear-gradient(135deg, #FF6B35, #EC4899);
  color: white;
  border-left: none;
}

.nav-item-spotlight.active {
  background: linear-gradient(135deg, #FF6B35, #EC4899);
  color: white;
  border-left: none;
}

/* Footer */
.sidebar-footer {
  padding: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.sidebar-footer-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF6B35, #EC4899);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.sidebar-user-info { flex: 1; min-width: 0; }

.sidebar-user-name {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-user-role {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
}

/* ── Main Content Layout ─────────────────────────────────── */
.main-content {
  margin-left: 240px;
  min-height: 100vh;
  padding: 32px 40px;
}

@media (max-width: 1023px) {
  .sidebar { display: none; }
  .main-content { margin-left: 0; padding: 20px; }
}
