.searchable-select {
    position: relative;
    width: 100%;
}

.searchable-select__native {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.searchable-select__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-align: left;
    cursor: pointer;
    padding-right: 28px;
}

.searchable-select__trigger-text {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.searchable-select__trigger--placeholder .searchable-select__trigger-text {
    color: #6b7280;
    font-weight: 400;
}

.searchable-select__trigger:disabled {
    cursor: not-allowed;
    opacity: 0.65;
    background-color: #f3f4f6;
}

.searchable-select__panel {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 120;
    background: #fff;
    border: 1px solid #D1D5DE;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    overflow: hidden;
}

.searchable-select__search {
    width: 100%;
    border: none;
    border-bottom: 1px solid #eceff3;
    border-radius: 0;
    padding: 8px 10px;
}

.searchable-select__search:focus {
    outline: none;
    border-bottom-color: #2563EB;
}

.searchable-select__list {
    list-style: none;
    margin: 0;
    padding: 4px 0;
    max-height: 220px;
    overflow-y: auto;
}

.searchable-select__option {
    padding: 8px 10px;
    font-size: 13px;
    color: #131826;
    cursor: pointer;
    line-height: 1.4;
}

.searchable-select__option:hover,
.searchable-select__option--active,
.searchable-select__option--selected {
    background: #eff6ff;
    color: #1d4ed8;
}

.searchable-select__empty {
    padding: 10px;
    font-size: 12px;
    color: #6b7280;
    text-align: center;
}

.searchable-select--open .searchable-select__trigger {
    border-color: #2563EB;
}

.searchable-select--open {
    z-index: 130;
}

.page-filter-select.searchable-select {
    min-width: 150px;
}

.page-filter-select .searchable-select__native {
    width: 1px;
    height: 1px;
    min-width: 0;
    min-height: 0;
    padding: 0;
    border: 0;
}

.page-filter-select .searchable-select__trigger.fselect {
    min-height: var(--page-filter-select-height, 38px);
    border: 1px solid #D1D5DE;
    border-radius: 8px;
    padding: 8px 36px 8px 12px;
    font-size: 14px;
    color: #131826;
    text-transform: none;
    background: #fff url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%233A424D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px 16px;
    box-sizing: border-box;
}

.page-filter-select.searchable-select--open .searchable-select__trigger.fselect,
.page-filter-select .searchable-select__trigger.fselect:focus-visible {
    border-color: #2563EB;
    outline: none;
}

.page-filter-select .searchable-select__trigger--placeholder .searchable-select__trigger-text {
    color: #131826;
}

.page-filter-select-host > i {
    display: none;
}

.event-registered-view .per-page .page-filter-select.searchable-select {
    width: 96px;
    min-width: 96px;
    --page-filter-select-height: 32px;
}

.event-registered-view .per-page .page-filter-select .searchable-select__trigger.fselect {
    padding: 6px 28px 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    background-position: right 8px center;
    background-size: 14px 14px;
}

.event-registered-view .per-page .page-filter-select .searchable-select__panel {
    top: auto;
    bottom: calc(100% + 4px);
}
