.public-location-selectbox-field > .pointer-events-none {
    display: none;
}

.public-location-selectbox__native {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0;
    pointer-events: none;
}

.public-location-selectbox {
    position: relative;
    width: 100%;
}

.public-location-selectbox__trigger {
    display: flex;
    width: 100%;
    min-height: 2.75rem;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.75rem;
    background: #fff;
    padding: 0.625rem 0.875rem;
    color: #1f2937;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.25rem;
    text-align: left;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.public-location-selectbox__trigger:hover:not(:disabled) {
    border-color: #a5b4fc;
}

.public-location-selectbox__trigger:focus-visible,
.public-location-selectbox.is-open .public-location-selectbox__trigger {
    border-color: #3c50e0;
    outline: none;
    box-shadow: 0 0 0 3px rgba(60, 80, 224, 0.12);
}

.public-location-selectbox__trigger:disabled {
    cursor: not-allowed;
    background: #f3f4f6;
    color: #9ca3af;
    box-shadow: none;
}

.public-location-selectbox__value {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.public-location-selectbox__chevron {
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
    color: #9ca3af;
    transition: transform 160ms ease;
}

.public-location-selectbox.is-open .public-location-selectbox__chevron {
    transform: rotate(180deg);
}

.public-location-selectbox__menu {
    position: absolute;
    z-index: 95;
    top: calc(100% + 0.375rem);
    left: 0;
    width: 100%;
    min-width: 13rem;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    background: #fff;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.16);
}

.public-location-selectbox__menu[hidden] {
    display: none;
}

.public-location-selectbox__search-wrap {
    border-bottom: 1px solid #f3f4f6;
    padding: 0.5rem;
}

.public-location-selectbox__search {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    background: #fff;
    padding: 0.5rem 0.75rem;
    color: #111827;
    font-size: 0.8125rem;
    line-height: 1.25rem;
    outline: none;
}

.public-location-selectbox__search:focus {
    border-color: #3c50e0;
    box-shadow: 0 0 0 2px rgba(60, 80, 224, 0.1);
}

.public-location-selectbox__options {
    max-height: 13rem;
    margin: 0;
    overflow-y: auto;
    padding: 0.25rem;
    list-style: none;
}

.public-location-selectbox__option {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    border: 0;
    border-radius: 0.5rem;
    background: transparent;
    padding: 0.55rem 0.625rem;
    color: #374151;
    font-size: 0.875rem;
    line-height: 1.25rem;
    text-align: left;
    cursor: pointer;
}

.public-location-selectbox__option:hover,
.public-location-selectbox__option:focus-visible {
    background: #f3f4f6;
    color: #111827;
    outline: none;
}

.public-location-selectbox__option.is-selected {
    background: #eef2ff;
    color: #3046c5;
    font-weight: 700;
}

.public-location-selectbox__check {
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
}

.public-location-selectbox__empty {
    padding: 0.75rem;
    color: #9ca3af;
    font-size: 0.8125rem;
    text-align: center;
}
