/* Native Listeo international-phone widget, scoped only to account forms. */
#register .ld-mobile-host, #edit_user .my-profile .ld-mobile-host { min-width:0; }
#register .ld-mobile-host > i { display:none; }
#register .ld-mobile-host .ld-mobile-iti, #edit_user .my-profile .ld-mobile-iti { width:100%; min-width:0; display:block; direction:ltr; }
#register .ld-mobile-iti input[name="phone"], #edit_user .my-profile .ld-mobile-iti input[name="phone"] { width:100%; padding-left:58px !important; padding-right:12px !important; box-sizing:border-box; margin:0 !important; }
#register .ld-mobile-iti .iti__flag-container, #edit_user .my-profile .ld-mobile-iti .iti__flag-container { left:0; right:auto; width:49px; }
#register .ld-mobile-iti .iti__selected-flag, #edit_user .my-profile .ld-mobile-iti .iti__selected-flag { padding:0 8px; border-right:1px solid #cdd5e4; border-radius:8px 0 0 8px; background:transparent; }
.iti__dropdown-content.ld-mobile-dropdown { font:inherit; color:#081023; background:#fff; border:1px solid #cdd5e4; border-radius:10px; box-shadow:0 8px 24px #08102326; max-width:calc(100vw - 24px); }
.ld-mobile-dropdown .iti__country { color:#081023; font-size:14px; padding:6px 10px; }
.ld-mobile-dropdown .iti__dial-code { color:#52617c; margin-left:auto; }
.ld-mobile-dropdown .iti__country.iti__highlight { background:#eee7fc; }
.ld-mobile-dropdown input.iti__search-input { color:#081023; background:#f0f4fc; border-radius:7px; }
.ld-mobile-dropdown .iti__country-name { color:#081023; min-width:0; white-space:normal; }
.ld-mobile-dropdown .iti__country-list { max-height:220px; }


/* Profile only: keep native flag above the input and its body portal above the dashboard. */
#edit_user .my-profile .ld-mobile-iti { isolation:isolate; }
#edit_user .my-profile .ld-mobile-iti .iti__flag-container { z-index:2; pointer-events:auto; }
#edit_user .my-profile .ld-mobile-iti .iti__selected-flag { cursor:pointer; pointer-events:auto; }
.iti--container.ld-profile-mobile-portal { z-index:1000002; }
/* Native v19.5.3 uses document coordinates for inline body portals. */
.iti--container.ld-profile-mobile-portal.iti--inline-dropdown { position:absolute; width:0; padding:0; }
.iti--container.ld-profile-mobile-portal.iti--fullscreen-popup { width:auto; }
.ld-profile-mobile-portal.iti--inline-dropdown .ld-mobile-dropdown { margin:0; }
