/* Shared by the estimate card, contact page and quote dialog. */
:is(.wh-form-card, .wh-legacy, #quote) form.elementor-form {
  font-family: var(--wh-sans, Arial, sans-serif);
  color: #153650;
}
:is(.wh-form-card, .wh-legacy, #quote) form.elementor-form .elementor-form-fields-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
  margin: 0;
}
:is(.wh-form-card, .wh-legacy, #quote) form.elementor-form .elementor-field-group {
  grid-column: 1 / -1;
  display: block;
  min-width: 0;
  width: 100%;
  padding: 0;
  margin: 0;
}
:is(.wh-form-card, .wh-legacy, #quote) form.elementor-form .elementor-col-50 { grid-column: auto; }
:is(.wh-form-card, .wh-legacy, #quote) form.elementor-form .elementor-field-label {
  display: block;
  padding: 0;
  margin: 0 0 6px;
  font: 600 14px/1.4 var(--wh-sans, Arial, sans-serif);
  color: #153650;
}
:is(.wh-form-card, .wh-legacy, #quote) form.elementor-form :is(input.elementor-field-textual, textarea.elementor-field-textual, select.elementor-field-textual) {
  box-sizing: border-box;
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #8398a8;
  border-radius: 6px;
  background: white;
  color: #153650;
  font: 400 16px/1.45 var(--wh-sans, Arial, sans-serif);
}
:is(.wh-form-card, .wh-legacy, #quote) form.elementor-form select.elementor-field-textual { appearance: auto; }
:is(.wh-form-card, .wh-legacy, #quote) .select-caret-down-wrapper { display: none; }
:is(.wh-form-card, .wh-legacy, #quote) form.elementor-form .elementor-field-subgroup {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
:is(.wh-form-card, .wh-legacy, #quote) form.elementor-form .elementor-field-option {
  position: relative;
  display: inline-flex;
  margin: 0;
  padding: 0;
}
:is(.wh-form-card, .wh-legacy, #quote) form.elementor-form .elementor-field-option input {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  accent-color: #1169af;
}
:is(.wh-form-card, .wh-legacy, #quote) form.elementor-form .elementor-field-option label {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 14px 6px 37px;
  border: 1px solid #8398a8;
  border-radius: 6px;
  background: white;
  color: #153650;
  cursor: pointer;
  font: 500 15px/1.4 var(--wh-sans, Arial, sans-serif);
}
:is(.wh-form-card, .wh-legacy, #quote) .elementor-field-option input:checked + label {
  border-color: #1169af;
  background: #e7f3ff;
}
:is(.wh-form-card, .wh-legacy, #quote) form.elementor-form :is(.elementor-field-textual:focus-visible, .elementor-field-option input:focus-visible + label, button:focus-visible) {
  outline: 2px solid #1169af;
  outline-offset: 2px;
}
:is(.wh-form-card, .wh-legacy, #quote) form.elementor-form button[type=submit] {
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 12px 18px;
  border: 0;
  border-radius: 6px;
  background: #1169af;
  color: white;
  font: 650 16px/1.4 var(--wh-sans, Arial, sans-serif);
}
@media (max-width: 600px) {
  :is(.wh-form-card, .wh-legacy, #quote) form.elementor-form .elementor-form-fields-wrapper { grid-template-columns: minmax(0, 1fr); }
}
