/* SortFilterBar — pill-style filter toolbar */
.sfb {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    margin-bottom: 12px;
}

.sfb__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.sfb__label {
    font-size: 0.66rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted, #9ca3af);
    flex-shrink: 0;
}

.sfb__label--sep {
    margin-left: 8px;
    padding-left: 10px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.sfb__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.sfb__chip {
    font-family: inherit;
    font-size: 0.7rem;
    font-weight: 500;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--color-text-secondary, #d1d5db);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.15s ease;
}
.sfb__chip:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.2); }
.sfb__chip--active {
    background: rgba(59, 130, 246, 0.18);
    border-color: rgba(59, 130, 246, 0.5);
    color: #93c5fd;
}

.sfb__row--controls {
    justify-content: flex-start;
    border-top: 1px dashed rgba(255, 255, 255, 0.06);
    padding-top: 10px;
    gap: 16px;
}

.sfb__sort, .sfb__search {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 1 auto;
}
.sfb__search { flex: 1 1 260px; }

.sfb__select, .sfb__input {
    font-family: inherit;
    font-size: 0.8rem;
    padding: 5px 9px;
    background: rgba(0, 0, 0, 0.25);
    color: var(--color-text-primary, #f3f4f6);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
}
.sfb__select:focus, .sfb__input:focus { outline: none; border-color: rgba(59, 130, 246, 0.5); }
.sfb__input { width: 100%; min-width: 0; }

.sr-only {
    position: absolute !important;
    width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
