/* ── Suche: grauer Hintergrund, keine eigene Rahmenlinie ─────────────── */

.provenance-suche {
    background: #f7f8fa;
    border-radius: 8px;
    padding: 1.75rem 2rem 2rem;
}

.provenance-suche .provenance-list__header {
    margin-bottom: 1.25rem;
}

.provenance-suche .provenance-list__header h2 {
    margin: 0;
}

/* ── Info-Icon neben Titel ────────────────────────────────────────────── */

.provenance-suche__info-icon {
    display: inline-block;
    font-size: .7em;
    color: #999;
    cursor: help;
    position: relative;
    vertical-align: middle;
    margin-left: .3rem;
    line-height: 1;
}

.provenance-suche__info-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + .45rem);
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: .35rem .6rem;
    border-radius: 4px;
    font-size: .72rem;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity .15s ease;
    z-index: 20;
}

.provenance-suche__info-icon:hover::after {
    opacity: 1;
}

/* ── Suchformular: .provenance-filter-Box deaktivieren ───────────────── */

.provenance-suche .provenance-filter {
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

/* ── Suchformular ─────────────────────────────────────────────────────── */

.provenance-suche .provenance-filter__row {
    display: flex;
    gap: .625rem;
    align-items: center;
    flex-wrap: wrap;
}

/* Input: Bootstrap-inspiriert */
.provenance-suche .provenance-filter__input {
    flex: 1 1 220px;
    padding: .5rem .875rem;
    font-size: .9375rem;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 6px;
    outline: none;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    appearance: none;
}

.provenance-suche .provenance-filter__input::placeholder {
    color: #adb5bd;
}

.provenance-suche .provenance-filter__input:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, .18);
}

/* Select: benutzerdefinierter Pfeil, kein nativer */
.provenance-suche .provenance-filter__select {
    flex: 0 0 auto;
    padding: .5rem 2.5rem .5rem .875rem;
    font-size: .9375rem;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236c757d' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .875rem center;
    background-size: 10px 7px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    outline: none;
    appearance: none;
    cursor: pointer;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.provenance-suche .provenance-filter__select:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, .18);
}

/* Zurücksetzen-Button */
.provenance-suche .js-suche-reset {
    flex-shrink: 0;
    padding: .5rem .875rem;
    font-size: .875rem;
}

/* ── Trennlinie zwischen Formular und Ergebnissen ─────────────────────── */

.provenance-suche .js-suche-count,
.provenance-suche .provenance-table {
    margin-top: 1.25rem;
}

/* ── Tabelle im Suche-Kontext ─────────────────────────────────────────── */

.provenance-suche .provenance-table {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e2e5ea;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
}

.provenance-suche .provenance-table thead th {
    background: #f1f3f5;
    border-bottom: 1px solid #dee2e6;
    padding: .6rem .875rem;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #6c757d;
    font-weight: 600;
}

.provenance-suche .provenance-table tbody td {
    padding: .55rem .875rem;
    border-bottom: 1px solid #f0f1f3;
    vertical-align: middle;
}

.provenance-suche .provenance-table tbody tr:last-child td {
    border-bottom: none;
}

.provenance-suche .provenance-table tbody tr:hover td {
    background: #f8f9fb;
}

/* ── Kein-Treffer und Skeleton im Suche-Kontext ───────────────────────── */

.provenance-suche .provenance-empty {
    margin-top: 1.25rem;
    color: #6c757d;
    font-size: .9rem;
}

.provenance-suche .provenance-skeleton {
    margin-top: 1.25rem;
}
