/* Shared phone country dialer — Oman (+968) default with flag picker.
   Used by storefront, /join/, and dashboard for one consistent phone UI. */
.phone-cc-field {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  direction: ltr;
  border: 1px solid #cfd8dc;
  border-radius: 10px;
  background: #fff;
  min-height: 2.85rem;
  overflow: visible;
  z-index: 1;
}
.phone-cc-field.is-open { z-index: 40; }
.phone-cc-field:focus-within,
.phone-cc-field.is-open {
  border-color: #1565c0;
  box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.12);
}
.phone-cc-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex: 0 0 auto;
  min-width: 6.6rem;
  border: 0;
  border-inline-end: 1px solid #e0e6eb;
  background: #eef3f8;
  padding: 0.4rem 0.55rem;
  cursor: pointer;
  font: inherit;
  color: #0d2137;
  border-radius: 10px 0 0 10px;
}
.phone-cc-trigger:hover { background: #e3ebf3; }
.phone-cc-flag-img {
  width: 22px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}
.phone-cc-code {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.phone-cc-caret {
  font-size: 0.7rem;
  opacity: 0.7;
}
.phone-cc-local {
  flex: 1 1 0%;
  width: 0;
  min-width: 0;
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  background: transparent !important;
  padding: 0.55rem 0.75rem !important;
  font-size: 1rem;
  direction: ltr;
  text-align: left;
  border-radius: 0 10px 10px 0;
  max-width: none !important;
}
.phone-cc-panel {
  position: absolute;
  top: calc(100% + 4px);
  inset-inline-start: 0;
  z-index: 50;
  width: min(22rem, 92vw);
  background: #fff;
  border: 1px solid #d7dee7;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.16);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 18rem;
}
.phone-cc-panel[hidden] { display: none !important; }
.phone-cc-search {
  border: 0;
  border-bottom: 1px solid #e8eef4;
  padding: 0.65rem 0.75rem;
  font: inherit;
  font-size: 0.9rem;
  outline: none;
  background: #f8fafc;
}
.phone-cc-search:focus { background: #fff; }
.phone-cc-menu {
  overflow: auto;
  padding: 0.25rem;
  flex: 1 1 auto;
}
.phone-cc-empty {
  margin: 0.75rem;
  color: #90a4ae;
  font-size: 0.85rem;
}
.phone-cc-option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: start;
  padding: 0.48rem 0.55rem;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.phone-cc-option:hover,
.phone-cc-option.is-active { background: #eef6ff; }
.phone-cc-option-meta {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  line-height: 1.2;
}
.phone-cc-option-meta strong { font-size: 0.9rem; }
.phone-cc-option-meta small { font-size: 0.75rem; color: #607d8b; }
.phone-cc-native[type="hidden"] { display: none !important; }
.store-auth-field .phone-cc-field,
.form-group .phone-cc-field,
.auth-card .phone-cc-field,
.store-checkout-card .phone-cc-field,
.pay-method-fields .phone-cc-field {
  margin-top: 0.15rem;
}
