/* 508 Ministry Universal All-World Phone Input (m508-intl-phone.css) */
.m508-intl-wrap {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
}
.m508-intl-wrap *, .m508-intl-wrap *::before, .m508-intl-wrap *::after {
  box-sizing: border-box;
}
.m508-intl-box {
  display: flex;
  align-items: stretch;
  width: 100%;
  background: #FFFDF9;
  border: 1.5px solid #D5C59F;
  border-radius: 10px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.m508-intl-box:focus-within {
  border-color: #C99422;
  box-shadow: 0 0 0 3px rgba(212, 168, 75, 0.25);
}
.m508-intl-box.is-detected {
  border-color: #4D8B62;
}
.m508-intl-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  background: rgba(11, 27, 58, 0.045);
  border: 0;
  border-right: 1px solid #E5DAC0;
  border-radius: 8px 0 0 8px;
  color: #0B1B3A;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  flex-shrink: 0;
  min-height: 40px;
}
.m508-intl-btn:hover {
  background: #FFF7DB;
}
.m508-intl-box > input {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: 100% !important;
  border: 0 !important;
  border-radius: 0 8px 8px 0 !important;
  box-shadow: none !important;
  outline: none !important;
  margin: 0 !important;
  background: transparent !important;
}
.m508-flag-svg {
  display: inline-block;
  width: 22px;
  height: 15px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(11, 27, 58, 0.16);
  flex-shrink: 0;
}
.m508-flag-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
  background: #E8EEF7;
  color: #0B1B3A;
  line-height: 1.2;
}
.m508-intl-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}
.m508-intl-meta:empty { display: none; }
.m508-intl-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #ECFDF5;
  border: 1px solid #86EFAC;
  color: #065F46;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}
.m508-intl-pill.is-neutral {
  background: #FFFBEB;
  border-color: #FCD34D;
  color: #92400E;
}
.m508-intl-tz {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  color: #1E3A5F;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.3;
}
.m508-intl-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 5px);
  z-index: 9999;
  min-width: 265px;
  background: #FFFFFF;
  border: 1.5px solid #D4A84B;
  border-radius: 12px;
  box-shadow: 0 20px 44px rgba(11, 27, 58, 0.25);
  overflow: hidden;
  color: #0B1B3A;
}
.m508-intl-menu[hidden] { display: none; }
.m508-intl-search {
  display: block;
  width: 100%;
  border: 0;
  border-bottom: 1px solid #EFE6CE;
  background: #FFFDF8;
  padding: 9px 12px;
  font: inherit;
  font-size: 13.5px;
  color: #0B1B3A;
  outline: none;
}
.m508-intl-list {
  max-height: 250px;
  overflow-y: auto;
}
.m508-intl-group {
  padding: 5px 12px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9A6B16;
  background: #FAF7F0;
  border-bottom: 1px solid #EFE6CE;
}
.m508-intl-opt {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 0;
  border-bottom: 1px solid #F5F0E4;
  background: #FFFFFF;
  color: #0B1B3A;
  font: inherit;
  font-size: 13.5px;
  text-align: left;
  cursor: pointer;
}
.m508-intl-opt:hover, .m508-intl-opt.is-on {
  background: #FFF7DB;
}
.m508-intl-opt-name {
  flex: 1;
  min-width: 0;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.m508-intl-opt-code {
  font-weight: 800;
  color: #0F4A27;
  flex-shrink: 0;
}
