/*
  Quote form baseline. Everything sits inside :where() so it has zero specificity:
  any rule the theme's main.css already has for the form area, inputs or
  .gform_button wins automatically. This only fills the gaps left by the
  Gravity Forms stylesheets that no longer load.
*/
:where(.qf) { max-width: 100%; font: inherit; }
:where(.qf .qf-field) { margin: 0 0 1rem; }
:where(.qf input[type="text"], .qf input[type="tel"], .qf input[type="email"], .qf textarea) {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: .8rem 1rem;
  font: inherit;
  color: inherit;
  background: #fff;
  border: 1px solid #c9cfd6;
  border-radius: 3px;
}
:where(.qf textarea) { resize: vertical; min-height: 9rem; }
:where(.qf .qf-submit) { min-height: 44px; cursor: pointer; }
:where(.qf .qf-submit:disabled) { opacity: .6; cursor: wait; }
:where(.qf input:focus-visible, .qf textarea:focus-visible, .qf .qf-submit:focus-visible) {
  outline: 3px solid #204ce5;
  outline-offset: 2px;
}

/* Labels exist for screen readers; the placeholders show the same text. */
.qf .qf-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Honeypot: off-screen rather than display:none so naive bots still fill it. */
.qf .qf-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* The form sits on the theme's red panel, so messages get a white card to stay readable. */
.qf .qf-status { margin: 1rem 0 0; }
.qf .qf-status:not(:empty) { padding: .7rem .9rem; background: #fff; border-radius: 3px; font-weight: 600; }
.qf .qf-success { color: #146c2e; }
.qf .qf-error { color: #b3261e; }

/* Button matches the live site (blue, full width). It came from the Gravity Forms theme, which is gone. */
.ericson-get-free-form-wrapper .qf .qf-submit {
  display: block;
  width: 100%;
  padding: .8rem 1rem;
  color: #fff;
  background: #204ce5;
  border: 0;
  border-radius: 3px;
  font-weight: 600;
}
.ericson-get-free-form-wrapper .qf .qf-submit:hover { background: #001ab3; }
