/* Compact international phone field — shared FA/EN auth */
.fp-phone{width:100%}
.fp-phone > label{
  display:block;
  font-size:.8rem;
  color:#d4af37;
  margin-bottom:6px;
}
.fp-phone-row{
  display:flex;
  gap:8px;
  align-items:stretch;
  direction:ltr;
}
.fp-cc{
  position:relative;
  flex:0 0 auto;
}
.fp-cc-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  height:48px;
  min-width:98px;
  max-width:118px;
  padding:0 10px;
  border-radius:10px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(212,175,55,.25);
  color:#fff;
  font:inherit;
  font-size:.9rem;
  font-weight:600;
  cursor:pointer;
  white-space:nowrap;
  -webkit-tap-highlight-color:transparent;
}
.fp-cc-btn:hover,
.fp-cc-btn:focus-visible{
  border-color:#d4af37;
  background:rgba(255,255,255,.08);
  outline:none;
}
.fp-cc-btn[aria-expanded="true"]{
  border-color:#d4af37;
}
.fp-cc-flag{font-size:1.05rem;line-height:1}
.fp-cc-dial{letter-spacing:.02em}
.fp-cc-caret{
  font-size:.65rem;
  opacity:.7;
  margin-inline-start:1px;
}
.fp-cc-panel{
  position:absolute;
  top:calc(100% + 6px);
  left:0;
  width:min(300px, calc(100vw - 40px));
  max-height:min(300px, 55vh);
  display:flex;
  flex-direction:column;
  background:#141414;
  border:1px solid rgba(212,175,55,.35);
  border-radius:12px;
  box-shadow:0 16px 40px rgba(0,0,0,.55);
  z-index:80;
  overflow:hidden;
}
.fp-cc-panel[hidden]{display:none !important}
.fp-cc-search{
  width:100%;
  margin:0;
  border:0;
  border-bottom:1px solid rgba(255,255,255,.08);
  border-radius:0;
  padding:12px 14px;
  background:rgba(255,255,255,.04);
  color:#fff;
  font:inherit;
  font-size:.88rem;
  outline:none;
}
.fp-cc-search:focus{background:rgba(255,255,255,.07)}
.fp-cc-list{
  list-style:none;
  margin:0;
  padding:4px 0;
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  flex:1;
}
.fp-cc-list li{
  display:flex;
  align-items:center;
  gap:10px;
  padding:11px 14px;
  cursor:pointer;
  font-size:.86rem;
  color:#e8e8e8;
}
.fp-cc-list li:hover,
.fp-cc-list li:focus,
.fp-cc-list li.is-active{
  background:rgba(212,175,55,.12);
  outline:none;
}
.fp-cc-list li[hidden]{display:none !important}
.fp-cc-list .fp-cc-item-flag{flex:0 0 auto;font-size:1.05rem}
.fp-cc-list .fp-cc-item-name{
  flex:1;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  text-align:start;
}
.fp-cc-list .fp-cc-item-dial{
  flex:0 0 auto;
  color:#d4af37;
  font-weight:600;
  font-variant-numeric:tabular-nums;
}
.fp-cc-empty{
  padding:16px;
  text-align:center;
  color:#888;
  font-size:.82rem;
}
.fp-phone-national{
  flex:1;
  min-width:0;
  height:48px;
  margin:0 !important;
  padding:0 14px !important;
  border-radius:10px !important;
  background:rgba(255,255,255,.05) !important;
  border:1px solid rgba(212,175,55,.25) !important;
  color:#fff !important;
  font:inherit;
  font-size:.95rem;
  outline:none;
  letter-spacing:.02em;
}
.fp-phone-national:focus{
  border-color:#d4af37 !important;
  background:rgba(255,255,255,.08) !important;
}
.fp-phone-hint{
  display:block;
  margin-top:8px;
  color:#888;
  font-size:.72rem;
  line-height:1.55;
}
.fp-phone-hint.is-rtl{text-align:right}
.fp-phone-hint.is-ltr{text-align:left}

.terms-box{margin:8px 0 12px}
.terms-label{
  display:flex;
  align-items:flex-start;
  gap:10px;
  font-size:.82rem;
  color:#ccc;
  line-height:1.6;
  cursor:pointer;
}
.terms-label input{
  width:auto !important;
  height:auto !important;
  margin:3px 0 0 !important;
  padding:0 !important;
  accent-color:#d4af37;
  flex:0 0 auto;
}
.terms-label a{color:#d4af37;text-decoration:none}
.terms-label a:hover{text-decoration:underline}

@media (max-width:480px){
  .fp-cc-btn{
    min-width:88px;
    max-width:104px;
    height:46px;
    padding:0 8px;
    font-size:.86rem;
    gap:4px;
  }
  .fp-phone-national{height:46px;font-size:.92rem}
  .fp-cc-panel{
    width:min(100vw - 32px, 320px);
    max-height:min(260px, 50vh);
  }
  /* On very narrow screens, open panel aligned to phone row */
  .fp-phone-row{gap:6px}
}
