/* A_055_05p10 · Zentrale modulare x-Suchfeld-Komponente.
   Alle fünf Suchfelder verwenden dieselben zentralen Text-/Farbwerte.
   Seitenspezifische Suchfeldbreiten und die unterschiedlichen Platzhalter-Texte bleiben unverändert.
   style.css bleibt unverändert. */

.x-suchfeld-shell {
    position: relative;
    display: block;
    max-width: 100%;
}

.x-suchfeld-shell > .x-suchfeld-input {
    width: 100%;
    max-width: 100%;
    padding-right: 42px;
    color: #B42318;
}

.x-suchfeld-shell > .x-suchfeld-input::placeholder {
    color: #999999;
    opacity: 1;
}

.x-suchfeld-shell > .x-suchfeld-modular {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #000000;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
}

.x-suchfeld-shell > .x-suchfeld-modular:hover,
.x-suchfeld-shell > .x-suchfeld-modular:focus-visible {
    background: #DEFE98;
    color: #000000;
    outline: none;
}

.x-suchfeld-shell > .x-suchfeld-modular[hidden] {
    display: none !important;
}

/* Browser-eigenes Löschsymbol bei type=search unterdrücken, damit nur das modulare X sichtbar ist. */
.x-suchfeld-shell > input[type="search"].x-suchfeld-input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}
