/* Shared country + national-number picker. RTL-safe, navy, no amber. */
.sfp{--sfp-navy:#0B5D3B;--sfp-ink:#171A20;--sfp-mut:#545B68;--sfp-line:#E2E5EA;--sfp-band:#F4F5F7;--sfp-err:#9F1F17;position:relative;min-width:0;width:100%;font-family:"IBM Plex Sans","IBM Plex Sans Arabic",system-ui,sans-serif}
html[lang="ur"] .sfp{font-family:"Noto Nastaliq Urdu","IBM Plex Sans Arabic",serif}
html[lang="ar"] .sfp{font-family:"IBM Plex Sans Arabic","IBM Plex Sans",sans-serif}
.sfp-row{display:flex;align-items:stretch;width:100%;min-width:0;background:var(--sfp-band);border:1.5px solid #C9D2E3;border-radius:999px;overflow:visible;position:relative}
.sfp-row:focus-within{border-color:var(--sfp-navy);background:#fff;box-shadow:0 0 0 3px rgba(11,93,59,.15)}
.sfp.is-err .sfp-row{border-color:#C93A2E;background:#fff;box-shadow:0 0 0 3px rgba(201,58,46,.12)}
.sfp-cc{display:inline-flex;align-items:center;gap:6px;border:0;background:transparent;padding:0 10px 0 12px;margin:0;font:inherit;font-size:14px;font-weight:600;color:var(--sfp-ink);cursor:pointer;white-space:nowrap;flex:none;min-height:48px;border-radius:999px 0 0 999px}
[dir="rtl"] .sfp-cc{border-radius:0 999px 999px 0;padding:0 12px 0 10px}
.sfp-cc:hover{background:rgba(11,93,59,.06)}
.sfp-flag{width:20px;height:14px;border-radius:2px;box-shadow:0 0 0 1px rgba(0,0,0,.1);flex:none;overflow:hidden;display:inline-block;background:#eee}
.sfp-flag svg{display:block;width:20px;height:14px}
.sfp-dial{font-variant-numeric:tabular-nums;direction:ltr;unicode-bidi:isolate}
.sfp-caret{width:10px;height:10px;opacity:.6}
.sfp-nat{flex:1;min-width:0;border:0;background:transparent;padding:11px 14px 11px 0;font:inherit;font-size:16px;color:var(--sfp-ink);outline:none;direction:ltr;unicode-bidi:isolate}
[dir="rtl"] .sfp-nat{padding:11px 0 11px 14px;text-align:right}
.sfp-nat::placeholder{color:#8A94A8}
.sfp-pop{position:absolute;z-index:80;top:calc(100% + 6px);inset-inline-start:0;inset-inline-end:0;background:#fff;border:1px solid var(--sfp-line);border-radius:12px;box-shadow:0 16px 40px rgba(23,26,32,.16);padding:8px;max-height:min(360px,70vh);display:flex;flex-direction:column;min-width:0}
.sfp-search{width:100%;border:1px solid var(--sfp-line);border-radius:8px;padding:8px 10px;font:inherit;font-size:14px;margin:0 0 6px;outline:none;min-width:0;background:#fff}
.sfp-search:focus{border-color:var(--sfp-navy)}
.sfp-list{overflow:auto;min-height:0;flex:1;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
.sfp-item{display:flex;align-items:center;gap:8px;width:100%;border:0;background:transparent;padding:8px 10px;font:inherit;font-size:14px;cursor:pointer;border-radius:8px;text-align:start;color:var(--sfp-ink)}
.sfp-item:hover,.sfp-item[aria-selected="true"]{background:#EAF3EE}
.sfp-item .n{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sfp-item .d{color:var(--sfp-mut);direction:ltr;unicode-bidi:isolate;flex:none}
.sfp-err{display:none;color:var(--sfp-err);font-size:13px;margin:6px 0 0}
.sfp.is-err .sfp-err{display:block}
.sfp-empty{padding:12px 10px;color:var(--sfp-mut);font-size:13px}

/* SFPhone is the only country picker; never let sf-xc add a second .xc-cc. */
.sfp .xc-cc, [data-sbf-phone] .xc-cc, #sf-auth-phone .xc-cc, .sfp-auth-host .xc-cc{display:none!important}
.sfp .sfp-nat, [data-sbf-phone] .sfp-nat, #sf-auth-phone .sfp-nat{padding-inline-start:12px!important;padding-left:12px!important}
.sfp-row.xc-telh, .sfp-row.xc-fh{position:relative}
/* When the searchable picker is bound on /auth/, hide the raw identifier field. */
.au-in.sfp-bound, #au-id.sfp-bound{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;border:0!important;padding:0!important;margin:-1px!important}
