:root {
    --iti-border-color: #c4bec9;
    --iti-country-selector-bg: #fefefe;
    --iti-hover-color: rgba(196, 190, 201, 0.42);
    --iti-icon-color: #2c293f;
}

.iti.ubt-phone-input {
    display: block;
    width: 100%;
    color: #2c293f;
    font-family: inherit;
}

.iti.ubt-phone-input input.iti__tel-input,
.iti.ubt-phone-input input.iti__tel-input[type="tel"] {
    width: 100%;
    min-width: 0;
    color: inherit;
}

.iti.ubt-phone-input--dark {
    --iti-hover-color: rgba(254, 254, 254, 0.12);
    --iti-icon-color: #fefefe;
    color: #fefefe;
}

.iti.ubt-phone-input .iti__selected-country-primary {
    padding-left: 0;
}

.iti.ubt-phone-input .iti__selected-dial-code {
    font-size: inherit;
    font-weight: inherit;
}

.iti__country-selector {
    z-index: 1100;
    color: #2c293f;
    background: #fefefe;
    border-color: #c4bec9;
    border-radius: 0;
    font-family: inherit;
    font-size: 0.875rem;
    line-height: 1.35;
    box-shadow: 0 0.75rem 2rem rgba(44, 41, 63, 0.2);
}

.iti__search-input {
    color: #2c293f;
    background: #fefefe;
    border-radius: 0;
    outline: none;
}

.iti__search-input:focus {
    box-shadow: inset 0 0 0 2px #cf342f;
}

.iti__country.iti__highlight {
    background: #c4bec9;
}

.iti__country-name,
.iti__dial-code,
.iti__no-results {
    color: #2c293f;
}

.iti__country-check {
    color: #cf342f;
}

@media (max-width: 500px) {
    .iti--fullscreen-popup.iti--detached-country-selector {
        z-index: 1100;
        padding: 1.25rem;
    }

    .iti--fullscreen-popup .iti__country-selector {
        max-height: calc(100dvh - 2.5rem);
    }
}
