.app-container {
  display: grid;
  grid-template-columns: 260px 1fr 340px;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

.sidebar {
  background: rgba(15, 23, 42, 0.95);
  border-right: 1px solid var(--border-glass);
  display: flex;
  flex-direction: column;
  padding: 20px;
  backdrop-filter: blur(12px);
  gap: 20px;
  height: 100vh;
  overflow: hidden;
  box-sizing: border-box;
}


.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 10px;
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #6366f1, #a855f7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 0 15px var(--accent-glow);
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.nav-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nav-section-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.nav-item:hover {
  background: var(--bg-panel-hover);
  color: var(--text-main);
}

.nav-item.active {
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  border-color: rgba(99, 102, 241, 0.3);
  font-weight: 600;
}

.main-wrapper {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
  background: radial-gradient(circle at 50% 0%, rgba(30, 27, 75, 0.25), transparent 70%);
}

.top-header {
  padding: 14px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-glass);
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(10px);
}

.content-area {
  flex: 1;
  overflow-y: auto;
  padding: 28px;
}

.stream-sidebar {
  background: rgba(15, 23, 42, 0.85);
  border-left: 1px solid var(--border-glass);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
  height: 100vh;
}
