.amhoneyform-prefix-select {
    position: relative;
    flex: 0 0 auto;
    width: 6.5rem;
}

.amhoneyform-prefix-select-full {
    width: 100%;
}

.amhoneyform-prefix-toggle {
    width: 100%;
    height: 100%;
    text-align: left;
    background-color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.amhoneyform-prefix-select:not(.amhoneyform-prefix-select-full) .amhoneyform-prefix-toggle {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.amhoneyform-prefix-toggle-value {
    pointer-events: none;
}

.amhoneyform-prefix-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    z-index: 1055;
    display: flex;
    flex-direction: column;
    width: max(100%, 260px);
    max-height: 320px;
    padding: .5rem;
    background-color: #fff;
    border: 1px solid var(--bs-border-color, #ced4da);
    border-radius: var(--bs-border-radius, .375rem);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
}

.amhoneyform-prefix-search {
    flex: 0 0 auto;
    margin-bottom: .5rem;
}

.amhoneyform-prefix-options {
    flex: 1 1 auto;
    overflow-y: auto;
    margin: 0;
    padding: 0;
    list-style: none;
}

.amhoneyform-prefix-optgroup-label {
    padding: .25rem .5rem;
    margin-top: .25rem;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    opacity: .6;
}

.amhoneyform-prefix-option {
    padding: .35rem .5rem;
    border-radius: var(--bs-border-radius-sm, .25rem);
    cursor: pointer;
    white-space: nowrap;
}

.amhoneyform-prefix-option:hover,
.amhoneyform-prefix-option:focus {
    background-color: var(--bs-light, #f4f2f0);
    outline: none;
}

.amhoneyform-prefix-option.is-active {
    background-color: var(--bs-light, #f4f2f0);
    font-weight: 600;
}

.amhoneyform-prefix-empty {
    padding: .5rem;
    font-size: .875rem;
    text-align: center;
    opacity: .6;
}
