/* Shared searchable country select (Contact Us, Sell to Us, contact modal) */
.sale-country-select {
    position: relative;
}

.sale-country-select__control {
    position: relative;
    display: flex;
    align-items: stretch;
    min-height: 2.75rem;
}

.sale-country-select__search {
    padding-right: 2.5rem !important;
    width: 100%;
}

.sale-country-select__toggle {
    position: absolute;
    top: 0;
    right: 0;
    width: 2.5rem;
    height: 100%;
    min-height: 2.75rem;
    border: none;
    background: transparent;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.sale-country-select__toggle:hover {
    color: #13294b;
}

.sale-country-select__list {
    position: absolute;
    z-index: 1060;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    max-height: calc(2.75rem * 12);
    overflow-y: auto;
    margin: 0;
    padding: 0.35rem 0;
    list-style: none;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
}

.sale-country-select__option {
    padding: 0.5rem 0.85rem;
    cursor: pointer;
    color: #0f172a;
    font-size: 0.92rem;
}

.sale-country-select__option:hover,
.sale-country-select__option.is-active {
    background: rgba(19, 41, 75, 0.08);
}

.sale-country-select__option.is-selected {
    font-weight: 600;
    color: #13294b;
}

.sale-country-select__option--empty {
    color: #64748b;
    cursor: default;
}

.sale-country-select__search.is-invalid {
    border-color: #dc3545;
}

.sale-country-select__native.visually-hidden,
.sale-country-select__native[data-no-nice-select].visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.nish-contact-modal .sale-country-select__list {
    z-index: 12060;
}

.nish-contact-modal .sale-country-select.is-open {
    position: relative;
    z-index: 12055;
}
