/* Shared filter band for the scanner pages.
   Each box is one choice. The label sits above the controls. */

.gt-filters {
  align-items: flex-start;
}

.gt-filters::before {
  content: "Filters";
  flex: 1 0 100%;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted, #8b95a8);
  padding-bottom: 2px;
}

.gt-filters .gt-field,
.gt-filters .chip-group,
.gt-filters .filterSection,
.gt-filters .vol-filter,
.gt-filters .lookup-box {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.12));
  border-radius: 8px;
  background: var(--field-bg, var(--bg2, rgba(255, 255, 255, 0.04)));
}

.gt-filters .gt-name,
.gt-filters .chip-label,
.gt-filters .filterSection[data-section]::before {
  flex: 1 0 100%;
  margin: 0;
  padding: 0 0 2px;
  border: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--muted, #8b95a8);
  align-self: stretch;
  display: block;
  white-space: normal;
}

.gt-filters .gt-choices,
.gt-filters .gt-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.gt-filters .chip,
.gt-filters .fbtn,
.gt-filters .filterSection .btn {
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}

.gt-filters .chip.on,
.gt-filters .fbtn.on,
.gt-filters .filterSection .btn.on {
  background: rgba(33, 150, 243, 0.22);
  border-color: #2196f3;
  color: var(--text, #e8eef8);
}

.gt-filters .filterSection {
  --fs-bg: transparent;
  --fs-border: var(--border, rgba(255, 255, 255, 0.12));
  --fs-label: var(--muted, #8b95a8);
  background: var(--field-bg, var(--bg2, transparent));
}

.gt-filters .filterSection .filterGroup {
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.gt-filters .gt-field > select,
.gt-filters .gt-field > input[type="search"],
.gt-filters .gt-field > input[type="text"] {
  min-width: 9.5rem;
}

.gt-filters .gt-help {
  flex: 1 0 100%;
  display: flex;
  gap: 10px;
  font-size: 11px;
}

.filterbar.gt-filters {
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}

.filterbar.gt-filters .gt-field {
  width: 100%;
  box-sizing: border-box;
}

.gt-filters .count,
.gt-filters .fcount {
  align-self: center;
  font-size: 12px;
  color: var(--muted, #8b95a8);
}
