.gform_button {
  border: 1px solid var(--wp--preset--color--dark-slate);
  padding: 10.5px 20px;
  border-radius: 40px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.gform_button::after {
  display: block;
  height: 22px;
  width: 22px;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='23' height='23' viewBox='0 0 23 23' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11.9041 4.10118L10.6116 5.39368L15.7266 10.5178H4.5708V12.3512H15.7266L10.6116 17.4753L11.9041 18.7678L19.2375 11.4345L11.9041 4.10118Z' fill='%2305EADF'/%3E%3C/svg%3E");
}

/** Disclaimer form specific styles */
/* Layout: place submit button to the left and decline link to the right
   Scoped to the specific form id to avoid global Gravity Forms overrides */
#gform_2 #gform_fields_2 {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 0.5rem !important;
}

#gform_2 #gform_fields_2 .gfield--width-half {
  width: 50% !important;
  box-sizing: border-box !important;
  padding: 0 0.5rem !important;
}

/* Submit (left) */
#gform_2 #field_submit {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
}

/* Decline link (right) */
#gform_2 #field_2_5 {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
}

/* Keep button internals aligned */
#gform_2 #gform_fields_2 .button {
  display: inline-flex !important;
  align-items: center !important;
}

/* Apply .gform_button visual styling to the submit input inside this form only */
#gform_2 .gform-button {
  border: 1px solid var(--wp--preset--color--dark-slate) !important;
  padding: 10.5px 20px !important;
  border-radius: 40px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  background: transparent !important;
  color: inherit !important;
}

/* The anchor decline button keeps its arrow via .gform_button::after; for the submit input add a subtle right arrow using a background image if desired */
#gform_2 .gform-button::after {
  /* Inputs don't reliably support pseudo elements in all browsers; keep this safe but allow where supported */
  content: none;
}

/* Strong highlight within the disclaimer form */
#gform_2 strong {
  background: var(--wp--preset--color--dark-slate) !important;
  color: #ffffff !important;
  padding: 0.06rem 0.25rem !important;
  border-radius: 4px !important;
}

/* Responsive: stack on small screens */
@media (max-width: 640px) {
  #gform_2 #gform_fields_2 {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  #gform_2 #gform_fields_2 .gfield--width-half {
    width: 100% !important;
    padding: 0 !important;
  }
  #gform_2 #field_submit,
  #gform_2 #field_2_5 {
    justify-content: center !important;
    margin: 0.25rem 0 !important;
  }
}

form#gform_3 .ginput_container_address select,
form#gform_3 .ginput_container_text input {
  display: flex;
  height: 100%;
  border-radius: 32px;
  padding-left: 22px;
  font-size: 16px;
  width: 50%;
}

form#gform_3 .ginput_container_address select {
  padding-top: 5px;
}

form#gform_3 .ginput_address_country {
  inline-size: 100% !important;
}

form#gform_3 .ginput_container_text input {
  width: 50%;
}

form#gform_3 #gform_submit_button_3 {
  border: 1px solid var(--wp--preset--color--ironside-grey);
  border-radius: 40px;
  background: linear-gradient(90deg, #05eadf 100%, #51e29c 100%);
  color: var(--wp--preset--color--dark-slate);
  box-shadow: 0px 0px 10px 0px rgba(100, 81, 226, 0.1);
  padding: 12px 24px;
  font-family: var(--wp--preset--font-family--mundial);
  font-size: 18px;
  font-style: normal;
  font-weight: 300;
  line-height: 1.2;
  cursor: pointer;
}

form#gform_3 #gform_submit_button_3:hover {
  background: linear-gradient(90deg, #05eadf 1%, #51e29c 100%);
  border-color: var(--wp--preset--color--turquoise);
  text-decoration: none;
}

form#gform_3 #gform_submit_button_3:focus {
  background: linear-gradient(90deg, #05eadf 1%, #51e29c 100%);
  border-color: var(--wp--preset--color--turquoise);
  outline: 1px dotted var(--wp--preset--color--ironside-grey);
  outline-offset: 2px;
}

form#gform_3 #gform_submit_button_3:active {
  background: var(--wp--preset--color--turquoise);
  color: var(--wp--preset--color--dark-slate);
}
