/* Local, accessible calling-code selector. No external fonts or flag assets. */
.phone-country-group {
  display: grid;
  grid-template-columns: minmax(88px, 34%) minmax(0, 1fr);
  gap: 8px;
  align-items: stretch;
  position: relative;
}
.lead-form .phone-country-group > input,
.lead-form .phone-country-group > select {
  min-width: 0;
  width: 100%;
  margin: 0;
}
.lead-form .phone-country-group > select.phone-country-select {
  grid-area: 1 / 1;
  color: transparent !important;
  appearance: none;
  background-color: #f1f7f5;
  border-color: #bdcfc9;
  font-size: 14px;
  padding-inline: 10px 24px;
  text-overflow: clip;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m2 2 4 4 4-4' fill='none' stroke='%23123b40' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat;
  background-position: right 10px center;
}
.lead-form .phone-country-select option {
  color: #123b40 !important;
  background-color: #fff;
}
.phone-country-group > input {
  grid-area: 1 / 2;
}
.phone-country-group > .phone-dial-display {
  grid-area: 1 / 1;
  align-self: center;
  margin-inline: 12px 26px;
  z-index: 1;
  color: #123b40;
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
  white-space: nowrap;
  direction: ltr;
  unicode-bidi: isolate;
  text-align: left;
  pointer-events: none;
}
html[dir="rtl"] .phone-country-group {
  direction: ltr;
}
.phone-country-note {
  margin: 7px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #4c6572;
}
.phone-country-group :focus-visible {
  outline: 3px solid #137a65;
  outline-offset: 2px;
}
@media (max-width: 420px) {
  .phone-country-group {
    grid-template-columns: minmax(95px, 37%) minmax(0, 1fr);
  }
}
