.public-searchable-select.select2-container {
    width: 100% !important;
    font-family: inherit;
    direction: rtl;
}

.public-searchable-select.select2-container .select2-selection--single {
    display: flex;
    align-items: center;
    min-height: 49px;
    padding: 0.65rem 1rem 0.65rem 2.75rem !important;
    border: 1px solid #ccc !important;
    border-radius: 0.75rem !important;
    background: #fff !important;
    color: #222;
    box-shadow: none !important;
    text-align: right !important;
}

.public-searchable-select .select2-selection__rendered {
    width: 100%;
    padding: 0 !important;
    color: #222 !important;
    font-size: 0.875rem;
    line-height: 1.7 !important;
    text-align: right;
}

.public-searchable-select .select2-selection__placeholder {
    color: #777 !important;
}

.public-searchable-select .select2-selection__arrow {
    top: 50% !important;
    right: auto !important;
    left: 1rem !important;
    width: 18px !important;
    height: 18px !important;
    transform: translateY(-50%);
}

.public-searchable-select.select2-container--open .select2-selection--single,
.public-searchable-select.select2-container--focus .select2-selection--single {
    border-color: #0f98bc !important;
    box-shadow: 0 0 0 3px rgba(15, 152, 188, 0.1) !important;
}

.public-searchable-select.select2-container--disabled .select2-selection--single {
    background: #f3f4f6 !important;
    color: #9ca3af;
    cursor: not-allowed;
    opacity: 0.75;
}

.public-searchable-select-dropdown.select2-dropdown {
    z-index: 1200;
    overflow: hidden;
    margin-top: 0.35rem;
    border: 1px solid rgba(0, 52, 66, 0.12) !important;
    border-radius: 0.75rem !important;
    background: #fff;
    box-shadow: 0 12px 32px rgba(0, 52, 66, 0.16);
    color: #222;
    direction: rtl;
    font-family: inherit;
}

.public-searchable-select-dropdown.select2-dropdown--above {
    margin-top: -0.35rem;
    margin-bottom: 0.35rem;
}

.public-searchable-select-dropdown .select2-search--dropdown {
    display: block !important;
    padding: 0.75rem;
}

body.site-page .select2-container--open .select2-search--dropdown,
body.public-auth-page .select2-container--open .select2-search--dropdown {
    display: block !important;
}

.public-searchable-select-dropdown .select2-search__field {
    width: 100%;
    min-height: 42px;
    padding: 0.55rem 0.75rem !important;
    border: 1px solid #d1d5db !important;
    border-radius: 0.65rem !important;
    outline: 0;
    background: #fff;
    color: #222;
    font-family: inherit;
    font-size: 0.875rem;
    text-align: right;
}

.public-searchable-select-dropdown .select2-search__field:focus {
    border-color: #0f98bc !important;
    box-shadow: 0 0 0 3px rgba(15, 152, 188, 0.1);
}

.public-searchable-select-dropdown .select2-results__options {
    max-height: 240px !important;
    padding: 0.25rem 0.4rem 0.5rem;
}

.public-searchable-select-dropdown .select2-results__option {
    margin: 0.1rem 0;
    padding: 0.65rem 0.75rem;
    border-radius: 0.55rem;
    color: #222;
    font-size: 0.875rem;
    line-height: 1.6;
    text-align: right;
}

.public-searchable-select-dropdown .select2-results__option--highlighted.select2-results__option--selectable {
    background: rgba(15, 152, 188, 0.1) !important;
    color: #0f98bc !important;
}

.public-searchable-select-dropdown .select2-results__option--selected {
    background: #0f98bc !important;
    color: #fff !important;
}

.public-searchable-select-dropdown .select2-results__message {
    padding: 1rem;
    color: #777;
    text-align: center;
}

.public-auth-form > .public-searchable-select,
.public-auth-form > label + .public-searchable-select {
    margin-top: 0.35rem;
}

.public-auth-form .public-searchable-select .select2-selection--single {
    min-height: 50px;
    border-color: #d8dde5 !important;
    border-radius: 1rem !important;
}

@media (max-width: 575.98px) {
    .public-searchable-select-dropdown.select2-dropdown {
        max-width: calc(100vw - 1.5rem);
    }

    .public-searchable-select-dropdown .select2-results__options {
        max-height: 210px !important;
    }
}
