/* Overlay a keyboard- and touch-accessible native select on the exact
   original MetForm/React-Select visual shell. Existing theme styles are kept. */
.pestgo-static-select{position:relative}
.pestgo-static-select .pestgo-static-select-overlay{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;z-index:2}
.pestgo-static-select .mf_select__control{display:flex;align-items:center;justify-content:space-between;min-height:38px}
.pestgo-static-select .mf_select__value-container{min-width:0;flex:1}
.pestgo-static-select .mf_select__indicators{display:flex;align-items:center;align-self:stretch;flex-shrink:0}
.pestgo-static-select .mf_select__dropdown-indicator{display:flex;align-items:center;padding:8px;color:hsl(0,0%,80%)}
.pestgo-static-select .mf_select__dropdown-indicator svg{fill:currentColor;display:inline-block;line-height:1;stroke:currentColor;stroke-width:0}
.pestgo-static-select .mf_select__indicator-separator{align-self:stretch;background-color:hsl(0,0%,80%);margin-bottom:8px;margin-top:8px;width:1px}
.pestgo-static-select .pestgo-selected-text{color:inherit}
.pestgo-static-form .pestgo-form-status:not([hidden]){margin-top:12px;font-size:14px;line-height:1.5}

/* V9: Fix double select arrow on desktop and mobile.
   MetForm's original CSS draws a triangle with a border on the indicator.
   The standalone form preserves the original SVG chevron, so remove the
   redundant triangle rather than drawing both. Does not touch native select
   interaction or any other form styling. */
.pestgo-static-select .mf_select__indicator.mf_select__dropdown-indicator {
  border: 0;
  /* Preserve the original indicator box size after removing its 5px top
     and 4px side borders, so form height and text spacing do not change. */
  padding: 10.5px 12px;
}
.pestgo-static-select .mf_select__indicator.mf_select__dropdown-indicator > svg {
  display: block;
}

/* V10: Ensure every static MetForm dropdown is the same height as the
   adjacent single-line text/telephone/email inputs on all screen widths.
   The original input controls have 16px top/bottom padding and a 21px text
   line-height (53px total). The V9 SVG indicator's 10.5px vertical padding
   made dropdowns 73-74px tall. Remove only that vertical indicator padding;
   retain the corrected chevron, its original horizontal position, and native
   select overlay. Do not alter multi-line textareas or newsletter fields. */
.pestgo-static-form .pestgo-static-select .mf_select__indicator.mf_select__dropdown-indicator {
  padding: 0 12px;
}
/* At very narrow widths, long option placeholders must not wrap onto two
   lines and re-expand the select. Keep the full text available to the
   underlying native select; visually truncate only when space is limited. */
.pestgo-static-form .pestgo-static-select .mf_select__value-container {
  min-width: 0;
  overflow: hidden;
}
.pestgo-static-form .pestgo-static-select .mf_select__value-container :is(.mf_select__placeholder, .mf_select__single-value, .pestgo-selected-text) {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
