/* The original select keeps its page-specific size, style and form semantics. */
.searchable-select-popup {
    position: fixed;
    z-index: 11000;
    display: flex;
    flex-direction: column;
    padding: .35rem;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    background: #fff;
    color: #212529;
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .15);
    line-height: 1.5;
}

.searchable-select-search {
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
    padding: .3rem .5rem;
    margin-bottom: .3rem;
    border: 1px solid #86b7fe;
    border-radius: .2rem;
    background: #fff;
    color: inherit;
    font: inherit;
    outline: none;
    box-shadow: 0 0 0 .12rem rgba(13, 110, 253, .15);
}

.searchable-select-options {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.searchable-select-option,
.searchable-select-group,
.searchable-select-empty {
    padding: .3rem .5rem;
    overflow-wrap: anywhere;
}

.searchable-select-option {
    cursor: pointer;
    border-radius: .2rem;
}

.searchable-select-option[aria-selected="true"] {
    font-weight: 600;
}

.searchable-select-option.is-active {
    background: #e7f1ff;
    color: #0a58ca;
}

.searchable-select-option[aria-disabled="true"],
.searchable-select-empty,
.searchable-select-group {
    color: #6c757d;
}

.searchable-select-option[aria-disabled="true"] {
    cursor: default;
}

.searchable-select-group {
    font-weight: 600;
    font-size: .9em;
}
