/*
/////////////////////////////////////////////////
GRAVITY FORMS — USMR STANDARD THEME
Add class `usmr-standard-theme` on the form (Form Settings → CSS Class Name), a parent wrapper, or the Gutenberg/shortcode block wrapper.
Color tokens — edit below to retheme the form.

Divi Gravity Form module: the module Design tab can set field/button styles (sometimes inline), which override normal CSS.
- Child CSS is enqueued after Divi in functions.php (phoenix_enqueue_child_stylesheet).
- Rules below use !important on key properties so they beat most module + .et_pb_button defaults.
- In the module: reduce conflicts by clearing custom colors/fonts in Design → Fields / Button, or use "Default" where offered.
/////////////////////////////////////////////////
*/

.usmr-standard-theme {
  --usmr-gf-label: #fff;
  --usmr-gf-required: #ae9e63;
  --usmr-gf-input-bg: #fff;
  --usmr-gf-input-border: #d0d0d0;
  --usmr-gf-input-text: #333;
  --usmr-gf-placeholder: #888;
  --usmr-gf-focus-outline: #ae9e63;
  --usmr-gf-error-border: #b71f25;
  --usmr-gf-error-bg: #b71f25;
  --usmr-gf-error-text: #fff;
  --usmr-gf-btn-text: #614f19;
  --usmr-gf-btn-border: #b0a073;
  --usmr-gf-btn-grad-start: #d0bc8d;
  --usmr-gf-btn-grad-mid: #f1dfb7;
  --usmr-gf-btn-grad-end: #af9963;
  /* Chevron on <select> uses this in SVG data URI (update both if you change the color) */
  --usmr-gf-select-arrow: #555555;
}

section[class*="et_pb_wpt_gravityform"].usmr-standard-theme .gform_wrapper,
section[class*="et_pb_wpt_gravityform"] .usmr-standard-theme .gform_wrapper,
section[class*="et_pb_wpt_gravityform"] .gform_wrapper.usmr-standard-theme,
.usmr-standard-theme .gform_wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.usmr-standard-theme .gform_wrapper > form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}

section[class*="et_pb_wpt_gravityform"] .usmr-standard-theme ul.gform_fields,
section[class*="et_pb_wpt_gravityform"] .gform_wrapper.usmr-standard-theme ul.gform_fields,
.usmr-standard-theme ul.gform_fields {
  list-style: none;
  margin: 0;
  padding: 0;
  row-gap: 0.5rem !important;
  column-gap: 0.5rem !important;
  grid-row-gap: 0.5rem !important;
  grid-column-gap: 0.5rem !important;
}

/* Override Divi WPT Gravity Form module: section… .gform_wrapper .gfield { margin-top: 16px !important; … } */
section[class*="et_pb_wpt_gravityform"].usmr-standard-theme .gform_wrapper .gfield,
section[class*="et_pb_wpt_gravityform"] .usmr-standard-theme .gform_wrapper .gfield,
section[class*="et_pb_wpt_gravityform"] .gform_wrapper.usmr-standard-theme .gfield,
.usmr-standard-theme .gfield {
  margin-top: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 0 !important;
  margin-left: 0 !important;
  padding: 0 !important;
}

/* Override Divi WPT Gravity Form module: section… div.ginput_container { … !important } */
section[class*="et_pb_wpt_gravityform"].usmr-standard-theme .gform_wrapper .ginput_container,
section[class*="et_pb_wpt_gravityform"] .usmr-standard-theme .gform_wrapper .ginput_container,
section[class*="et_pb_wpt_gravityform"] .gform_wrapper.usmr-standard-theme .ginput_container,
.usmr-standard-theme .ginput_container {
  margin: 0 !important;
  padding: 0 !important;
  max-width: 100% !important;
  width: 100%;
  box-sizing: border-box;
}

/* Override Divi WPT GF: section… .gform_wrapper { color: #4e4e4e !important } on inputs, textarea, select, labels */
section[class*="et_pb_wpt_gravityform"].usmr-standard-theme .gform_wrapper input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]),
section[class*="et_pb_wpt_gravityform"].usmr-standard-theme .gform_wrapper .gfield textarea,
section[class*="et_pb_wpt_gravityform"].usmr-standard-theme .gform_wrapper .gfield select,
section[class*="et_pb_wpt_gravityform"] .usmr-standard-theme .gform_wrapper input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]),
section[class*="et_pb_wpt_gravityform"] .usmr-standard-theme .gform_wrapper .gfield textarea,
section[class*="et_pb_wpt_gravityform"] .usmr-standard-theme .gform_wrapper .gfield select,
section[class*="et_pb_wpt_gravityform"] .gform_wrapper.usmr-standard-theme input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]),
section[class*="et_pb_wpt_gravityform"] .gform_wrapper.usmr-standard-theme .gfield textarea,
section[class*="et_pb_wpt_gravityform"] .gform_wrapper.usmr-standard-theme .gfield select {
  color: var(--usmr-gf-input-text) !important;
  text-align: left !important;
}

section[class*="et_pb_wpt_gravityform"].usmr-standard-theme .gform_wrapper .gfield_checkbox label,
section[class*="et_pb_wpt_gravityform"].usmr-standard-theme .gform_wrapper .gfield_radio label,
section[class*="et_pb_wpt_gravityform"].usmr-standard-theme .gform_wrapper .gfield div.ginput_container_consent label,
section[class*="et_pb_wpt_gravityform"] .usmr-standard-theme .gform_wrapper .gfield_checkbox label,
section[class*="et_pb_wpt_gravityform"] .usmr-standard-theme .gform_wrapper .gfield_radio label,
section[class*="et_pb_wpt_gravityform"] .usmr-standard-theme .gform_wrapper .gfield div.ginput_container_consent label,
section[class*="et_pb_wpt_gravityform"] .gform_wrapper.usmr-standard-theme .gfield_checkbox label,
section[class*="et_pb_wpt_gravityform"] .gform_wrapper.usmr-standard-theme .gfield_radio label,
section[class*="et_pb_wpt_gravityform"] .gform_wrapper.usmr-standard-theme .gfield div.ginput_container_consent label {
  color: var(--usmr-gf-label) !important;
  text-align: left !important;
}

.usmr-standard-theme .gfield_label,
.usmr-standard-theme .gform-field-label:not(.screen-reader-text):not(.hidden_sub_label) {
  color: var(--usmr-gf-label) !important;
}

.usmr-standard-theme .ginput_complex .gform-field-label:not(.screen-reader-text) {
  color: var(--usmr-gf-label) !important;
}

.usmr-standard-theme .gfield_consent_label,
.usmr-standard-theme .gfield_consent_label label {
  color: var(--usmr-gf-label) !important;
}

.usmr-standard-theme .gfield_consent_label a {
  color: var(--usmr-gf-required) !important;
}

.usmr-standard-theme p.gform_required_legend {
  color: var(--usmr-gf-label) !important;
}

.usmr-standard-theme .gfield_required,
.usmr-standard-theme .gfield_required .gfield_required_asterisk,
.usmr-standard-theme .gfield_required_asterisk {
  color: var(--usmr-gf-required);
}

.usmr-standard-theme .ginput_container input.large,
.usmr-standard-theme .ginput_container input[type="text"],
.usmr-standard-theme .ginput_container input[type="tel"],
.usmr-standard-theme .ginput_container input[type="email"],
.usmr-standard-theme .ginput_container input[type="number"],
.usmr-standard-theme .ginput_container input[type="url"],
.usmr-standard-theme .ginput_container input[type="password"],
.usmr-standard-theme .ginput_complex input[type="text"],
.usmr-standard-theme .ginput_container textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
  background-color: var(--usmr-gf-input-bg) !important;
  border: 1px solid var(--usmr-gf-input-border) !important;
  border-radius: 4px !important;
  padding: 0.65em 0.85em !important;
  font-size: inherit;
  line-height: 1.4;
  color: var(--usmr-gf-input-text) !important;
}

.usmr-standard-theme .ginput_container select,
.usmr-standard-theme .ginput_complex select {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
  background-color: var(--usmr-gf-input-bg) !important;
  border: 1px solid var(--usmr-gf-input-border) !important;
  border-radius: 4px !important;
  padding: 0.65em 2.25em 0.65em 0.85em !important;
  font-size: inherit;
  line-height: 1.4;
  color: var(--usmr-gf-input-text) !important;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23555555' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.75em center !important;
  background-size: 1.1em auto !important;
}

/*
 * Address: city / state / zip on one row.
 * GF uses .gform-grid-row + 12-col .gform-grid-col — flex loses to display:grid from Gravity Forms / Divi.
 */
section[class*="et_pb_wpt_gravityform"] .usmr-standard-theme .ginput_complex.ginput_container_address,
section[class*="et_pb_wpt_gravityform"] .gform_wrapper.usmr-standard-theme .ginput_complex.ginput_container_address,
.usmr-standard-theme .gfield--type-address .ginput_complex.ginput_container_address,
.usmr-standard-theme .ginput_complex.ginput_container_address {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: start;
  column-gap: 0.5em;
  row-gap: 0.5rem;
  width: 100% !important;
}

/* Street lines span all 3 columns */
.usmr-standard-theme .ginput_container_address .address_line_1,
.usmr-standard-theme .ginput_container_address .address_line_2,
.usmr-standard-theme .ginput_container_address .ginput_full.address_line_1,
.usmr-standard-theme .ginput_container_address .ginput_full.address_line_2 {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* City, state, zip: explicit columns on one row (override GF 12-col spans) */
.usmr-standard-theme .ginput_container_address .address_city,
.usmr-standard-theme .ginput_container_address .ginput_address_city {
  grid-column: 1 !important;
  min-width: 0 !important;
  width: 100% !important;
  max-width: none !important;
  float: none !important;
}

.usmr-standard-theme .ginput_container_address .address_state,
.usmr-standard-theme .ginput_container_address .ginput_address_state {
  grid-column: 2 !important;
  min-width: 0 !important;
  width: 100% !important;
  max-width: none !important;
  float: none !important;
}

.usmr-standard-theme .ginput_container_address .address_zip,
.usmr-standard-theme .ginput_container_address .ginput_address_zip {
  grid-column: 3 !important;
  min-width: 0 !important;
  width: 100% !important;
  max-width: none !important;
  float: none !important;
}

/* Country (when shown) full width under city/state/zip */
.usmr-standard-theme .ginput_container_address .address_country,
.usmr-standard-theme .ginput_container_address .ginput_address_country {
  grid-column: 1 / -1 !important;
}

.usmr-standard-theme .ginput_container_address .ginput_left,
.usmr-standard-theme .ginput_container_address .ginput_right {
  width: auto !important;
  max-width: none !important;
  float: none !important;
}

.usmr-standard-theme .ginput_container_address .gform-grid-col {
  grid-column: auto !important;
}

.usmr-standard-theme .ginput_container_address .gf_clear_complex {
  display: none !important;
}

/* Override GF gravity-theme: .ginput_container_address span, .ginput_full:not(:last-of-type) { margin-bottom: 8px } */
.usmr-standard-theme .ginput_container_address span,
.usmr-standard-theme .ginput_full:not(:last-of-type) {
  margin-bottom: 0 !important;
}

/* Address: remove gray strip between last row (city/state/zip) and field-level error — hidden country often adds a grid row */
.usmr-standard-theme .ginput_complex.ginput_container_address {
  position: relative !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.usmr-standard-theme .ginput_container_address input[type="hidden"],
.usmr-standard-theme .ginput_container_address .gform_hidden {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.usmr-standard-theme .gfield--type-address .ginput_complex,
.usmr-standard-theme .gfield--type-address.gfield_error .ginput_container {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.usmr-standard-theme .gfield--type-address .gfield_description.validation_message,
.usmr-standard-theme .gfield--type-address.gfield_error .gfield_description.validation_message {
  margin-top: 0 !important;
}

section[class*="et_pb_wpt_gravityform"] .usmr-standard-theme .gfield--type-address .gfield_description.validation_message,
section[class*="et_pb_wpt_gravityform"] .gform_wrapper.usmr-standard-theme .gfield--type-address .gfield_description.validation_message {
  margin-top: 0 !important;
}

.usmr-standard-theme .ginput_container input::placeholder,
.usmr-standard-theme .ginput_complex input::placeholder,
.usmr-standard-theme .ginput_container textarea::placeholder {
  color: var(--usmr-gf-placeholder) !important;
  opacity: 1;
}

.usmr-standard-theme .gfield--type-honeypot,
.usmr-standard-theme .gform_validation_container {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.usmr-standard-theme .ginput_container_turnstile {
  margin-top: 0.5em;
}

.usmr-standard-theme .ginput_container input:focus,
.usmr-standard-theme .ginput_complex input:focus,
.usmr-standard-theme .ginput_complex select:focus,
.usmr-standard-theme .ginput_container textarea:focus {
  outline: 2px solid var(--usmr-gf-focus-outline);
  outline-offset: 1px;
}

.usmr-standard-theme .gfield_error .ginput_container input,
.usmr-standard-theme .gfield_error .ginput_complex input,
.usmr-standard-theme .gfield_error .ginput_complex select,
.usmr-standard-theme .gfield_error .ginput_container textarea {
  border-color: var(--usmr-gf-error-border);
}

/* Validation summary (top) + inline field messages */
.usmr-standard-theme .gform_validation_errors,
.usmr-standard-theme div.validation_error {
  background-color: var(--usmr-gf-error-bg) !important;
  color: var(--usmr-gf-error-text) !important;
  border: 1px solid var(--usmr-gf-error-border) !important;
  border-radius: 4px;
  padding: 1em 1.25em;
  margin-bottom: 1em;
}

/* GF gravity-theme: inner/outer wrappers often use a light pink bg — force white on red */
.usmr-standard-theme .gform_validation_errors .gform_validation_errors__outer,
.usmr-standard-theme .gform_validation_errors .gform_validation_errors__inner,
.usmr-standard-theme .gform_validation_errors .gform_submission_error,
section[class*="et_pb_wpt_gravityform"] .usmr-standard-theme .gform_validation_errors,
section[class*="et_pb_wpt_gravityform"] .usmr-standard-theme .gform_validation_errors .gform_validation_errors__outer,
section[class*="et_pb_wpt_gravityform"] .usmr-standard-theme .gform_validation_errors .gform_validation_errors__inner {
  background-color: var(--usmr-gf-error-bg) !important;
  color: var(--usmr-gf-error-text) !important;
  border-color: var(--usmr-gf-error-border) !important;
}

.usmr-standard-theme .gform_validation_errors .gform-icon,
.usmr-standard-theme .gform_validation_errors .gform-icon svg,
.usmr-standard-theme .gform_validation_errors svg {
  color: var(--usmr-gf-error-text) !important;
  fill: currentColor !important;
}

/* Top validation summary: flex column; icon + title stay one row, left-aligned (GF often centers text + absolute icon) */
.usmr-standard-theme .gform_wrapper.gravity-theme .gform_validation_errors,
section[class*="et_pb_wpt_gravityform"] .usmr-standard-theme .gform_wrapper.gravity-theme .gform_validation_errors,
.usmr-standard-theme .gform_validation_errors {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left !important;
}

.usmr-standard-theme .gform_validation_errors .gform_validation_errors__outer,
.usmr-standard-theme .gform_validation_errors .gform_validation_errors__inner {
  text-align: left !important;
  justify-content: flex-start !important;
}

.usmr-standard-theme .gform_validation_errors .gform_validation_errors__inner {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  align-items: flex-start !important;
  gap: 0.6rem;
  width: 100%;
  border: none !important;
  box-shadow: none !important;
}

.usmr-standard-theme .gform_validation_errors .gform_validation_errors__outer {
  border: none !important;
  box-shadow: none !important;
}

.usmr-standard-theme .gform_wrapper.gravity-theme .gform_validation_errors > h2,
section[class*="et_pb_wpt_gravityform"] .usmr-standard-theme .gform_wrapper.gravity-theme .gform_validation_errors > h2,
.usmr-standard-theme .gform_validation_errors > h2,
.usmr-standard-theme .gform_validation_errors h2.gform_validation_errors__title,
.usmr-standard-theme .gform_validation_errors .gform_validation_errors__title {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0.5rem;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
  color: var(--usmr-gf-error-text) !important;
  font-size: inherit;
  font-weight: 600;
  line-height: 1.4;
  text-align: left !important;
  width: 100%;
  flex: 1 1 100%;
}

.usmr-standard-theme .gform_validation_errors .gform_validation_errors__message,
.usmr-standard-theme .gform_validation_errors h2 .gform_validation_errors__message {
  text-align: left !important;
  flex: 1 1 auto;
  min-width: 0;
}

.usmr-standard-theme .gform_wrapper.gravity-theme .gform_validation_errors > h2 .gform-icon,
section[class*="et_pb_wpt_gravityform"] .usmr-standard-theme .gform_wrapper.gravity-theme .gform_validation_errors > h2 .gform-icon,
.usmr-standard-theme .gform_validation_errors > h2 .gform-icon,
.usmr-standard-theme .gform_validation_errors h2 .gform-icon,
.usmr-standard-theme .gform_validation_errors .gform_validation_errors__inner > .gform-icon,
.usmr-standard-theme .gform_validation_errors .gform-icon {
  position: static !important;
  inset: auto !important;
  inset-inline-start: auto !important;
  inset-inline-end: auto !important;
  inset-block-start: auto !important;
  inset-block-end: auto !important;
  height: auto !important;
  width: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0;
  align-self: center;
  font-size: 1.35rem !important;
  line-height: 1;
  margin: 0 !important;
}

.usmr-standard-theme .gform_validation_errors h2,
.usmr-standard-theme .gform_validation_errors .gform_validation_errors__title,
.usmr-standard-theme .gform_validation_errors p,
.usmr-standard-theme .gform_validation_errors li,
.usmr-standard-theme .gform_validation_errors span,
.usmr-standard-theme div.validation_error {
  color: var(--usmr-gf-error-text) !important;
}

.usmr-standard-theme .gform_validation_errors a {
  color: var(--usmr-gf-error-text);
  text-decoration: underline;
}

.usmr-standard-theme .validation_message,
.usmr-standard-theme .gfield_validation_message,
.usmr-standard-theme .gfield_description.validation_message {
  background-color: var(--usmr-gf-error-bg) !important;
  color: var(--usmr-gf-error-text) !important;
  font-size: 0.75rem;
  line-height: 1.35;
  border: none;
  border-radius: 4px;
  padding: 0.35em 0.65em;
  margin-top: 0 !important;
}

/* Override Divi WPT: .gfield.gfield_error / .validation_message { background-color: #ffdfe040 } */
section[class*="et_pb_wpt_gravityform"] .usmr-standard-theme .gform_wrapper .gfield.gfield_error,
section[class*="et_pb_wpt_gravityform"] .gform_wrapper.usmr-standard-theme .gfield.gfield_error,
.usmr-standard-theme .gform_wrapper .gfield.gfield_error {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

section[class*="et_pb_wpt_gravityform"] .usmr-standard-theme .gform_wrapper .gfield_validation_message,
section[class*="et_pb_wpt_gravityform"] .usmr-standard-theme .gform_wrapper .validation_message,
section[class*="et_pb_wpt_gravityform"] .usmr-standard-theme .gform_wrapper .gfield_description.validation_message,
section[class*="et_pb_wpt_gravityform"] .gform_wrapper.usmr-standard-theme .gfield_validation_message,
section[class*="et_pb_wpt_gravityform"] .gform_wrapper.usmr-standard-theme .validation_message,
section[class*="et_pb_wpt_gravityform"] .gform_wrapper.usmr-standard-theme .gfield_description.validation_message {
  background-color: var(--usmr-gf-error-bg) !important;
}

/* Tight stack: remove gray strip between input and inline error */
.usmr-standard-theme .gfield_error .ginput_container {
  margin-bottom: 0 !important;
}

.usmr-standard-theme .gfield_error .gfield_description:not(.validation_message) {
  margin-top: 0 !important;
}

.usmr-standard-theme .gfield_error .gfield_description.validation_message {
  margin-top: 0 !important;
}

/* Override Divi WPT: .gfield_error .gfield_description.validation_message { color #790000; margin/padding 0 !important } */
section[class*="et_pb_wpt_gravityform"].usmr-standard-theme div.gform_wrapper .gfield.gfield_error div.gfield_description.validation_message,
section[class*="et_pb_wpt_gravityform"] .usmr-standard-theme div.gform_wrapper .gfield.gfield_error div.gfield_description.validation_message,
section[class*="et_pb_wpt_gravityform"] .gform_wrapper.usmr-standard-theme .gfield.gfield_error div.gfield_description.validation_message {
  color: var(--usmr-gf-error-text) !important;
  font-size: 0.75rem !important;
  line-height: 1.35 !important;
  text-align: left !important;
  background-color: var(--usmr-gf-error-bg) !important;
  border: none !important;
  border-radius: 4px !important;
  margin-top: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 0 !important;
  margin-left: 0 !important;
  padding: 0.35em 0.65em !important;
}

.usmr-standard-theme .gform_button,
.usmr-standard-theme input[type="submit"].gform_button,
.usmr-standard-theme .gform_footer .et_pb_button {
  display: block;
  width: 100% !important;
  max-width: 100%;
  box-sizing: border-box;
  color: var(--usmr-gf-btn-text) !important;
  border-width: 2px !important;
  border-style: solid;
  border-color: var(--usmr-gf-btn-border) !important;
  border-radius: 5px !important;
  letter-spacing: 0px !important;
  font-size: 20px !important;
  font-family: 'Montserrat', Helvetica, Arial, Lucida, sans-serif !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  padding-right: 3.5em !important;
  background-color: transparent;
  /* Top layer: Radix UI Arrow Right icon (fill #614f19 = --usmr-gf-btn-text) */
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 15 15' aria-hidden='true'%3E%3Cpath fill='%23614f19' fill-rule='evenodd' clip-rule='evenodd' d='M8.14645 3.14645C8.34171 2.95118 8.65829 2.95118 8.85355 3.14645L12.8536 7.14645C13.0488 7.34171 13.0488 7.65829 12.8536 7.85355L8.85355 11.8536C8.65829 12.0488 8.34171 12.0488 8.14645 11.8536C7.95118 11.6583 7.95118 11.3417 8.14645 11.1464L11.2929 8H2.5C2.22386 8 2 7.77614 2 7.5C2 7.22386 2.22386 7 2.5 7H11.2929L8.14645 3.85355C7.95118 3.65829 7.95118 3.34171 8.14645 3.14645Z'/%3E%3C/svg%3E"),
    linear-gradient(
      120deg,
      var(--usmr-gf-btn-grad-start) 29%,
      var(--usmr-gf-btn-grad-mid) 51%,
      var(--usmr-gf-btn-grad-end) 75%
    ) !important;
  background-repeat: no-repeat !important;
  background-size:
    1.1em 1.1em,
    100% 100% !important;
  background-position:
    calc(100% - 1em) 50%,
    0 0 !important;
  transform-origin: center center;
  transition: filter 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, background-position 0.2s ease;
}

.usmr-standard-theme .gform_button:hover,
.usmr-standard-theme input[type="submit"].gform_button:hover,
.usmr-standard-theme .gform_footer .et_pb_button:hover {
  filter: brightness(1.05);
  transform: translateY(-1px) scale(1.05);
  background-repeat: no-repeat !important;
  background-size:
    1.1em 1.1em,
    100% 100% !important;
  background-position:
    calc(100% - 1em + 4px) 50%,
    0 0 !important;
}

@media (max-width: 767px) {
  .usmr-standard-theme .gform_button,
  .usmr-standard-theme input[type="submit"].gform_button,
  .usmr-standard-theme .gform_footer .et_pb_button {
    font-size: 18px !important;
    padding-left: 1em !important;
    padding-right: 3em !important;
  }
}

/* Extra warning (e.g. above form) — scoped to WPT Gravity module or USMR theme wrapper */
section[class*="et_pb_wpt_gravityform"] .warning-box,
.usmr-standard-theme .warning-box {
  color: var(--usmr-gf-error-text);
  background: var(--usmr-gf-error-bg);
  border-radius: 5px;
  text-align: center;
  padding: 10px;
  margin-bottom: 25px;
}

section[class*="et_pb_wpt_gravityform"] .disclaimer,
.usmr-standard-theme .disclaimer {
  color: var(--usmr-gf-label);
  margin-bottom: 0.5rem;
  display: block;
}

section[class*="et_pb_wpt_gravityform"] .disclaimer a,
.usmr-standard-theme .disclaimer a {
  color: inherit !important;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

section[class*="et_pb_wpt_gravityform"] .disclaimer a:hover,
.usmr-standard-theme .disclaimer a:hover {
  color: inherit !important;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
