/* Durable intl-tel-input flag sprites + layout guards */
:root {
  --iti-path-flags-1x: url('/images/iti/flags.webp') !important;
  --iti-path-flags-2x: url('/images/iti/flags@2x.webp') !important;
}
.iti__flag {
  background-image: image-set(
    url('/images/iti/flags.webp') 1x,
    url('/images/iti/flags@2x.webp') 2x
  ) !important;
}
.iti { position: relative !important; display: inline-block !important; }
.iti__hide { display: none !important; }
.iti--inline-dropdown .iti__dropdown-content { position: absolute !important; z-index: 20 !important; }
.iti__country-container { position: absolute !important; top: 0; bottom: 0; left: 0; }
/* Global .form-group { overflow:hidden } clips the absolute country dropdown */
.form-group:has(.iti),
.form-group:has(.phone-input) {
  overflow: visible !important;
  position: relative;
  z-index: 2;
}
/* Theme overrides must not collapse icon/clear padding on the country search */
.iti__search-input {
  padding-left: 30px !important;
  padding-right: 28px !important;
}
