/* Gravity Forms skin.
 *
 * Split out of assets/css/main.css. Every rule below is verbatim from
 * that file and appears in its original relative order.
 */
.full-width { width: 100% !important; }
.full-width .gsection_description { width: 100% !important; }

/* ─── Gravity Forms Skin ─────────────────────────────────────────────────── */
.gf-wrapper {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px;
}

.gf-wrapper .gform_wrapper { margin: 0; }

.gf-wrapper .gform_fields { row-gap: 20px !important; }
.gf-wrapper .gfield_label {
  font: 700 13px var(--font-sans) !important;
  color: var(--brown-med) !important;
  margin-bottom: 6px !important;
  display: block;
}
.gf-wrapper .ginput_container input:not([type="radio"]):not([type="checkbox"]),
.gf-wrapper .ginput_container select,
.gf-wrapper .ginput_container textarea {
  width: 100% !important;
  box-sizing: border-box !important;
  font: 500 15px var(--font-sans) !important;
  color: var(--brown-dark) !important;
  border: 2px solid var(--border) !important;
  border-radius: var(--radius-input) !important;
  padding: 12px 14px !important;
  outline: none !important;
  background: var(--white) !important;
  transition: border-color .15s !important;
}
.gf-wrapper .ginput_container input:focus,
.gf-wrapper .ginput_container select:focus,
.gf-wrapper .ginput_container textarea:focus {
  border-color: var(--pastel-teal-mid) !important;
}
.gf-wrapper .ginput_container textarea { resize: vertical; }

.gf-wrapper .gform_footer { margin-top: 16px; }
.gf-wrapper .gform_footer input[type="submit"],
.gf-wrapper .gform_button {
  font: 700 16px var(--font-sans) !important;
  color: var(--white) !important;
  background: var(--teal) !important;
  border: none !important;
  border-radius: var(--radius-pill) !important;
  padding: 14px 30px !important;
  cursor: pointer !important;
  transition: opacity .15s !important;
}
.gf-wrapper .gform_footer input[type="submit"]:hover,
.gf-wrapper .gform_button:hover { opacity: .88 !important; }

/* Checkboxes + radio — GF renders <input> and <label> as siblings inside
   .gchoice; its own display/sizing is left to GF's theme framework, since
   forcing a different layout mode here fights the framework's own grid
   and blows out the native input's size. */
.gf-wrapper .gchoice {
  margin: 4px 0 !important;
}
.gf-wrapper .gfield_checkbox label,
.gf-wrapper .gfield_radio label {
  font: 600 14px var(--font-sans) !important;
  color: var(--brown-dark) !important;
  cursor: pointer !important;
  margin: 0 0 0 8px !important;
}
.gf-wrapper .gchoice input[type="checkbox"],
.gf-wrapper .gchoice input[type="radio"] {
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  cursor: pointer;
  accent-color: var(--teal);
  vertical-align: middle;
}

/* Validation messages */
.gf-wrapper .validation_error {
  background: var(--pastel-coral-bg) !important;
  border-color: var(--pastel-coral-mid) !important;
  color: var(--red) !important;
  border-radius: 10px !important;
  padding: 12px 16px !important;
  margin-bottom: 16px !important;
}
.gf-wrapper .gfield_error .ginput_container input,
.gf-wrapper .gfield_error .ginput_container select,
.gf-wrapper .gfield_error .ginput_container textarea {
  border-color: var(--red) !important;
}

/* The form sits directly on the white panel instead of in its own bordered
   card — .gf-wrapper's card treatment (background/border/padding) is
   still used as-is elsewhere (e.g. no split-hero involved), so it's
   neutralized only here rather than changed at the source. */
.split-hero .gf-wrapper {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  margin-top: 24px;
}
