/* FilterControls (GF-01) — inline controls in the graphview-header row.
   Visibility toggles, always-visible search, always-visible sliders,
   group button, and reset. Token-only with dark-theme fallbacks. */

.filtercontrols {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

/* --- Icon button (reset only) --- */
.filtercontrols-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid var(--color-border, #3a3a3a);
  background: transparent;
  color: var(--color-text-muted, #9a9a9a);
  cursor: pointer;
  flex-shrink: 0;
}
.filtercontrols-icon-btn:hover {
  border-color: var(--color-accent-border, #8b5cf6);
  color: var(--color-text, #d4d4d4);
}

/* --- Inline search --- */
.filtercontrols-search {
  height: 28px;
  width: 180px;
  border-radius: 6px;
  background: var(--color-bg, #121212);
  border: 1px solid var(--color-border, #3a3a3a);
  color: var(--color-text, #d4d4d4);
  padding: 0 10px;
  font-size: 13px;
  box-sizing: border-box;
  flex-shrink: 0;
  font-family: var(--font-family-ui, system-ui, sans-serif);
}
.filtercontrols-search::placeholder {
  color: var(--color-text-muted, #626b7d);
}
.filtercontrols-search:focus {
  outline: none;
  border-color: var(--color-accent-border, #8b5cf6);
}

/* --- Inline sliders group --- */
.filtercontrols-sliders {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Individual slider row — compact horizontal */
.filtercontrols-slider {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: default;
  flex-shrink: 0;
}
.filtercontrols-slider-label {
  font-size: 11px;
  color: var(--color-text-muted, #9a9a9a);
  white-space: nowrap;
  line-height: 1;
}
.filtercontrols-slider input[type="range"] {
  width: 60px;
  accent-color: var(--color-accent, #8b5cf6);
  cursor: pointer;
  height: 4px;
}

/* --- New group button inline --- */
.filtercontrols-group-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 28px;
  padding: 0 10px;
  border-radius: 6px;
  border: none;
  background: var(--color-accent, #8b5cf6);
  color: white;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  flex-shrink: 0;
  white-space: nowrap;
  font-family: var(--font-family-ui, system-ui, sans-serif);
}
.filtercontrols-group-btn:hover {
  opacity: 0.9;
}
