/* Shared phone control: the international prefix is visible but not editable. */
.shx-phone-field {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.shx-phone-field__prefix {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  padding: .375rem .75rem;
  border: var(--bs-border-width, 1px) solid var(--bs-border-color, #ced4da);
  border-inline-end: 0;
  border-radius: var(--bs-border-radius, .375rem) 0 0 var(--bs-border-radius, .375rem);
  background: var(--bs-tertiary-bg, #f8f9fa);
  color: var(--bs-secondary-color, #6c757d);
  font-weight: 600;
}

.shx-phone-field > input {
  min-width: 0;
  border-start-start-radius: 0 !important;
  border-end-start-radius: 0 !important;
}

.shx-phone-field > input:focus {
  position: relative;
  z-index: 1;
}

.shx-phone-field:focus-within .shx-phone-field__prefix {
  border-color: var(--bs-primary, #0d6efd);
}

.shx-phone-field:has(> input:disabled) .shx-phone-field__prefix {
  opacity: .65;
}
