/* vis_app gallery-categories — plot type buttons in canvas header */

.gallery-categories {
  display: flex;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
  flex: 1;
  min-width: 0;
  scrollbar-width: none;
}

.gallery-categories::-webkit-scrollbar {
  display: none;
}

.category-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--vis-text-muted);
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast) ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.category-btn:hover {
  background: var(--vis-bg-hover);
  color: var(--vis-text-primary);
  border-color: var(--vis-border);
}

.category-btn.active {
  background: rgba(var(--accent-rgb), 0.15);
  color: var(--accent-hover);
  border-color: rgba(var(--accent-rgb), 0.3);
}

.category-btn i {
  font-size: 11px;
}

.category-btn span {
  font-size: 11px;
}

/* Hide labels on narrow screens, keep icons */
@media (max-width: 1200px) {
  .category-btn span {
    display: none;
  }
}
