/* The Phone field with intl-tel-input (inbound/widgets/phone_input.html) in the site's form fields:
   as wide as the others, its label always above (the flag and dial code sit where it would rest),
   and the line under it drawn while the number has the focus, as under the other fields (whose
   input is the line's sibling; this one is inside the library's wrapper). */
.form-fields .iti {
  display: block;
  width: 100%;
}

.form-fields .iti ~ label {
  top: -1.2rem;
}

.form-fields:has(.iti__tel-input:focus) > .bg-decorative {
  min-width: 100%;
  max-width: 100%;
}

/* The country button and its list in the site's type. */
.form-fields .iti__selected-country {
  background: none;
  color: inherit;
}

.iti__dropdown-content,
.iti__search-input {
  font-family: inherit;
}
