/* Flag dropdowns + country/state/city fields (see js/geo-fields.js). */
.phone-input { display: grid; grid-template-columns: minmax(104px, 34%) 1fr; gap: 8px; }
.phone-input input, .phone-input .geo-dd { min-width: 0; width: 100%; }
.geo-dd { position: relative; }
.geo-native { position: absolute; inset: 0; opacity: 0; pointer-events: none; width: 100%; height: 100%; }
.geo-btn { display: flex; align-items: center; gap: 8px; width: 100%; padding: 13px 14px; font: inherit; font-weight: 500; color: inherit;
  text-align: left; background: #fff; border: 1px solid var(--border, #cfd4dc); border-radius: var(--radius-sm, 10px); cursor: pointer; }
.geo-btn::after { content: ""; margin-left: auto; border: 4px solid transparent; border-top-color: currentColor; border-bottom: 0; opacity: .6; }
.geo-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.geo-btn:focus-visible, .geo-search:focus-visible { outline: 2px solid #1f5c4a; outline-offset: 1px; }
.geo-flag { width: 20px; height: 15px; object-fit: cover; border-radius: 2px; flex: none; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.geo-panel { position: absolute; z-index: 60; top: calc(100% + 4px); left: 0; min-width: 100%; width: max(100%, 280px); background: #fff;
  border: 1px solid #cfd4dc; border-radius: 10px; box-shadow: 0 12px 30px rgba(15, 23, 42, .16); overflow: hidden; }
.geo-panel[hidden] { display: none; }
.geo-panel .geo-search { display: block; width: 100%; box-sizing: border-box; padding: 10px 12px; font: inherit; border: 0; border-bottom: 1px solid #e5e7eb; border-radius: 0; box-shadow: none; }
.geo-list { margin: 0; padding: 4px; list-style: none; max-height: 240px; overflow-y: auto; }
.geo-list li { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 6px; cursor: pointer; }
.geo-list li:hover, .geo-list li[aria-selected="true"] { background: #e7f3ed; color: #174637; }
.geo-list li small { margin-left: auto; opacity: .65; }
.geo-empty { padding: 10px; opacity: .6; }
.p-field-group { display: grid; gap: 6px; font-size: .88rem; font-weight: 700; }
/* Rahab-style extras: hint under the search box and hidden wrappers (state / city when no list exists) */
.geo-dd[hidden] { display: none; }
.geo-hint { margin: 0; padding: 6px 12px; font-size: .72rem; line-height: 1.3; color: #6b7280; background: #f9fafb; border-bottom: 1px solid #e5e7eb; }
.geo-location-hint { color: var(--muted, #6d7771); font-size: .76rem; line-height: 1.4; }
.city-picker { position: relative; width: 100%; }
.city-picker > input { width: 100%; box-sizing: border-box; }
.city-picker-panel { position: absolute; z-index: 120; top: calc(100% + 5px); left: 0; right: 0; max-height: 240px; overflow-y: auto;
  padding: 5px; background: #fff; border: 1px solid #d9e0dc; border-radius: 10px; box-shadow: 0 12px 28px rgba(20, 45, 35, .16); }
.city-picker-panel[hidden] { display: none; }
.city-picker-option { display: block; width: 100%; padding: 9px 11px; color: #18372f; background: transparent; border: 0; border-radius: 6px; text-align: left; font: inherit; cursor: pointer; }
.city-picker-option:hover, .city-picker-option.is-active { background: #eef5f1; }
.city-picker-empty { padding: 10px 11px; color: #6d7771; font-size: .88rem; }
