/* Kavaler — v64, the fields of the forms (public/js/kv-forms.js): the phone number with the country code and its
   list of the countries, the password with its eye and the line when the two passwords differ. Light, as the site
   and the customers' app. */
.ph { display: flex; align-items: stretch; gap: 10px; width: 100%; }
.ph .ph-num { flex: 1; min-width: 0; width: auto; }
.ph-cc { order: -1; flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 10px; border: 1px solid #DCDCDE; border-radius: 10px; background: #F4F4F5; color: #1F2023; font: inherit; font-size: 15px; font-weight: 600; line-height: 1; cursor: pointer; }
.ph-cc-iso { font-size: 11px; font-weight: 800; letter-spacing: .06em; color: #5F6064; }
.ph-cc-dial { font-variant-numeric: tabular-nums; }
.ph-cc svg { color: #5F6064; }
.ph-cc:focus-visible { outline: 2px solid #1F2023; outline-offset: 2px; }
/* the customers' app: fields without a frame, the code on a small grey pill */
.cl-field .ph-cc { min-height: 34px; border: 0; background: #F1F1F2; }
.cl-field .ph { margin-top: 2px; align-items: center; }

.pw { position: relative; display: block; width: 100%; }
.pw > input { width: 100%; padding-right: 46px; }
.cl-field .pw > input { padding-right: 40px; }
.pw-eye { position: absolute; right: 2px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; padding: 0; border: 0; border-radius: 19px; background: none; color: #5F6064; display: grid; place-items: center; cursor: pointer; }
.pw-eye:focus-visible { outline: 2px solid #1F2023; outline-offset: 0; }
.pw-err { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; font-weight: 600; line-height: 1.35; color: #B3261E; }
.pw-err svg { flex: none; }

/* the list of the countries: a sheet from the bottom on a phone, a window on a computer */
html.ph-open { overflow: hidden; }
.ph-sheet { position: fixed; inset: 0; z-index: 1000; font-family: Manrope, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
.ph-backdrop { position: absolute; inset: 0; background: rgba(17, 17, 19, .45); }
.ph-dialog { position: absolute; left: 0; right: 0; bottom: 0; min-height: 70vh; min-height: 70dvh; max-height: 88vh; max-height: 88dvh; display: flex; flex-direction: column; box-sizing: border-box; padding: 8px 20px 0; background: #fff; color: #1F2023; border-radius: 24px 24px 0 0; box-shadow: 0 -8px 30px rgba(0, 0, 0, .12); transform: translateY(16px); opacity: 0; transition: transform .2s ease, opacity .2s ease; }
.ph-sheet.on .ph-dialog { transform: none; opacity: 1; }
.ph-grab { display: block; flex: none; width: 36px; height: 5px; margin: 0 auto; border-radius: 3px; background: #D6D6D6; }
.ph-head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.ph-head h2 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: 0; font-family: inherit; }
.ph-x { flex: none; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 18px; background: #F1F1F2; color: #1F2023; display: grid; place-items: center; cursor: pointer; }
.ph-search { flex: none; margin-top: 14px; height: 46px; box-sizing: border-box; padding: 0 14px; display: flex; align-items: center; gap: 10px; border-radius: 14px; background: #F1F1F2; color: #8E8F93; }
.ph-search input { flex: 1; min-width: 0; height: 100%; margin: 0; padding: 0; border: 0; background: transparent; color: #1F2023; font: inherit; font-size: 16px; outline: none; -webkit-appearance: none; appearance: none; }
.ph-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.ph-list { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; margin: 6px -20px 0; padding: 0 20px calc(16px + env(safe-area-inset-bottom)); }
.ph-sec { margin: 14px 0 2px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8E8F93; }
.ph-item { width: 100%; min-height: 48px; display: flex; align-items: center; gap: 12px; margin: 0; padding: 0; border: 0; border-bottom: 1px solid #EFEFEF; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.ph-item:focus-visible { outline: 2px solid #1F2023; outline-offset: -2px; border-radius: 8px; }
.ph-iso { width: 34px; height: 24px; flex: none; border-radius: 6px; background: #F1F1F2; color: #5F6064; font-size: 11px; font-weight: 800; letter-spacing: .04em; display: grid; place-items: center; }
.ph-item[aria-selected="true"] .ph-iso { background: #1F2023; color: #fff; }
.ph-name { flex: 1; min-width: 0; font-size: 16px; font-weight: 500; }
.ph-item[aria-selected="true"] .ph-name { font-weight: 700; }
.ph-dial { flex: none; font-size: 15px; color: #5F6064; font-variant-numeric: tabular-nums; }
.ph-item[aria-selected="true"] .ph-dial { color: #1F2023; font-weight: 600; }
.ph-gap { width: 18px; flex: none; }
.ph-none { margin: 22px 0; text-align: center; color: #8E8F93; }
@media (min-width: 640px) {
  .ph-dialog { left: 50%; right: auto; top: 50%; bottom: auto; width: 440px; min-height: 0; height: min(640px, 80vh); max-height: none; padding-top: 4px; border-radius: 24px; transform: translate(-50%, -47%); }
  .ph-sheet.on .ph-dialog { transform: translate(-50%, -50%); }
  .ph-grab { display: none; }
  .ph-list { padding-bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) { .ph-dialog { transition: none; } }
