/* =============================================================
   GRAVITY FORMS — IFA STYLES
   Extracted from style.css
   ============================================================= */

/* Hide credit card icon container */
body .gform_wrapper .gform_card_icon_container {
    display: none !important;
}

/* === GRAVITY FORMS SUBMIT BUTTON - IFA PRIMARY === */
body .gform_wrapper .gform_button,
body .gform_wrapper input[type="submit"],
body .gform_wrapper .gform_submit_button,
#page-container .gform_wrapper .gform_button,
#page-container .gform_wrapper input[type="submit"],
#page-container .gform_wrapper .gform_submit_button {
  background: var(--ifa-dark-blue) !important;
  border: 1px solid var(--ifa-dark-blue) !important;
  color: #fff !important;
  background-image: none !important;
  border-radius: 8px !important;
  padding: 12px 20px !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  line-height: 1.1 !important;
  text-decoration: none !important;
  display: inline-block !important;
  transition: background .25s, border-color .25s, color .25s !important;
  cursor: pointer !important;
}
body .gform_wrapper .gform_button:hover,
body .gform_wrapper input[type="submit"]:hover,
body .gform_wrapper .gform_submit_button:hover,
#page-container .gform_wrapper .gform_button:hover,
#page-container .gform_wrapper input[type="submit"]:hover,
#page-container .gform_wrapper .gform_submit_button:hover {
  background: var(--ifa-dark-teal) !important;
  border-color: var(--ifa-dark-teal) !important;
  color: #fff !important;
}

/* === GRAVITY FORMS NAVIGATION BUTTONS === */
.gform_next_button,
.gform_previous_button,
.gform_page_footer input[type="button"],
.gform_page_footer input[type="submit"],
.gform_page_footer .button {
  background: var(--ifa-dark-blue) !important;
  border: 1px solid var(--ifa-dark-blue) !important;
  color: #fff !important;
  background-image: none !important;
  border-radius: 8px !important;
  padding: 12px 20px !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  line-height: 1.1 !important;
  text-decoration: none !important;
  display: inline-block !important;
  transition: background .25s, border-color .25s, color .25s !important;
  cursor: pointer !important;
}
.gform_next_button:hover,
.gform_previous_button:hover,
.gform_page_footer input[type="button"]:hover,
.gform_page_footer input[type="submit"]:hover,
.gform_page_footer .button:hover,
.gform_next_button:active,
.gform_previous_button:active,
.gform_page_footer input[type="button"]:active,
.gform_page_footer input[type="submit"]:active,
.gform_page_footer .button:active {
  background: var(--ifa-dark-teal) !important;
  border-color: var(--ifa-dark-teal) !important;
  color: #fff !important;
}

/* === GRAVITY FORMS PROGRESS BAR - IFA GREEN === */
.gf_progressbar_wrapper {
  margin-bottom: 20px;
}
.gf_progressbar_wrapper .gf_progressbar_title {
  color: var(--ifa-dark-blue, #203248);
  font-weight: 600;
  margin-bottom: 10px;
}
.gf_progressbar.gf_progressbar_blue,
.gf_progressbar {
  background-color: var(--ifa-light-mint, #EDF7F4) !important;
  border: 1px solid var(--ifa-green, #49B461) !important;
  border-radius: 8px !important;
  height: 20px !important;
  overflow: hidden !important;
  position: relative !important;
}
.gf_progressbar_percentage.percentbar_blue,
.gf_progressbar_percentage {
  background-color: var(--ifa-green, #49B461) !important;
  background-image: none !important;
  height: 100% !important;
  transition: width 0.3s ease !important;
  border-radius: 7px 0 0 7px !important;
}
.gf_progressbar_percentage span {
  color: #fff !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  position: absolute !important;
  right: 8px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  line-height: 1 !important;
}

/* === GRAVITY FORMS CONFIRMATION MESSAGE - IFA BLUE === */
.gform_confirmation_wrapper.gform-theme,
.gform_confirmation_message {
  background: transparent !important;
  color: var(--ifa-dark-blue) !important;
}
.gform_confirmation_message p,
.gform_confirmation_message a {
  color: var(--ifa-dark-blue) !important;
}
