/* =============================================================================
   Wedu Gravity Forms Styling — compiled
   Source: theme-files/wedu-gf-theme.scss
   ============================================================================= */

.wedu-gf .gform_wrapper {
  --gf-color-primary: #022C58 !important;
  --gf-ctrl-border-color-focus: #FFB921 !important;
  --gf-ctrl-bg-color: #F2F2F2 !important;
  --gf-ctrl-color: #151515 !important;
  --gf-ctrl-border-color: transparent !important;
  --gf-ctrl-border-radius: 8px !important;
  --gf-ctrl-padding-x: 24px !important;
  --gf-ctrl-padding-y: 21px !important;
  --gf-ctrl-font-size: 16px !important;
  --gf-ctrl-line-height: 26px !important;
  --gf-ctrl-label-color-primary: #151515 !important;
  --gf-ctrl-desc-color: #4D4E53 !important;
  --gf-ctrl-btn-bg-color-primary: #FFB921 !important;
  --gf-ctrl-btn-color-primary: #022C58 !important;
  --gf-ctrl-btn-border-color-primary: #022C58 !important;
  font-family: "Rubik", sans-serif !important;
  --gf-local-shadow: none;
  --gf-ctrl-shadow: none;
  /* Gap between gf fields 32px */
  --gf-local-gap: 32px !important;
}

.wedu-gf .gform_fields {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 24px !important;
}
@media screen and (max-width: 575px) {
  .wedu-gf .gform_fields {
    grid-template-columns: 1fr !important;
  }
}

.wedu-gf .gfield.wedu-full {
  grid-column: 1 / -1 !important;
}

/* ---- Floating labels --------------------------------------------------- */
.wedu-gf .wedu-float {
  position: relative !important;
  display: block !important;
}
.wedu-gf .wedu-float > label,
.wedu-gf .wedu-float > .gfield_label {
  position: absolute !important;
  top: 50% !important;
  left: 24px !important;
  transform: translateY(-50%) !important;
  transform-origin: left center !important;
  transition: transform 0.18s ease, color 0.18s ease, background-color 0.18s ease, padding 0.18s ease !important;
  pointer-events: none !important;
  color: #4D4E53 !important;
  font-family: "Rubik", sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  background: transparent !important;
  padding: 0 4px !important;
  margin: 0 !important;
  max-width: calc(100% - 48px) !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.wedu-gf .wedu-float.is-floating > label,
.wedu-gf .wedu-float.is-floating > .gfield_label {
  transform: translateY(-180%) scale(0.78) !important;
  color: #151515 !important;
  font-weight: 600 !important;
  background: #fff !important;
}
.wedu-gf .wedu-float .gfield_required {
  margin-left: 2px !important;
  color: #d9534f !important;
}
.wedu-gf .wedu-float + .gfield_description {
  margin-top: 6px !important;
  color: #4D4E53 !important;
  font-size: 13px !important;
}

/* ---- Inputs ------------------------------------------------------------ */
.wedu-gf .gform_wrapper input[type="text"],
.wedu-gf .gform_wrapper input[type="email"],
.wedu-gf .gform_wrapper input[type="tel"],
.wedu-gf .gform_wrapper input[type="number"],
.wedu-gf .gform_wrapper input[type="url"],
.wedu-gf .gform_wrapper input[type="password"],
.wedu-gf .gform_wrapper select,
.wedu-gf .gform_wrapper textarea {
  display: flex !important;
  width: 100% !important;
  padding: 32px 24px !important;
  align-items: center !important;
  gap: 8px !important;
  color: #151515 !important;
  font-feature-settings: 'liga' off, 'clig' off !important;
  font-family: "Rubik", sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 26px !important;
  outline: none !important;
  border: 1px solid transparent !important;
  border-radius: 8px !important;
  background: #F2F2F2 !important;
  transition: border-color 0.18s ease, background-color 0.18s ease !important;
}
.wedu-gf .gform_wrapper input[type="text"]:focus,
.wedu-gf .gform_wrapper input[type="email"]:focus,
.wedu-gf .gform_wrapper input[type="tel"]:focus,
.wedu-gf .gform_wrapper input[type="number"]:focus,
.wedu-gf .gform_wrapper input[type="url"]:focus,
.wedu-gf .gform_wrapper input[type="password"]:focus,
.wedu-gf .gform_wrapper select:focus,
.wedu-gf .gform_wrapper textarea:focus {
  border-color: #FFB921 !important;
  background: #fff !important;
}

.wedu-gf .gform_wrapper textarea {
  height: 220px !important;
  resize: vertical !important;
  line-height: 26px !important;
}

/* ---- Radio groups (pill buttons) -------------------------------------- */
.wedu-gf .ginput_container_radio .gfield_radio {
  display: grid  !important;
  grid-auto-flow: column  !important;
  grid-auto-columns: max-content  !important;
  gap: 0  !important;
}
@media screen and (max-width: 575px) {
  .wedu-gf .ginput_container_radio .gfield_radio {
    display: block !important;
  }
}
.wedu-gf .ginput_container_radio .gchoice {
  position: relative !important;
  margin: 0 !important;
}
.wedu-gf .ginput_container_radio input[type="radio"] {
  position: absolute !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
}
.wedu-gf .ginput_container_radio input[type="radio"]:checked + label {
  background-color: rgba(255, 185, 33, 0.36) !important;
  color: #151515 !important;
  border-color: transparent !important;
}
.wedu-gf .ginput_container_radio input[type="radio"]:focus-visible + label {
  box-shadow: 0 0 0 2px #FFB921 !important;
}
.wedu-gf .ginput_container_radio label {
  display: inline-block !important;
  min-width: 118px !important;
  padding: 24px 28px !important;
  background: #F2F2F2 !important;
  border: 1px solid transparent !important;
  border-radius: 0 !important;
  color: #151515 !important;
  font-family: "Rubik", sans-serif !important;
  font-weight: 400 !important;
  font-size: 16px !important;
  line-height: 1 !important;
  text-align: center !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease, color 0.2s ease !important;
  --gf-local-margin-x: 2px !important;
}
.wedu-gf .ginput_container_radio label:hover {
  background-color: #e6e6e6 !important;
}
@media screen and (max-width: 575px) {
  .wedu-gf .ginput_container_radio { display: block !important; }
  .wedu-gf .ginput_container_radio label
  {
    width: 100% !important;
    display: block !important;
    border-radius: 0 !important;
  }
}
.wedu-gf .ginput_container_radio .gchoice:first-child label {
  border-radius: 100px 0 0 100px !important;
}
.wedu-gf .ginput_container_radio .gchoice:last-child label {
  border-radius: 0 100px 100px 0 !important;
}
@media screen and (max-width: 575px) {
  .wedu-gf .ginput_container_radio .gchoice:first-child label,
  .wedu-gf .ginput_container_radio .gchoice:last-child label {
    border-radius: 0 !important;
  }
}
.wedu-gf .ginput_container_radio .gchoice:only-child label {
  border-radius: 100px !important;
}

/* ---- Checkboxes ------------------------------------------------------- */
.wedu-gf .ginput_container_checkbox .gfield_checkbox {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
  gap: 10px !important;
  margin-top: 10px !important;
}
.wedu-gf .ginput_container_checkbox .gchoice {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
}
.wedu-gf .ginput_container_checkbox input[type="checkbox"] {
  position: absolute !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
}
.wedu-gf .ginput_container_checkbox input[type="checkbox"] + label {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  cursor: pointer !important;
  font-family: "Rubik", sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: #333 !important;
  padding-left: 30px !important;
  line-height: 21px !important;
  margin: 0 !important;
}
.wedu-gf .ginput_container_checkbox input[type="checkbox"] + label::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 21px !important;
  height: 21px !important;
  border: 1px solid #D9D9D9 !important;
  border-radius: 3px !important;
  background-color: #F2F2F2 !important;
  transition: background-color 0.2s ease, border-color 0.2s ease !important;
}
.wedu-gf .ginput_container_checkbox input[type="checkbox"]:checked + label::before {
  background-color: rgba(255, 185, 33, 0.36) !important;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'><path fill='none' stroke='%23151515' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M2 7.5l3 3L12 3'/></svg>") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 14px !important;
  border-color: transparent !important;
}
.wedu-gf .ginput_container_checkbox input[type="checkbox"]:focus-visible + label::before {
  box-shadow: 0 0 0 2px #FFB921 !important;
}
.wedu-gf .ginput_container_checkbox input[type="checkbox"]:disabled + label {
  color: #aaa !important;
  cursor: not-allowed !important;
}
.wedu-gf .ginput_container_checkbox input[type="checkbox"]:disabled + label::before {
  background-color: #eee !important;
  border-color: #ccc !important;
}

/* ---- Validation ------------------------------------------------------- */
.wedu-gf .gform_wrapper .gfield_error input[type="text"],
.wedu-gf .gform_wrapper .gfield_error input[type="email"],
.wedu-gf .gform_wrapper .gfield_error input[type="tel"],
.wedu-gf .gform_wrapper .gfield_error input[type="number"],
.wedu-gf .gform_wrapper .gfield_error select,
.wedu-gf .gform_wrapper .gfield_error textarea {
  border-color: #d9534f !important;
  background: #fff !important;
}
.wedu-gf .gform_wrapper .gfield_error .gfield_validation_message {
  color: #d9534f !important;
  font-size: 14px !important;
  margin-top: 6px !important;
}

/* ---- Submit button ---------------------------------------------------- */
.wedu-gf .gform_footer {
  margin-top: 24px !important;
}
.wedu-gf .gform_footer .gform_button,
.wedu-gf .gform_footer input[type="submit"].gform_button {
  cursor: pointer !important;
  max-width: 300px !important;
  color: #022C58 !important;
  font-family: "Rambla Bold", sans-serif !important;
  font-size: 24px !important;
  padding: 12px 72px 12px 40px !important;
  text-align: left !important;
  font-style: normal !important;
  font-weight: 900 !important;
  line-height: normal !important;
  text-transform: uppercase !important;
  border-radius: 6px !important;
  border: 3px solid #022C58 !important;
  background-color: #FFB921 !important;
  background-image: url(/wp-content/uploads/2025/04/Vector-1.svg) !important;
  background-repeat: no-repeat !important;
  background-position: 82% center !important;
  background-size: 18px !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}
.wedu-gf .gform_footer .gform_button:hover,
.wedu-gf .gform_footer input[type="submit"].gform_button:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(2, 44, 88, 0.18) !important;
  background-color: #FFB921 !important;
}
.wedu-gf .gform_footer .gform_button:active,
.wedu-gf .gform_footer input[type="submit"].gform_button:active {
  transform: translateY(0) !important;
}
@media screen and (max-width: 320px) {
  .wedu-gf .gform_footer .gform_button,
  .wedu-gf .gform_footer input[type="submit"].gform_button {
    font-size: 18px !important;
    padding: 12px 18px 12px 35px !important;
    background-position: 80% center !important;
    background-size: 14px !important;
  }
}

/* ---- Disclaimer ------------------------------------------------------- */
.wedu-gf .wedu-disclaimer,
.wedu-gf p.disclaimer {
  color: #4D4E53 !important;
  font-family: "Rubik", sans-serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 22px !important;
  margin: 0 !important;
}

.wedu-gf .gform_wrapper input[type="text"],
.wedu-gf .gform_wrapper input[type="email"],
.wedu-gf .gform_wrapper input[type="tel"],
.wedu-gf .gform_wrapper input[type="number"],
.wedu-gf .gform_wrapper input[type="url"],
.wedu-gf .gform_wrapper input[type="password"],
.wedu-gf .gform_wrapper textarea {
  display: flex !important;
  width: 100% !important;
  padding: 28px 24px !important;
  align-items: center !important;
  gap: 8px !important;
  color: #151515 !important;
  font-feature-settings: 'liga' off, 'clig' off !important;
  font-family: "Rubik", sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 26px !important;
  outline: none !important;
  border: 1px solid transparent !important;
  border-radius: 8px !important;
  background: #F2F2F2 !important;
  transition: border-color 0.18s ease, background-color 0.18s ease !important;
}

.wedu-gf .gform_wrapper select {
  display: block !important;
  width: 100% !important;
  padding: 21px 56px 21px 24px !important;
  color: #151515 !important;
  font-family: "Rubik", sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 26px !important;
  outline: none !important;
  border: 1px solid transparent !important;
  border-radius: 8px !important;
  background-color: #F2F2F2 !important;
  background-image: url(/wp-content/uploads/2025/04/chevron-down.png) !important;
  background-repeat: no-repeat !important;
  background-position: right 20px center !important;
  background-size: 18px auto !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  transition: border-color 0.18s ease, background-color 0.18s ease !important;
}

.wedu-gf .gform_wrapper select:focus {
  border-color: #FFB921 !important;
  background-color: #fff !important;
}
.wedu-gf .gform_wrapper select {
  display: block !important;
}

.wedu-gf .gform_wrapper select {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  padding: 21px 56px 21px 24px !important;
  align-items: initial !important;
  gap: initial !important;
  color: #151515 !important;
  font-family: "Rubik", sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 26px !important;
  outline: none !important;
  border: 1px solid transparent !important;
  border-radius: 8px !important;
  background-color: #F2F2F2 !important;
  background-image: url(/wp-content/uploads/2025/04/chevron-down.png) !important;
  background-repeat: no-repeat !important;
  background-position: right 20px center !important;
  background-size: 18px auto !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
}