/* TLRS uses TownHub's existing filter markup/classes. These rules only bridge
 * site-specific child-theme styling that currently targets old AZP element IDs.
 */

/* v1.0.4: use TownHub's native icon architecture. Native select filters render
 * their icon through .nice-select::before (left:16px; top:0; line-height inherited)
 * rather than an independently positioned <label>. Keeping the icon inside the
 * generated Nice Select removes the extra stacking/positioning layer entirely.
 */
.tlrs_filter_score .nice-select:before {
    font-family: 'Font Awesome 6 Pro' !important;
    content: "\f005" !important; /* star */
    font-weight: 700 !important;
}

.tlrs_filter_activity .nice-select:before {
    font-family: 'Font Awesome 6 Pro' !important;
    content: "\f201" !important; /* chart-line / line-chart */
    font-weight: 700 !important;
}

.tlrs_filter_medal .nice-select:before {
    font-family: 'Font Awesome 6 Pro' !important;
    content: "\f5a2" !important; /* medal */
    font-weight: 700 !important;
}

.tlrs_filter_verified .nice-select:before {
    font-family: 'Font Awesome 6 Pro' !important;
    content: "\f336" !important; /* badge-check */
    font-weight: 700 !important;
}

.tlrs_filter_motor_avb .nice-select:before {
    font-family: 'Font Awesome 6 Pro' !important;
    content: "\f21c" !important; /* motorcycle */
    font-weight: 700 !important;
}

.tlrs_filter_motor_avd .nice-select:before {
    font-family: 'Font Awesome 6 Pro' !important;
    content: "\f018" !important; /* road */
    font-weight: 700 !important;
}

/* TikLijn's dark archive/sidebar theme makes native current labels white via
 * specific legacy AZP IDs. TLRS elements have dynamic IDs, so apply the same
 * visual language by semantic class instead. Dropdown option text is untouched. */
.listsearch-options .tlrs-filter-element .nice-select > .current,
.list-search-page-form .tlrs-filter-element .nice-select > .current,
.listsearch-options .tlrs-filter-element .nice-select > .multiple-options,
.list-search-page-form .tlrs-filter-element .nice-select > .multiple-options {
    color: #fff !important;
}

.listsearch-options .tlrs-filter-element .nice-select:before,
.list-search-page-form .tlrs-filter-element .nice-select:before {
    color: #fff;
}

/* Keep TownHub's established small blue '(Kies)' treatment. */
.tlrs-filter-element .current .filter_txt,
.tlrs-filter-element .multiple-options .filter_txt,
.tlrs-filter-element .option .filter_txt {
    font-size: 9px !important;
    color: #4eb7fe !important;
}
