/* The one phone field (intl-tel-input, the Phone numbers boards, 27 Nov
   2026) in our look: the flag, "+49" and a chevron where the chip was, a
   divider, then the number; the list a white card under the field. Each
   page's field box (.fw-phone on /clip, .si-phone on /me, .site-phone on
   the booking site, .fp-phone on the friend pass page) carries
   data-phone-intl; once the library is on it gets .has-iti and its own
   chip, the select, is hidden (it still submits, in step with the flag). */

.gms-iti {
  --iti-border-color: rgba(0, 0, 68, 0.12);
  --iti-icon-color: rgba(0, 0, 68, 0.5);
  --iti-hover-color: rgba(0, 0, 68, 0.06);
  --iti-arrow-size: 5px;
  --iti-flag-width: 24px;
  --iti-spacer-horizontal: 12px;
  flex: 1;
  min-width: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
  color: #000044;
}
.gms-iti input.iti__tel-input { width: 100%; height: 100%; }

/* The chip: flag, dial code, chevron, then a divider like today's. */
.gms-iti .iti__selected-country { background: none; border: 0; padding: 0; height: 100%; font: inherit; color: inherit; cursor: pointer; }
.gms-iti .iti__selected-country-primary { padding: 0 12px 0 0; gap: 0; }
.gms-iti .iti__flag { border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 68, 0.12); }
.gms-iti .iti__selected-dial-code { margin-left: 8px; font-weight: 800; color: #000044; }
.gms-iti .iti__arrow { margin-left: 8px; }
.gms-iti .iti__country-container::after { content: ""; position: absolute; right: 0; top: 14px; bottom: 14px; width: 2px; background: rgba(0, 0, 68, 0.12); }
.gms-iti .iti__selected-country:focus-visible { outline: 3px solid #001DA2; outline-offset: 2px; border-radius: 8px; }

/* The list: a white card with a search box, Germany, Italy, France, the
   US, the UK and Spain on top, then every country A to Z: flag, name, code. */
.gms-iti .iti__country-selector { height: auto !important; border: 0; border-radius: 18px; box-shadow: 0 12px 32px rgba(0, 0, 68, 0.22); overflow: hidden; margin-top: 8px; background: #fff; }
.gms-iti .iti__search-input-wrapper { margin: 12px; }
.gms-iti .iti__search-input { height: 44px; padding-left: 38px; border: 2px solid rgba(0, 0, 68, 0.15); border-radius: 12px; box-sizing: border-box; font: inherit; font-size: 16px; color: #000044; }
.gms-iti .iti__country-list { max-height: 330px; overflow-y: auto; }
.gms-iti .iti__country { display: flex; align-items: center; gap: 0; min-height: 44px; box-sizing: border-box; padding: 0 16px; font-size: 16px; font-weight: 600; color: #000044; }
.gms-iti .iti__country .iti__flag { order: -1; flex: none; margin-right: 12px; }
.gms-iti .iti__country-name { flex: 1; }
.gms-iti .iti__dial-code { color: #46406d; font-weight: 400; }
.gms-iti .iti__country-check { display: none; }

/* /clip's screens hide the header blob's overflow; a focused field must
   not scroll the screen sideways into it. */
.screen:has([data-phone-intl]) { overflow: clip; }

/* /clip: the white 58-tall box keeps its padding; the old chip goes. */
.fw-phone.has-iti .fw-dial { display: none; }
.fw-phone.has-iti .iti__selected-dial-code { font-size: 18px; }
.fw-phone.has-iti.is-invalid { border-color: var(--gms-terracotta, #B0482D); }

/* /me's sign-in, the booking site and the friend pass page. */
.si-phone.has-iti .si-country,
.si-phone.has-iti .si-country-chip,
.site-phone.has-iti .site-phone-cc,
.fp-phone.has-iti .fp-cc { display: none; }
.si-phone.has-iti.is-invalid,
.site-phone.has-iti.is-invalid,
.fp-phone.has-iti.is-invalid { border-color: #B0482D; }

/* Today's order: flag, dial code, chevron. */
.gms-iti .iti__selected-country { display: flex; align-items: center; }
.gms-iti .iti__selected-country-primary { display: contents; }
.gms-iti .iti__flag { order: 1; }
.gms-iti .iti__selected-dial-code { order: 2; }
.gms-iti .iti__arrow { order: 3; margin-right: 12px; }
