/* ---- OpenRTB filter toolbar (matches available-fields style) ---- */
.openrtb-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    margin: 24px 0;
    background: var(--ix-bg, #F7F8FA);
    border: 1px solid var(--ix-line, #E5E7EB);
    border-radius: var(--radius, 4px);
}

#openrtbSearch {
    flex: 1 1 220px;
    height: 36px;
    padding: 0 12px;
    font-family: inherit;
    font-size: 14px;
    color: var(--ix-ink, #1F2937);
    background: #fff;
    border: 1px solid var(--ix-line, #E5E7EB);
    border-radius: var(--radius, 4px);
    outline: none;
    box-shadow: none !important;
    box-sizing: border-box;
    width: auto;
    max-width: none;
    line-height: normal;
}
#openrtbSearch:focus {
    border-color: var(--ix-primary, #8796DD);
    box-shadow: 0 0 0 2px rgba(135, 150, 221, 0.25) !important;
}
#openrtbSearch::placeholder { color: var(--ix-muted, #6B7280); }

#openrtbPrefix {
    flex: 0 1 200px;
    height: 36px;
    padding: 0 10px;
    font-family: inherit;
    font-size: 14px;
    color: var(--ix-ink, #1F2937);
    background: #fff;
    border: 1px solid var(--ix-line, #E5E7EB);
    border-radius: var(--radius, 4px);
    outline: none;
    cursor: pointer;
}
#openrtbPrefix:focus {
    border-color: var(--ix-primary, #8796DD);
    box-shadow: 0 0 0 2px rgba(135, 150, 221, 0.25);
}

.openrtb-filter__buttons {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ---- secondary button (matches #fields-reset in available-fields-filter.css) ---- */
.btn-secondary,
#openrtbReset {
    height: 36px;
    padding: 0 16px;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
    font-size: 14px;
    font-weight: 600;
    color: var(--ix-ink, #1F2937);
    background: #fff;
    border: 1px solid var(--ix-line, #E5E7EB);
    border-radius: var(--radius, 4px);
    cursor: pointer;
    white-space: nowrap;
}
.btn-secondary:hover,
#openrtbReset:hover  { background: var(--ix-bg, #F7F8FA); border-color: #c0c5ce; }
.btn-secondary:active,
#openrtbReset:active { background: #eceef2; }

/* ---- no-results notice ---- */
.no-results-notice {
    padding: 20px;
    border-left: 4px solid #de6c74;
    background: #fdeaee;
    border-radius: 0 var(--radius, 4px) var(--radius, 4px) 0;
    color: var(--ix-ink, #1F2937);
    font-size: 14px;
}

/* ---- count pill row ---- */
.openrtb-filter__count {
    flex-basis: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
}

#openrtbCount {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 10px;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    border-radius: 14px;
    border: 1px solid rgba(23, 162, 184, 0.30);
    background: rgba(23, 162, 184, 0.1);
    color: #0d6a75;
}
