.searchable-select {
    position: relative;
    min-width: 0;
    width: 100%;
}

.searchable-select-input {
    display: none;
    width: 100%;
}

.searchable-select.is-enhanced .searchable-select-input {
    display: block;
}

.searchable-select.is-enhanced select {
    position: absolute;
    width: 1px;
    min-width: 0;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.searchable-select-options {
    display: none;
    position: absolute;
    z-index: 30;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    max-height: 280px;
    overflow-y: auto;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 10px;
    background: #222;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .34);
}

.searchable-select.is-open .searchable-select-options {
    display: grid;
    gap: 2px;
}

.searchable-select-option {
    width: 100%;
    padding: 9px 10px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.searchable-select-option:hover,
.searchable-select-option.is-active {
    background: rgba(255, 255, 255, .12);
}

.searchable-select-empty {
    padding: 9px 10px;
    color: rgba(255, 255, 255, .65);
}

.accounting-receipts-filters .searchable-select {
    flex: 0 0 160px;
    min-width: 140px;
}

.accounting-receipts-filters .searchable-select .searchable-select-input {
    min-width: 0;
    flex: none;
}

.clients-search .searchable-select {
    flex: 0 1 220px;
    min-width: 160px;
}

@media (max-width: 760px) {
    .accounting-receipts-filters .searchable-select,
    .clients-search .searchable-select {
        width: 100%;
        flex: 1 1 100%;
    }
}
