/* Gravity Forms 3 renders submit controls as buttons directly in the footer. */
.gform_wrapper .gform_footer > button.gform_button {
  -webkit-appearance: none;
  appearance: none;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background: #212844;
  border: 1px solid #212844;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  float: right;
  font-family: inherit;
  font-size: 20px;
  font-weight: 600;
  gap: 10px;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  line-height: 1.35;
  min-width: 170px;
  padding: 8px 18px;
  text-align: left;
  -webkit-transition: background-color 0.3s, border-color 0.3s, color 0.3s;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}

.gform_wrapper .gform_footer > button.gform_button::after {
  content: url(images/long-arrow-right-white.svg);
  display: inline-block;
  position: relative;
  width: 44px;
}

.gform_wrapper .gform_footer > button.gform_button:hover {
  background: #aaed8a !important;
  border-color: #aaed8a;
  color: #212844 !important;
  -webkit-box-shadow: 0 0.5rem 1rem rgba(var(--bs-body-color-rgb), 0.15) !important;
          box-shadow: 0 0.5rem 1rem rgba(var(--bs-body-color-rgb), 0.15) !important;
}

.gform_wrapper .gform_footer > button.gform_button:hover::after {
  content: url(images/long-arrow-right.svg);
  -webkit-animation: 0.5s forwards btnArrowAnim;
          animation: 0.5s forwards btnArrowAnim;
}

.gform_wrapper .gform_footer > button.gform_button:focus-visible {
  outline: 3px solid #aaed8a;
  outline-offset: 3px;
}

.gform_wrapper .gform_footer > button.gform_button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

/* Preserve the existing green button treatment used by form 2. */
#gform_wrapper_2 .gform_footer > button.gform_button {
  background: #aaed8a;
  border-color: #aaed8a;
  color: #212844;
  margin-top: 30px;
}

#gform_wrapper_2 .gform_footer > button.gform_button::after {
  content: url(images/long-arrow-right.svg);
}

#gform_wrapper_2 .gform_footer > button.gform_button:hover {
  background: transparent !important;
  border-color: #fff;
  color: #fff !important;
}

#gform_wrapper_2 .gform_footer > button.gform_button:hover::after {
  content: url(images/long-arrow-right-white.svg);
}

#gform_wrapper_2 .gform_footer > button.gform_button:focus-visible {
  outline-color: #fff;
}

/*
 * The newsletter footer is the visible button shell. Gravity Forms 3 puts the
 * real button inside it, so the inner button owns the only arrow while the
 * shell supplies the background and hover transition.
 */
footer .gform_wrapper form .gform_footer::after,
footer .gform_wrapper form .gform_footer:hover::after {
  content: none !important;
}

footer .gform_wrapper form .gform_footer:hover {
  background: #212844 !important;
  border-color: #212844 !important;
  color: #fff !important;
}

footer .gform_wrapper form .gform_footer > button.gform_button {
  background: transparent;
  border: 0;
  color: inherit !important;
  min-width: 0;
  padding: 0;
}

footer .gform_wrapper form .gform_footer > button.gform_button::after {
  content: url(images/long-arrow-right-white.svg) !important;
}

footer .gform_wrapper form .gform_footer > button.gform_button:hover {
  background: transparent !important;
  border: 0;
  color: inherit !important;
  -webkit-box-shadow: none !important;
          box-shadow: none !important;
}

footer .gform_wrapper form .gform_footer:hover > button.gform_button::after {
  content: url(images/long-arrow-right-white.svg) !important;
  -webkit-animation: 0.5s forwards btnArrowAnim;
          animation: 0.5s forwards btnArrowAnim;
}
