.iti {
    width: 100%;
    max-width: 100%;
}

.iti input[type="tel"] {
    width: 100%;
}

.iti__dropdown-content {
    z-index: 10050;
}

.iti .iti__search-input {
    box-sizing: border-box;
    width: 100%;
    height: 46px !important;
    min-height: 46px;
    margin: 0 !important;
    padding: 0 44px 0 46px !important;
    border: 0 !important;
    border-radius: 0;
    font-family: inherit !important;
    font-size: 16px !important;
    font-weight: 700;
    line-height: 1.25 !important;
}

.iti__search-input-wrapper {
    flex: 0 0 auto;
    min-height: 46px;
}

.iti__search-icon {
    left: 14px;
    z-index: 1;
}

.iti__search-clear {
    right: 8px;
}

.iti__country-selector {
    box-sizing: border-box;
    overflow: hidden;
}

.iti__country-list {
    max-height: min(240px, calc(100dvh - 180px));
}

.iti--fullscreen-popup {
    box-sizing: border-box;
}

.iti--fullscreen-popup .iti__country-selector {
    width: auto !important;
    max-width: 100%;
    min-width: 0;
}

.iti--fullscreen-popup .iti__country-name {
    min-width: 0;
    overflow-wrap: anywhere;
}

.bo-body .iti__country-list,
.bo-body .iti__dropdown-content,
.bo-login-body .iti__country-list,
.bo-login-body .iti__dropdown-content {
    color: #111827;
    background: #ffffff;
}

.bo-body .iti__country.iti__highlight,
.bo-body .iti__country:hover,
.bo-login-body .iti__country.iti__highlight,
.bo-login-body .iti__country:hover {
    color: #111827;
    background: #eef2f7;
}

[data-theme="dark"] .bo-body .iti__country-list,
[data-theme="dark"] .bo-body .iti__dropdown-content,
[data-theme="dark"] .bo-login-body .iti__country-list,
[data-theme="dark"] .bo-login-body .iti__dropdown-content {
    color: #ffffff;
    background: #101a2d;
    border-color: #34415a;
}

[data-theme="dark"] .bo-body .iti__country.iti__highlight,
[data-theme="dark"] .bo-body .iti__country:hover,
[data-theme="dark"] .bo-login-body .iti__country.iti__highlight,
[data-theme="dark"] .bo-login-body .iti__country:hover {
    color: #ffffff;
    background: #1d2a42;
}

[data-theme="dark"] .bo-body .iti__search-input,
[data-theme="dark"] .bo-login-body .iti__search-input {
    color: #ffffff;
    background: #0b1425;
    border-color: #34415a;
}
