/**
 * US-Filterpanel (WHC-62): select2-Mehrfachauswahl im Stil des Partner-Type-Dropdowns.
 * Die Filterzeile liegt in einer dunklen Sektion (uk-section-secondary) —
 * daher transparente Felder mit hellen Rahmen und heller Schrift.
 */

/* Das Panel liegt am Sektionsende (uk-padding-remove-bottom) — ohne diesen
   Abstand kleben die Felder an der Kante zur nächsten Sektion. */
#fnet-us-filter-panel {
    margin-bottom: 25px;
}

.com-fnetservicenetwork-featured .select2-container--default .select2-selection--multiple {
    position: relative;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 0;
    min-height: 48px;
    padding: 5px 32px 5px 8px;
}

/* Pfeil-Icon rechts — gleiche Optik wie beim Partner-Type-Dropdown, damit die
   Felder als Dropdowns erkennbar sind (select2 zeigt bei Mehrfachauswahl keins). */
.com-fnetservicenetwork-featured .select2-container--default .select2-selection--multiple::after {
    content: "";
    position: absolute;
    right: 13px;
    top: 50%;
    margin-top: -2px;
    border-style: solid;
    border-width: 5px 4px 0 4px;
    border-color: rgba(255, 255, 255, .5) transparent transparent transparent;
}

.com-fnetservicenetwork-featured .select2-container--default.select2-container--focus .select2-selection--multiple,
.com-fnetservicenetwork-featured .select2-container--default.select2-container--open .select2-selection--multiple {
    border-color: rgba(255, 255, 255, .5);
}

/* Platzhaltertext (Gruppenname) im Feld: select2 gibt der internen Eingabe
   nur 18px Höhe — bei der Seitenschriftgröße wird der Text sonst abgeschnitten. */
.com-fnetservicenetwork-featured .select2-container--default .select2-selection--multiple .select2-search__field {
    color: #fff;
    height: 36px;
    line-height: 36px;
    margin-top: 0;
    padding: 0;
}

.com-fnetservicenetwork-featured .select2-container--default .select2-selection--multiple .select2-search__field::placeholder {
    color: rgba(255, 255, 255, .5);
}

/* Ausgewählte Einträge als Tags */
.com-fnetservicenetwork-featured .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 2px;
    color: #fff;
}

.com-fnetservicenetwork-featured .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: rgba(255, 255, 255, .7);
}

.com-fnetservicenetwork-featured .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #fff;
}

/* Aufgeklapptes Dropdown (hängt am body, heller Hintergrund):
   höhere Liste, damit mehr Einträge sichtbar sind. */
.fnet-us-filter-dropdown .select2-results > .select2-results__options {
    max-height: 420px;
}

/* Suchfeld oben im OEM-Dropdown: unauffällig integriert statt Standard-Kasten —
   randlose Eingabe mit Lupen-Icon, nur durch eine Trennlinie von der Liste abgesetzt. */
.fnet-us-filter-dropdown .select2-search--dropdown {
    padding: 8px 12px;
    border-bottom: 1px solid #e5e5e5;
}

.fnet-us-filter-dropdown .select2-search--dropdown .select2-search__field {
    border: none;
    outline: none;
    box-shadow: none;
    background-color: transparent;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23999999' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.35-4.35'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 2px center;
    padding: 8px 4px 8px 28px;
    font-size: 15px;
}

.fnet-us-filter-dropdown .select2-search--dropdown .select2-search__field:focus {
    border: none;
    outline: none;
    box-shadow: none;
}

.fnet-us-filter-dropdown .select2-search--dropdown .select2-search__field::placeholder {
    color: #999;
}
