/* ==========================================================
   MiYouTube Music - Barra Lateral (Sidebar)
   ========================================================== */

.sidebar {
  width: var(--sidebar-width);
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  height: calc(100vh - var(--header-height) - var(--player-height));
  padding: 12px 14px;
  overflow-y: auto;
}

.nav-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.nav-item svg {
  fill: currentColor;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

.nav-item.active {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  font-weight: 600;
}

.sidebar-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 12px 0;
}

.new-playlist-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
  padding: 10px 16px;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
  width: 100%;
  margin-bottom: 8px;
}

.new-playlist-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--text-primary);
}

.sidebar-playlist-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow-y: auto;
}

.playlist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  border-radius: 6px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: var(--transition-smooth);
}

.playlist-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

.playlist-item.special-likes {
  color: #FF4081;
  font-weight: 600;
}
