.action-panels .tab-item[title^="Search"]::before {
    content: var(--actionpanel-search-icon);
}

.search-action-panel {
    padding: var(--actionpanel-search-padding);
}

.search-criteria {
    white-space: nowrap;
}

.search-results-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-results-footer > .results-info {
    white-space: nowrap;
}


/* Needs to be organized
--------------------------------------------
--------------------------------------------
--------------------------------------------
-------------------------------------------- */

.search-criteria-types,
.search-criteria-filters { border-width: var(--border-width) 0 0 0; border-style: var(--border-style); border-color: var(--border-strong); padding: 1rem 0; }

.ascending, .descending { font-family: var(--font-family--icon); font-size: var(--icon-font-size); }
.table-header-glyph.ascending::before { content: var(--icon-sort--ascending); }
.table-header-glyph.descending::before { content: var(--icon-sort--descending); }

.search-results { margin-top: 1.5rem }
.search-results-table { table-layout: fixed; width: 100%; border-spacing: 0; }
.search-results-table thead tr {}
.search-results-table th:first-child { width: 2rem; }
.search-results th,
.search-results td { padding: 1px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; user-select: none; }

.search-results th:not(:last-child),
.search-results td:not(:last-child) {
    border-width: 0 var(--border-width) 0 0;
    border-style: var(--border-style);
    border-color: var(--border-subtle);
}

.search-results th { padding: 3px 8px; background-color: var(--layer-accent); }
.search-results th.sortable { cursor: pointer; }
.search-result { cursor: pointer; }
.search-result.disabled { filter: opacity(50%); }
.search-result.error { color: var(--support-error); }
.search-result:hover { background-color: var(--support-helper--hover); color: var(--text-on-color); }

.search-result-glyph { font-family: var(--font-family--icon); font-size: var(--icon-font-size--small); }
.search-result-glyph.option::before { content: var(--icon-settings); color: var(--color-option); }
.search-result-glyph.option.selected::before {}

.search-result-glyph.property::before { content: var(--icon-settings); color: var(--color-property); }
.search-result-glyph.property.selected::before {}

.search-result-glyph.category::before { content: var(--icon-settings); color: var(--color-category); }
.search-result-glyph.category.selected::before {}

.search-result-glyph.model::before { content: var(--icon-settings); color: var(--color-model); }
.search-result-glyph.model.selected::before {}

.search-result-glyph.series::before { content: var(--icon-settings); color: var(--color-series); }
.search-result-glyph.series.selected::before {}

.search-result-glyph.lineitem { background-image: url('/experlogix/site/styles/Core/iconTokenLineItem.png'); }
.search-result-glyph.modellink { background-image: url('/experlogix/site/styles/Core/iconTokenModelLink.png'); }

.results-popup-disclaimer { background-color: cornsilk; border: burlywood 1px solid; text-align: center; }

.search-highlight,
.xRgn.search-highlight,
.xRgn.search-highlight[err],
.xRgn.search-highlight:not([err]),
.xRgn.search-highlight[joinerr] {
    outline: var(--border-width--focus) var(--border-style) var(--support-helper);
    background-color: var(--support-helper-background);
}
