/* ============================================================
   512Financial — Fractional Savings Calculator
   All color/font/spacing tokens taken directly from the Figma frame
   (file VwdlZTXPNz7UiueH28HvLo, node 2157:11457).
   Scoped under .fsc-panel — does not leak into the surrounding theme.
   ============================================================ */

.fsc-panel {
  /* — Color tokens (from Figma) — */
  --fsc-cream:           #f3f6e6;  /* Page background / inputs panel */
  --fsc-cream-deep:      #e8ecda;  /* Slight contrast on cream */
  --fsc-teal-deep:       #01413d;  /* Right (results) panel background */
  --fsc-teal-total:      #0d4a46;  /* Total bar inside results panel */
  --fsc-teal-button:     #045d4a;  /* Send button background */
  --fsc-teal-border:     #266a69;  /* Email input border */
  --fsc-green:           #05736e;  /* Primary brand green (left-panel text) */
  --fsc-green-soft:      rgba(5,115,110,0.8);
  --fsc-green-faint:     rgba(5,115,110,0.7);
  --fsc-green-dollar:    #18b552;  /* The $ prefix on salary */
  --fsc-lime:            #13f567;  /* Accent / savings card */
  --fsc-lime-bg-soft:    rgba(19,245,103,0.1);
  --fsc-savings-text:    #00413d;  /* Text on the lime savings card */
  --fsc-divider:         rgba(1,137,145,0.2);

  --fsc-on-dark-strong:  rgba(255,255,255,0.91);
  --fsc-on-dark-muted:   rgba(255,255,255,0.7);
  --fsc-on-dark-faint:   rgba(255,255,255,0.6);

  /* — Type — */
  --fsc-font-display: 'Neue-Haas-Grotesk-Display', 'neue-haas-grotesk-display', system-ui, sans-serif;
  --fsc-font-body:    'Archivo', system-ui, -apple-system, sans-serif;

  font-family: var(--fsc-font-body);
  color: var(--fsc-green);
  box-sizing: border-box;
  font-size: 16px;
  line-height: 1.4;
  border-radius: 12px;
  overflow: hidden;
}
.fsc-panel *, .fsc-panel *::before, .fsc-panel *::after { box-sizing: inherit; }

/* ============================================================
   Theme-reset shield
   Astra + Gravity Forms inject base styles (letter-spacing on body,
   sliders, form fields) that bleed into our calculator. Reset them
   inside .fsc-panel so our explicit values stick. Scoped — no leakage.
   ============================================================ */
.fsc-panel input[type="range"] {
  -webkit-appearance: none !important;
  appearance: none !important;
  margin: 4px 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  height: 2px;
}
.fsc-panel input[type="range"]::-webkit-slider-runnable-track {
  height: 2px !important;
  background: var(--fsc-divider) !important;
  border: 0 !important;
  border-radius: 3px !important;
  box-shadow: none !important;
}
.fsc-panel input[type="range"]:focus::-webkit-slider-runnable-track {
  background: var(--fsc-divider) !important;
}
.fsc-panel input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 14px !important;
  height: 14px !important;
  background: #fff !important;
  border: 2px solid var(--fsc-green) !important;
  border-radius: 50% !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15) !important;
  margin-top: -6px !important;
  cursor: pointer;
}
.fsc-panel input[type="range"]::-moz-range-track {
  height: 2px !important;
  background: var(--fsc-divider) !important;
  border: 0 !important;
  border-radius: 3px !important;
  box-shadow: none !important;
}
.fsc-panel input[type="range"]::-moz-range-thumb {
  width: 14px !important;
  height: 14px !important;
  background: #fff !important;
  border: 2px solid var(--fsc-green) !important;
  border-radius: 50% !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15) !important;
  cursor: pointer;
}

/* ---- Panels ---- */
.fsc-panel--inputs  {
  background: var(--fsc-cream-deep);
  padding: 56px 48px;
}
.fsc-panel--results {
  background: var(--fsc-teal-deep);
  color: #fff;
  padding: 56px 48px;
  border-radius: 8px;
}

/* ============================================================
   Mobile (≤ 768px)
   - Trim horizontal padding so content gets full width
   - Shrink tabs so all 3 fit comfortably on a phone
   - Tighten a few spacing values tuned for desktop
   - Shrink big numbers + stack savings card
   ============================================================ */
@media (max-width: 768px) {
  .fsc-panel--inputs,
  .fsc-panel--results {
    padding: 32px 16px;
  }

  /* Tabs — single horizontal row, smaller type */
  .fsc-panel .fsc-tabs .fsc-tab {
    padding: 8px 6px;
    font-size: 14px;
    letter-spacing: 0;
  }
  /* Tighten the asymmetric corner radius on all tabs at tablet sizes */
  .fsc-panel .fsc-tabs .fsc-tab,
  .fsc-panel .fsc-tabs .fsc-tab.is-active {
    border-radius: 0 6px 0 6px !important;
  }
  .fsc-tabs { margin-bottom: 32px; }

  /* Eyebrow / labels — narrow tracking a touch on mobile */
  .fsc-panel .fsc-eyebrow,
  .fsc-panel .fsc-section-title,
  .fsc-panel .fsc-email-eyebrow,
  .fsc-panel .fsc-divider-label,
  .fsc-panel .fsc-label,
  .fsc-panel .fsc-slider-label {
    letter-spacing: 2px;
  }

  /* Cost-list rows wrap gracefully */
  .fsc-cost-list li {
    flex-wrap: wrap;
    row-gap: 2px;
  }

  /* Big numbers keep the same 23px size on mobile per design (and they're
     already small enough — no further shrink needed). */

  /* Stack the savings card: label on top, range below */
  .fsc-savings-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 14px 16px;
  }

  .fsc-total { padding: 16px 14px; }
  .fsc-fractional-card { padding: 16px 14px; }
}

/* ============================================================
   Narrow phones (≤ 480px) — stack tabs vertically.
   Below ~480px, three horizontal tabs are unreadable no matter how
   small the type gets ("People Ops" wraps or clips). Stacking is the
   honest fix.
   ============================================================ */
@media (max-width: 480px) {
  .fsc-tabs {
    flex-direction: column;
    border-radius: 0;
    overflow: visible;
  }
  .fsc-panel .fsc-tabs .fsc-tab {
    width: 100%;
    font-size: 16px;
    padding: 12px 16px;
    text-align: left;
    white-space: nowrap;
    border-radius: 0 8px 0 8px !important;
  }
  .fsc-panel .fsc-tabs .fsc-tab + .fsc-tab {
    border-left: 0;
    border-top: 1px solid #e5e8d9;
  }
  .fsc-panel .fsc-tabs .fsc-tab.is-active { border-radius: 0 8px 0 8px !important; }
  /* Inactive last tab keeps its bottom-left rounded (visually anchors the
     column's bottom corner) but the top-right corner sits mid-column and
     should stay flat. */
  .fsc-panel .fsc-tabs .fsc-tab:not(.is-active):last-child {
    border-radius: 0 0 0 8px !important;
  }
}

/* ============================================================
   Eyebrows / labels (uppercase, wide tracking — the visual signature)
   ============================================================ */
/* Eyebrow / label / section title — use PX letter-spacing (not em) so the
   value doesn't change when Astra/GF override the font-size somewhere up the
   tree. The Figma values were 2.8–3.08px tracked. */
.fsc-panel .fsc-eyebrow {
  font-family: var(--fsc-font-display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--fsc-green);
  margin: 0 0 32px;
  line-height: 1.4;
}
.fsc-panel .fsc-eyebrow--on-dark { color: var(--fsc-on-dark-muted); }

.fsc-panel .fsc-label {
  font-family: var(--fsc-font-display);
  font-weight: 600;          /* Was 700 — pulled back per design feedback */
  font-size: 14px;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  color: var(--fsc-green);
  margin: 32px 0 12px;
  display: block;
}
.fsc-panel .fsc-label--card { margin: 0 0 12px; }

.fsc-panel .fsc-section-title {
  font-family: var(--fsc-font-display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--fsc-green);
  margin: 40px 0 24px;
}

/* ============================================================
   Tabs
   - All three tabs share the light cream background.
   - Active tab corners: top-left & bottom-right are SHARP,
     top-right & bottom-left are rounded (8px). Matches Figma.
   ============================================================ */
.fsc-tabs {
  display: flex;
  width: 100%;
  margin-bottom: 40px;
  /* Strip background must contrast with tab background so each tab's
     rounded corners are visible. Inputs panel is cream-deep, tabs are
     cream — give the strip a transparent background so the panel shows
     through between/around tab corners. */
  background: transparent;
  border-radius: 0;
  overflow: visible;
}
.fsc-panel .fsc-tabs .fsc-tab {
  flex: 1;
  border: 0;
  /* Use background-color (not the shorthand `background`) so the
     background-image gradient on .is-active doesn't get reset. */
  background-color: var(--fsc-cream);
  background-image: none;
  padding: 9px 16px;
  font-family: var(--fsc-font-body);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.4px;
  color: var(--fsc-green);
  cursor: pointer;
  text-transform: capitalize;
  line-height: 1.4;
  transition: background-color 0.18s, color 0.18s;
  position: relative;
  /* Asymmetric motif on ALL tabs: top-left & bottom-right sharp,
     top-right & bottom-left rounded. !important defeats Astra's blanket
     button { border-radius: 4px } inline rule. */
  border-radius: 0 8px 0 8px !important;
  white-space: nowrap;
  min-width: 0;
}
.fsc-panel .fsc-tabs .fsc-tab + .fsc-tab { border-left: 1px solid #e5e8d9; }
.fsc-panel .fsc-tabs .fsc-tab:hover:not(.is-active) { color: var(--fsc-teal-deep); }

/* Middle (non-first, non-last) inactive tabs stay sharp on all corners —
   their roundings would otherwise sit next to neighbor tabs and look odd. */
.fsc-panel .fsc-tabs .fsc-tab:not(.is-active):not(:first-child):not(:last-child) {
  border-radius: 0 !important;
}

/* Active tab — matched specificity (3 classes) so the gradient wins. */
.fsc-panel .fsc-tabs .fsc-tab.is-active {
  background-color: transparent;
  background-image: linear-gradient(189deg, var(--fsc-green) 36%, var(--fsc-lime) 177%);
  color: #fff;
  border-radius: 0 8px 0 8px !important;
  border-left-color: transparent;
}
.fsc-panel .fsc-tabs .fsc-tab.is-active + .fsc-tab { border-left-color: transparent; }

/* ============================================================
   Role select — line-only style, no border box
   ============================================================ */
.fsc-select-wrap {
  position: relative;
  width: 100%;
  border-bottom: 2px solid var(--fsc-divider);
  margin-bottom: 32px;
}
.fsc-select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
  border: 0;
  padding: 6px 28px 0 0;
  font-family: var(--fsc-font-display);
  font-weight: 300;
  font-size: 22px;
  color: var(--fsc-green);
  cursor: pointer;
  letter-spacing: 0.04em;
  line-height: 1.4;
}
.fsc-select:focus { outline: none; }
/* Brand chevron — natural orientation points right (9.5 × 15 viewBox).
   We rotate 90deg so it points down for the dropdown. */
.fsc-select-caret {
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%) rotate(90deg);
  pointer-events: none;
  display: block;
  width: 10px;
  height: 16px;
  background: url('../assets/caret.svg') center / contain no-repeat;
  font-size: 0;            /* Hide the legacy ▾ glyph if it remains in markup */
  color: transparent;
}

/* ============================================================
   Salary card — cream-on-cream sub-panel
   ============================================================ */
.fsc-card {
  background: var(--fsc-cream);
  border-radius: 8px;
  padding: 16px;
  margin-top: 0;
}
.fsc-salary {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.fsc-salary-prefix {
  font-family: var(--fsc-font-display);
  font-weight: 400;
  font-size: 24px;
  color: var(--fsc-green-dollar);
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.fsc-salary-input {
  flex: 1;
  border: 0;
  background: transparent;
  font-family: var(--fsc-font-display);
  font-weight: 300;
  font-size: 22px;
  color: var(--fsc-green);
  padding: 0;
  min-width: 0;
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.fsc-salary-input:focus { outline: none; }
.fsc-salary-hint {
  font-family: var(--fsc-font-display);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.05em;
  line-height: 1.5;
  color: var(--fsc-green-faint);
  margin: 16px 0 0;
}

/* ============================================================
   Sliders — minimal: 2px track with 14px round thumb
   ============================================================ */
.fsc-slider { margin-bottom: 24px; }
.fsc-slider-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}
.fsc-panel .fsc-slider-label,
.fsc-panel .fsc-slider-value {
  font-family: var(--fsc-font-display);
  font-weight: 600;             /* Was 700 — pulled back per design feedback */
  font-size: 14px;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  color: var(--fsc-green);
}
.fsc-panel .fsc-slider-value { letter-spacing: 0.5px; }

.fsc-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 2px;
  background: var(--fsc-divider);
  border-radius: 3px;
  outline: none;
  margin: 4px 0;
}
.fsc-range::-webkit-slider-runnable-track {
  height: 2px;
  background: var(--fsc-divider);
  border-radius: 3px;
}
.fsc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--fsc-green);
  cursor: pointer;
  margin-top: -6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.fsc-range::-moz-range-track {
  height: 2px;
  background: var(--fsc-divider);
  border-radius: 3px;
}
.fsc-range::-moz-range-thumb {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--fsc-green);
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.fsc-slider-range {
  display: flex;
  justify-content: space-between;
  font-family: var(--fsc-font-display);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--fsc-green-faint);
  margin-top: 6px;
}

/* ============================================================
   Results panel (right) — cost list + totals
   ============================================================ */
/* Sub-headline above the cost list. Matches the row labels below it
   (Neue Haas 45 Light, 16px, white@91) so the two read as one block. */
.fsc-subhead {
  font-family: var(--fsc-font-display);
  font-weight: 300;
  font-size: 16px;
  color: var(--fsc-on-dark-strong);
  margin: 0 0 32px;
  letter-spacing: 0.04em;
}

/* Astra's bare `ul { margin: 0 0 1.5em 3em }` + `ul { list-style: disc }`
   bleed into our cost list — visible as left indent + a green bullet stripe.
   Force-override here. */
.fsc-panel .fsc-cost-list {
  list-style: none !important;
  padding: 0 0 36px !important;
  margin: 0 0 32px !important;
  border-bottom: 1px solid var(--fsc-divider);
}
.fsc-panel .fsc-cost-list li {
  list-style: none !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
}
.fsc-panel .fsc-cost-list li::marker { content: "" !important; }
.fsc-cost-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 12px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--fsc-divider);
  font-size: 16px;
  letter-spacing: 0.04em;
}
.fsc-cost-list li:last-child { border-bottom: 0; margin-bottom: 0; }
.fsc-cost-list li > span:first-child {
  font-family: var(--fsc-font-display);
  font-weight: 300;
  color: var(--fsc-on-dark-strong);
}
.fsc-cost-list li > span:last-child {
  font-family: var(--fsc-font-display);
  font-weight: 500;
  color: var(--fsc-on-dark-muted);
  text-align: right;
}

/* Total bar (year-one FTE) */
.fsc-total {
  background: var(--fsc-teal-total);
  border-radius: 8px;
  padding: 22px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 32px;
}
.fsc-total-label {
  font-family: var(--fsc-font-display);
  font-weight: 500;
  font-size: 16px;
  color: var(--fsc-on-dark-muted);
  letter-spacing: 0.04em;
}
.fsc-total-amount {
  font-family: var(--fsc-font-display);
  font-weight: 600;
  font-size: 23px;
  color: #fff;
  letter-spacing: 0.04em;
}

/* "vs. Fractional" divider — uppercase label flanked by lines */
.fsc-panel .fsc-divider-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  font-family: var(--fsc-font-display);
  font-weight: 300;                       /* Lighter per design feedback */
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--fsc-on-dark-faint);        /* And softer color */
  margin: 0 0 24px;
}
.fsc-divider-label::before,
.fsc-divider-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--fsc-divider);
}

/* Fractional engagement card — soft lime background */
.fsc-fractional-card {
  background: var(--fsc-lime-bg-soft);
  border-radius: 8px;
  padding: 20px 16px;
  margin-bottom: 24px;
}
.fsc-fractional-eyebrow {
  font-family: var(--fsc-font-display);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--fsc-lime);
  margin: 0 0 8px;
}
.fsc-fractional-range {
  font-family: var(--fsc-font-display);
  font-weight: 600;
  font-size: 23px;
  color: var(--fsc-lime);
  margin: 0 0 20px;
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.fsc-fractional-range .fsc-yr { font-size: 23px; }
.fsc-fractional-foot {
  font-family: var(--fsc-font-display);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--fsc-on-dark-muted);
  margin: 0;
  line-height: 1.4;
}

/* Savings card — vivid lime */
.fsc-savings-card {
  background: var(--fsc-lime);
  color: var(--fsc-savings-text);
  border-radius: 8px;
  padding: 20px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 36px;
}
.fsc-savings-label {
  font-family: var(--fsc-font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.fsc-savings-amount {
  font-family: var(--fsc-font-display);
  font-weight: 600;
  font-size: 23px;
  letter-spacing: 0.04em;
}

/* ============================================================
   Email row — single-line input + small dark-teal Send button
   ============================================================ */
.fsc-panel .fsc-email-eyebrow {
  font-family: var(--fsc-font-display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--fsc-on-dark-muted);
  margin: 0 0 12px;
  padding-top: 24px;
  border-top: 1px solid var(--fsc-divider);
}

/* ============================================================
   Gravity Forms theme override
   GF 2.10's "gravity-theme" stylesheet uses .gform_wrapper.gravity-theme
   selectors which have +1 specificity over plain .gform_wrapper. We
   match that specificity (plus .fsc-form-wrap as a scope) and use
   !important on the layout switch to defeat GF's display:grid default
   on .gform_fields and its block-level .gform_footer.
   ============================================================ */
.fsc-form-wrap .gform_wrapper { margin: 0 !important; }

.fsc-form-wrap .gform_wrapper .gform_required_legend,
.fsc-form-wrap .gform_wrapper .gfield_label {
  position: absolute !important;
  width: 1px !important; height: 1px !important;
  margin: -1px !important; padding: 0 !important;
  overflow: hidden !important; clip: rect(0 0 0 0) !important;
  border: 0 !important;
}

/* Force the form to be a horizontal flex row.
   GF 2.10 renders <form> with two children: .gform-body (wrapping .gform_fields)
   and .gform_footer. We need .gform-body to grow so the email field fills the
   remaining width beside the button. */
.fsc-form-wrap .gform_wrapper.gravity-theme form,
.fsc-form-wrap .gform_wrapper form {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.fsc-form-wrap .gform_wrapper.gravity-theme .gform-body,
.fsc-form-wrap .gform_wrapper .gform-body,
.fsc-form-wrap .gform_wrapper.gravity-theme .gform_body,
.fsc-form-wrap .gform_wrapper .gform_body {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

.fsc-form-wrap .gform_wrapper.gravity-theme .gform_fields,
.fsc-form-wrap .gform_wrapper .gform_fields {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: row !important;
  width: 100% !important;
  min-width: 0 !important;
  align-items: stretch !important;
  gap: 0 !important;
  grid-template-columns: none !important;
  grid-row-gap: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

/* Hide GF's wrapper divs around hidden fields so they don't grab flex space.
   Each hidden field is a <div class="gfield gform_hidden gfield--type-hidden">.
   - honeypot is .gform_validation_container / .gfield--type-honeypot
   - all 15 hidden numeric/text fields are .gform_hidden / .gfield--type-hidden */
.fsc-form-wrap .gform_wrapper .gform_validation_container,
.fsc-form-wrap .gform_wrapper .gfield--type-honeypot,
.fsc-form-wrap .gform_wrapper .gform_hidden,
.fsc-form-wrap .gform_wrapper .gfield--type-hidden {
  display: none !important;
}

.fsc-form-wrap .gform_wrapper.gravity-theme .gfield,
.fsc-form-wrap .gform_wrapper .gfield {
  flex: 1 1 auto !important;
  margin: 0 !important;
  padding: 0 !important;
  grid-column: auto !important;
}

.fsc-form-wrap .gform_wrapper.gravity-theme .ginput_container,
.fsc-form-wrap .gform_wrapper .ginput_container {
  margin: 0 !important;
  padding: 0 !important;
}

.fsc-form-wrap .gform_wrapper.gravity-theme input[type="email"],
.fsc-form-wrap .gform_wrapper input[type="email"] {
  width: 100% !important;
  background: transparent !important;
  border: 1px solid var(--fsc-teal-border) !important;
  color: #fff !important;
  padding: 10px 12px !important;
  font-family: var(--fsc-font-display) !important;
  font-weight: 400 !important;
  font-size: 16px !important;
  letter-spacing: 0.3px !important;
  border-radius: 4px !important;
  height: 45px !important;
  line-height: 1.4 !important;
  box-shadow: none !important;
}
.fsc-form-wrap .gform_wrapper input[type="email"]::placeholder {
  color: var(--fsc-on-dark-faint) !important;
  opacity: 1 !important;
}
.fsc-form-wrap .gform_wrapper input[type="email"]:focus {
  outline: none !important;
  border-color: var(--fsc-lime) !important;
  background: rgba(255,255,255,0.04) !important;
  color: #fff !important;
}

.fsc-form-wrap .gform_wrapper.gravity-theme .gform_footer,
.fsc-form-wrap .gform_wrapper .gform_footer {
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: stretch !important;
  flex: 0 0 auto !important;
}

.fsc-form-wrap .gform_wrapper.gravity-theme .gform_button,
.fsc-form-wrap .gform_wrapper .gform_button {
  background: var(--fsc-teal-button) !important;
  color: #fff !important;
  border: 0 !important;
  padding: 0 16px !important;
  height: 45px !important;
  min-width: 70px !important;
  width: auto !important;
  font-family: var(--fsc-font-body) !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  letter-spacing: 0.5px !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  line-height: 1 !important;
  margin: 0 !important;
  box-shadow: none !important;
  text-transform: none !important;
}
.fsc-form-wrap .gform_wrapper .gform_button:hover,
.fsc-form-wrap .gform_wrapper .gform_button:focus {
  background: #034f3f !important;
  color: #fff !important;
}

/* ---- GF validation / confirmation messages ---- */
.fsc-form-wrap .gform_wrapper .gfield_validation_message,
.fsc-form-wrap .gform_wrapper .validation_message {
  background: rgba(248,113,113,0.15) !important;
  border-left: 3px solid #f87171 !important;
  color: #fecaca !important;
  padding: 8px 12px !important;
  margin-top: 8px !important;
  border-radius: 4px;
  font-size: 13px;
}
.fsc-form-wrap .gform_wrapper .gform_validation_errors {
  background: rgba(248,113,113,0.1) !important;
  border: 1px solid rgba(248,113,113,0.3) !important;
  color: #fecaca !important;
  padding: 12px !important;
  margin-bottom: 12px !important;
  border-radius: 4px;
}
.fsc-form-wrap .gform_confirmation_message {
  background: var(--fsc-lime-bg-soft);
  border: 1px solid rgba(19,245,103,0.3);
  color: var(--fsc-lime);
  padding: 14px 16px;
  border-radius: 4px;
  font-size: 14px;
}
.fsc-form-wrap .gform_confirmation_message p { margin: 0; color: inherit !important; }
