/* ============================================================
   MASTER GLOBAL STYLESHEET
   Variables -> Base Elements -> Utilities -> Components -> Media Queries
  [cite: 3, 4]
   ============================================================ */

/* ==============================
   1. VARIABLES[cite: 3]
   ============================== */
:root {
  --ink:    #080F1C;
  --deep:   #0B1629;
  --card:   #0F1E36;
  --border: #1A2E4A;
  --blue:   #2563EB;
  --blue-h: #3B82F6;
  --sky:    #38BDF8;
  --muted:  #CBD5E1;
  --mid:    #CBD5E1;
  --light:  #CBD5E1;
  --white:  #FFFFFF;
  --gold:   #F59E0B;
  --green:  #10B981;
  --red:    #EF4444;
  --font-h: 'Space Grotesk', -apple-system, sans-serif;
  --font-b: 'Inter', -apple-system, sans-serif;
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;
}

/* ==============================
   2. BASE ELEMENTS[cite: 3]
   ============================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.6;
  color: var(--light);
  background: var(--deep);
  overflow-x: hidden;
}

/* ==============================
   3. UTILITIES[cite: 3, 4]
   ============================== */
/* Accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--blue);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--r-sm);
  font-weight: 600;
  z-index: 10000;
  text-decoration: none;
}
.skip-link:focus {
  top: 16px;
}

/* Layout Containers & Section Base */
.section {
  padding: 96px 32px;
}
.section-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.bg-card {
  background: var(--card);
}

/* Typography Utilities */
.s-eyebrow {
  font-family: var(--font-h);
  font-size: 16px;
  font-weight: 700;
  color: var(--sky);
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.s-title {
  font-family: var(--font-h);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -.025em;
  margin-bottom: 16px;
}
.s-sub {
  font-size: 18px;
  color: var(--mid);
  line-height: 1.75;
  max-width: 700px;
}
.s-header {
  margin-bottom: 56px;
}
.s-header.center {
  text-align: center;
}
.s-header.center .s-eyebrow {
  justify-content: center;
}
.s-header.center .s-sub {
  margin: 0 auto;
}

/* ==============================
   4. COMPONENTS[cite: 3, 4]
   ============================== */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-h);
  border-radius: var(--r-sm);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all .2s ease;
  line-height: 1;
}
.btn-primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-h); border-color: var(--blue-h); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37,99,235,.45); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--border); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost { background: rgba(255,255,255,.06); color: var(--white); border-color: rgba(255,255,255,.1); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-lg { padding: 16px 32px; font-size: 18px; }
.btn-full { width: 100%; text-align: center; display: block; }

/* Form Inputs & Labels */
.fg { margin-bottom: 14px; }
.fg label {
  display: block;
  font-family: var(--font-h);
  font-size: 16px;
  font-weight: 700;
  color: #374151; 
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 6px;
}
.fg input,
.fg select,
.fg textarea {
  width: 100%;
  padding: 11px 14px;
  font-size: 16px;
  font-family: var(--font-b);
  color: #1E293B;
  background: #F8FAFC;
  border: 1.5px solid #CBD5E1;
  border-radius: var(--r-sm);
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
}
.fg input::placeholder,
.fg textarea::placeholder { color: #94A3B8; }
.fg input:focus,
.fg select:focus,
.fg textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.15);
  background: #fff;
}
.fg select { cursor: pointer; }
.fg textarea { resize: vertical; min-height: 72px; }
.fg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Radio Buttons Grid */
.radio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.radio-opt {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 11px 12px;
  background: #F8FAFC;
  border: 1.5px solid #CBD5E1;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.radio-opt:has(input:checked) { border-color: var(--blue); background: #EFF6FF; }
.radio-opt input[type="radio"] { width: auto; margin-top: 3px; accent-color: var(--blue); flex-shrink: 0; }
.radio-text { font-family: var(--font-h); font-size: 16px; font-weight: 700; color: #1E293B; display: block; }
.radio-sub { font-size: 16px; color: #64748B; display: block; }

/* Tables (Generic Comparison Table) */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
}
table.comp { width: 100%; border-collapse: collapse; }
.comp thead th {
  padding: 20px 28px;
  text-align: left;
  font-family: var(--font-h);
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}
.comp thead th:first-child  { background: var(--card); color: var(--mid); }
.comp thead th:nth-child(2) { background: var(--blue); color: #fff; }
.comp thead th:nth-child(3) { background: rgba(255,255,255,.04); color: var(--mid); }
.comp tbody tr { border-bottom: 1px solid var(--border); }
.comp tbody tr:last-child { border-bottom: none; }
.comp tbody tr:nth-child(even) { background: rgba(255,255,255,.02); }
.comp tbody td {
  padding: 16px 28px;
  font-size: 16px;
  color: var(--mid);
  vertical-align: middle;
  line-height: 1.55;
}
.comp tbody td:first-child { font-family: var(--font-h); font-weight: 600; color: var(--light); }
.chk {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  background: rgba(16,185,129,1);
  border: 1px solid rgba(16,185,129,1);
  border-radius: 50%;
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
  vertical-align: middle;
  margin-right: 6px;
}
.crs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  background: rgba(239,68,68,1);
  border: 1px solid rgba(239,68,68,1);
  border-radius: 50%;
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
  vertical-align: middle;
  margin-right: 6px;
}

/* FAQ / Accordions */
.faq-wrap { max-width: 840px; margin: 0 auto 0; }
    .faq-section-heading {
      font-family: var(--font-h);
      font-size: 22px;
      font-weight: 700;
      color: var(--white);
      margin-bottom: 20px;
      letter-spacing: -.02em;
    }
    .faq-item {
      border: 1px solid var(--border);
      border-radius: var(--r-md);
      margin-bottom: 10px;
      overflow: hidden;
    }
    .faq-item { border-color: rgba(37,99,235,.3); }
    .faq-q {
      display: block;
      width: 100%;
      text-align: left;
      padding: 20px 24px;
      font-family: var(--font-h);
      font-size: 18px;
      font-weight: 600;
      color: var(--sky);
      background: rgba(37,99,235,.08);
      border: none;
      border-bottom: 1px solid var(--border);
    }
    .faq-icon {
      flex-shrink: 0;
      width: 22px; height: 22px;
      stroke: var(--sky);
      fill: none;
      stroke-width: 2.5;
      stroke-linecap: round;
      transition: transform .3s ease;
    }
    .faq-a {
      display: block;
      padding: 4px 24px 20px;
      font-size: 16px;
      color: var(--mid);
      line-height: 1.8;
      background: rgba(37,99,235,.05);
      border-top: 1px solid var(--border);
    }
    .faq-icon { display: none; }
    
/*.faq-wrap { max-width: 840px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-item:has(.faq-q[aria-expanded="true"]) { border-color: rgba(37,99,235,.4); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  font-family: var(--font-h);
  font-size: 18px;
  font-weight: 600;
  color: var(--light);
  background: var(--card);
  border: none;
  cursor: pointer;
  transition: color .2s, background .2s;
}
.faq-q:hover { color: var(--white); }
.faq-q[aria-expanded="true"] { color: var(--sky); background: rgba(37,99,235,.08); }
.faq-icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  stroke: var(--sky);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  transition: transform .3s ease;
}
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-a {
  display: block;
  padding: 4px 24px 20px;
  font-size: 16px;
  color: var(--mid);
  line-height: 1.8;
  background: rgba(37,99,235,.05);
  border-top: 1px solid var(--border);
}
.faq-a.open { display: block; }*/

/* ==============================
   5. GLOBAL HEADER & FOOTER[cite: 3]
   ============================== */
/* Announcement Bar */
.ann-bar { background: var(--ink); border-bottom: 1px solid var(--border); padding: 10px 32px; }
.ann-bar-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.ann-socials { display: flex; align-items: center; gap: 12px; }
.ann-social { width: 30px; height: 30px; border-radius: var(--r-sm); background: rgba(255,255,255,.07); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; text-decoration: none; transition: background .2s, border-color .2s; flex-shrink: 0; }
.ann-social:hover { background: var(--blue); border-color: var(--blue); }
.ann-social svg { width: 14px; height: 14px; fill: rgba(255,255,255,.65); }
.ann-social:hover svg { fill: #fff; }
.ann-contact { display: flex; align-items: center; gap: 20px; }
.ann-contact-item { display: flex; align-items: center; gap: 7px; text-decoration: none; color: rgba(255,255,255,.65); font-size: 16px; font-weight: 500; transition: color .2s; }
.ann-contact-item:hover { color: #fff; }
.ann-contact-item svg { width: 14px; height: 14px; stroke: var(--sky); fill: none; stroke-width: 2; stroke-linecap: round; flex-shrink: 0; }
@keyframes scroll-ann { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Header / Nav */
.header { position: sticky; top: 0; z-index: 200; background: rgba(11, 22, 41, 0.88); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
.nav { max-width: 1280px; margin: 0 auto; padding: 0 32px; height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.nav-logo img { height: 48px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-family: var(--font-h); font-size: 16px; font-weight: 500; color: var(--mid); text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--white); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--mid); padding: 6px; }
.mobile-nav { display: none; background: var(--card); border-top: 1px solid var(--border); padding: 20px 32px 24px; }
.mobile-nav.open { display: block; }
.mobile-nav .nav-links { flex-direction: column; align-items: center; gap: 18px; margin-bottom: 18px; }
.mobile-nav .nav-links a { font-size: 24px; }
.mobile-nav .btn-full { font-size: 18px; }
.mobile-nav-socials { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; }
.mobile-nav-socials-label { font-size: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.4); margin: 0 0 12px; }
.mobile-nav-socials-icons { display: flex; gap: 20px; }
.mobile-nav-socials-icons .ann-social { width: 40px; height: 40px; }
.mobile-nav-socials-icons .ann-social svg { width: 20px; height: 20px; }

/* Footer */
.footer { background: var(--ink); padding: 72px 32px 0; border-top: 1px solid var(--border); }
.footer-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1.3fr 1fr; gap: 52px; padding-bottom: 60px; border-bottom: 1px solid var(--border); }
.footer-logo { height: 48px; width: auto; display: block; margin-bottom: 16px; }
.footer-about { font-size: 16px; color: var(--muted); line-height: 1.7; margin-bottom: 24px; }
.foot-socials { display: flex; gap: 10px; }
.foot-social { width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--card); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--mid); text-decoration: none; transition: border-color .2s, color .2s, background .2s; }
.foot-social:hover { border-color: var(--blue); color: var(--sky); background: rgba(37,99,235,.1); }
.foot-social svg { width: 17px; height: 17px; fill: currentColor; }
.footer-col h4 { font-family: var(--font-h); font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.foot-links { list-style: none; }
.foot-links li { margin-bottom: 10px; }
.foot-links a { font-size: 16px; color: var(--muted); text-decoration: none; transition: color .2s; }
.foot-links a:hover { color: var(--white); }
.contact-row { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.contact-row svg { width: 16px; height: 16px; stroke: var(--sky); fill: none; stroke-width: 2; stroke-linecap: round; flex-shrink: 0; margin-top: 3px; }
.contact-row p, .contact-row a { font-size: 16px; color: var(--muted); line-height: 1.55; text-decoration: none; transition: color .2s; }
.contact-row a:hover { color: var(--white); }
.hours-row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--border); }
.hours-row:last-child { border-bottom: none; }
.hours-day  { font-size: 16px; color: var(--muted); }
.hours-time { font-size: 16px; font-weight: 600; color: var(--white); font-family: var(--font-h); text-align:right }
.copyright { background: rgba(0,0,0,.3); padding: 14px 32px; border-top: 1px solid var(--border); }
.copyright-inner { max-width: 1280px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.copyright-inner p, .copyright-inner a { font-size: 13px; color: rgba(255,255,255,.35); text-decoration: none; transition: color .2s; }
.copyright-inner a:hover { color: rgba(255,255,255,.7); }
.cp-links { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }

/* ==============================
   6. MEDIA QUERIES[cite: 3, 4]
   ============================== */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 991px){
  .s-eyebrow {
    justify-content: center;
  }
  
  .s-header{
    text-align: center;
  }
  
  .s-sub{
  margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .ann-hide-mobile { display: none !important; }
  .nav > .nav-links, .nav-cta-btn { display: none; }
  .nav-toggle { display: block; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .fg-row { grid-template-columns: 1fr; }
  .radio-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .s-title { font-size: 24px; }
  .copyright-inner { flex-direction: column; align-items: flex-start; }
}

/* Scroll Animations for global UI elements */
@media (prefers-reduced-motion: no-preference) {
  [data-anim] {
    opacity: 0;
    transition: opacity 0.65s cubic-bezier(.22,.68,0,1.2), transform 0.65s cubic-bezier(.22,.68,0,1.2);
  }
  [data-anim="fade-up"]    { transform: translateY(36px); }
  [data-anim="fade-left"]  { transform: translateX(-36px); }
  [data-anim="fade-right"] { transform: translateX(36px); }
  [data-anim="scale-up"]   { transform: scale(0.94) translateY(20px); }
  [data-anim="fade-in"]    { transform: none; }
  [data-anim].visible { opacity: 1; transform: none; }
  [data-delay="100"] { transition-delay: 0.10s; }
  [data-delay="150"] { transition-delay: 0.15s; }
  [data-delay="200"] { transition-delay: 0.20s; }
  [data-delay="250"] { transition-delay: 0.25s; }
  [data-delay="300"] { transition-delay: 0.30s; }
  [data-delay="400"] { transition-delay: 0.40s; }
  [data-delay="500"] { transition-delay: 0.50s; }
  [data-delay="600"] { transition-delay: 0.60s; }
}


html body #stella-widget .ui-tabs-panel .tab-inner
 {
    padding: 30px 0px 40px !important;
}


/* MAIN CONTAINER (Matches .hero-form) */
.stella-widget .panel-1,
.stella-widget .panel-2 {
  background: #ffffff !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 15px !important;
  position: relative !important;
}

.stella-widget .panel-1::before,
.stella-widget .panel-2::before {
  /*content: '' !important;
  position: absolute !important;
  top: 0 !important; 
  left: 24px !important; 
  right: 24px !important;
  height: 3px !important;
  background: linear-gradient(90deg, var(--blue, #2563EB), var(--sky, #38BDF8)) !important;
  border-radius: 0 0 4px 4px !important;*/
}

html body #stella-widget input.button-type[type=radio]+label{
	text-align: left !important;
}


/* =========================================================
   STELLA WIDGET OVERRIDES â?? CUBE SQUARED THEME (IMPORTANT)
========================================================= */

.stella-widget {
  font-family: var(--font-b, 'Inter', sans-serif) !important;
  color: #1E293B !important;
  width: 100% !important;
}

/* HEADINGS */
.stella-widget h2 {
  font-family: var(--font-h, 'Space Grotesk', sans-serif) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #0C1E38 !important;
  margin-top: 0 !important;
  margin-bottom: 8px !important;
}

.stella-widget h3 {
  font-family: var(--font-h, 'Space Grotesk', sans-serif) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #0C1E38 !important;
  margin-top: 24px !important;
  margin-bottom: 12px !important;
}

/* FORM GRID LAYOUT (Matches .fg-row setup) */
.stella-widget fieldset {
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 14px 12px !important;
}

.stella-widget .block-4 {
  grid-column: span 2 !important;
}

.stella-widget .block-2 {
  grid-column: span 1 !important;
}

/* LABELS */
.stella-widget label:not(.button-type label):not(.ios-toggle label) {
  display: block !important;
  font-family: var(--font-h, 'Space Grotesk', sans-serif) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #374151 !important;
  text-transform: uppercase !important;
  letter-spacing: .06em !important;
  margin-bottom: 6px !important;
}

/* INPUTS, SELECTS & DATEPICKERS */
.stella-widget input[type="text"],
.stella-widget input[type="email"],
.stella-widget input[type="tel"],
.stella-widget select,
.stella-widget .react-datepicker__input-container input {
  width: 100% !important;
  padding: 11px 14px !important;
  font-size: 16px !important;
  font-family: var(--font-b, 'Inter', sans-serif) !important;
  color: #1E293B !important;
  background: #F8FAFC !important;
  border: 1.5px solid #CBD5E1 !important;
  border-radius: var(--r-sm, 6px) !important;
  transition: border-color .2s, box-shadow .2s !important;
  appearance: none !important;
  box-sizing: border-box !important;
}

/* Custom dropdown arrow for selects */
.stella-widget select {
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%2394A3B8%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px top 50% !important;
  background-size: 10px auto !important;
  cursor: pointer !important;
}

.stella-widget input:focus,
.stella-widget select:focus {
  outline: none !important;
  border-color: var(--blue, #2563EB) !important;
  box-shadow: 0 0 0 3px rgba(37,99,235,.15) !important;
  background: #fff !important;
}

/* RADIO BUTTON GRID (Matches .radio-grid & .radio-opt) */
.stella-widget fieldset.span33 {
  grid-column: span 2 !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
}

.stella-widget .block-1 { 
  position: relative !important; 
  height: 100% !important; 
}

.stella-widget input[type="radio"].button-type {
  position: absolute !important;
  opacity: 0 !important;
  width: 100% !important;
  height: 100% !important;
  cursor: pointer !important;
  z-index: 2 !important;
  margin: 0 !important;
}

.stella-widget input[type="radio"].button-type + label {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  padding: 11px 12px !important;
  background: #F8FAFC !important;
  border: 1.5px solid #CBD5E1 !important;
  border-radius: var(--r-sm, 6px) !important;
  cursor: pointer !important;
  transition: border-color .2s, background .2s !important;
  font-family: var(--font-h, 'Space Grotesk', sans-serif) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #1E293B !important;
  height: 100% !important;
  box-sizing: border-box !important;
}

.stella-widget input[type="radio"].button-type:checked + label {
  border-color: var(--blue, #2563EB) !important;
  background: #EFF6FF !important;
}

/* Custom Radio Circle */
.stella-widget input[type="radio"].button-type + label::before {
  content: '' !important;
  display: inline-block !important;
  width: 16px !important;
  height: 16px !important;
  border-radius: 50% !important;
  border: 1.5px solid #CBD5E1 !important;
  background: #fff !important;
  flex-shrink: 0 !important;
  transition: border .2s !important;
	margin-bottom: 20px !important;
}

.stella-widget input[type="radio"].button-type:checked + label::before {
  border: 5px solid var(--blue, #2563EB) !important;
}

/* PRIMARY BUTTON */
.stella-widget button.primary-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  padding: 16px 32px !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  font-family: var(--font-h, 'Space Grotesk', sans-serif) !important;
  border-radius: var(--r-sm, 6px) !important;
  background: var(--blue, #2563EB) !important;
  color: #fff !important;
  border: 2px solid var(--blue, #2563EB) !important;
  cursor: pointer !important;
  transition: all .2s ease !important;
  line-height: 1 !important;
  margin-top: 16px !important;
}

.stella-widget button.primary-button:hover {
  background: var(--blue-h, #3B82F6) !important;
  border-color: var(--blue-h, #3B82F6) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(37,99,235,.45) !important;
}

/* TOP TAB NAVIGATION */
.stella-widget .ui-tabs-nav {
  display: flex !important;
  gap: 20px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 24px 0 !important;
  /*border-bottom: 2px solid #E2E8F0 !important;*/
}

.stella-widget .ui-tabs-nav li a {
  text-decoration: none !important;
  font-family: var(--font-h, 'Space Grotesk', sans-serif) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #64748B !important;
  padding: 8px 0 !important;
  display: inline-block !important;
  border-bottom: 2px solid transparent !important;
  margin-bottom: -2px !important;
  transition: color .2s !important;
}

.stella-widget .ui-tabs-nav li a:hover {
  color: var(--blue, #2563EB) !important;
}

.stella-widget .ui-tabs-nav li.ui-tabs-active a {
  color: var(--blue, #2563EB) !important;
  border-bottom-color: var(--blue, #2563EB) !important;
}

/* HIDE DEFAULT WIDGET ELEMENTS THAT CLUTTER THE UI */
.stella-widget .trusted-icon { display: none !important; }
.stella-widget .mb-24 { display: none !important; }

/* =========================================================
   RESPONSIVE ADJUSTMENTS
========================================================= */

@media (max-width: 768px) {
  /* Make standard form fields stack */
  .stella-widget .block-2 {
    grid-column: span 2 !important;
  }
  
  /* Make radio button grid stack */
  .stella-widget fieldset.span33 { 
    grid-template-columns: 1fr !important; 
  }
}

@media (max-width: 480px) {
  /* Reduce container padding to maximize screen real estate */
  .stella-widget .panel-1,
  .stella-widget .panel-2 {
    padding: 24px 20px !important;
  }
  
  /* Scale down headings slightly */
  .stella-widget h2 {
    font-size: 18px !important;
  }
  
  .stella-widget h3 {
    font-size: 15px !important;
    margin-top: 20px !important;
  }
  
  /* Make the primary button slightly more compact */
  .stella-widget button.primary-button {
    padding: 14px 24px !important;
    font-size: 16px !important;
  }

  /* Note: inputs and selects deliberately remain at 16px 
     to prevent iOS Safari from auto-zooming on focus */
}





/* =========================================================
   TOP TAB NAVIGATION (Upgraded Segmented Control)
========================================================= */
.stella-widget .ui-tabs-nav {
  display: flex !important;
 /* background: #F1F5F9 !important;*/ /* Soft gray background */
  padding: 6px !important;
  /*border-radius: var(--r-md, 12px) !important;
  border: 1px solid #E2E8F0 !important;*/
  gap: 0 !important;
  margin: 0 0 32px 0 !important;
  list-style: none !important;
}

.stella-widget .ui-tabs-nav li {
  flex: 1 !important; /* Equal width for both tabs */
  margin: 0 !important;
}

.stella-widget .ui-tabs-nav li a {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  padding: 12px 20px !important;
  font-family: var(--font-h, 'Space Grotesk', sans-serif) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #64748B !important;
  text-transform: uppercase !important;
  letter-spacing: .05em !important;
  text-decoration: none !important;
  border-radius: var(--r-sm, 8px) !important;
  transition: all .2s ease !important;
  border: none !important;
  box-sizing: border-box !important;
}

.stella-widget .ui-tabs-nav li a:hover {
  color: #1E293B !important;
}

.stella-widget .ui-tabs-nav li.ui-tabs-active a {
  background: #ffffff !important;
  color: var(--blue, #2563EB) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.08) !important; /* Subtle elevation */
}


/* =========================================================
   RADIO BUTTON GRID (Stacked layout with square icon)
========================================================= */
.stella-widget fieldset.span33 {
  grid-column: span 2 !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px !important; 
}

.stella-widget .block-1 { 
  position: relative !important; 
  height: 100% !important; 
}

.stella-widget input[type="radio"].button-type {
  position: absolute !important;
  opacity: 0 !important;
  width: 100% !important;
  height: 100% !important;
  cursor: pointer !important;
  z-index: 2 !important;
  margin: 0 !important;
}

/* Container layout: Stacked vertically */
.stella-widget input[type="radio"].button-type + label {
  display: flex !important;
  flex-direction: column !important; /* Stacks the icon above the text */
  align-items: flex-start !important;
  gap: 14px !important; /* Space between icon and text */
  padding: 16px !important; 
  background: #F8FAFC !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: var(--r-sm, 8px) !important;
  cursor: pointer !important;
  transition: all .2s ease !important;
  height: 100% !important;
  box-sizing: border-box !important;
}

/* Checked state for the box */
.stella-widget input[type="radio"].button-type:checked + label {
  border-color: var(--blue, #2563EB) !important;
  background: #EFF6FF !important;
}

/* Text styling */
.stella-widget input[type="radio"].button-type + label span {
  font-family: var(--font-h, 'Space Grotesk', sans-serif) !important; 
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #0C1E38 !important;
  text-transform: uppercase !important; /* Matches the all-caps text in your image */
  text-align: left !important;
  line-height: 1.4 !important;
  letter-spacing: .05em !important;
  margin: 0 !important;
}

.stella-widget input[type="radio"].button-type:checked + label span {
  color: #1E293B !important;
}

/* Custom Square Icon */
.stella-widget input[type="radio"].button-type + label::before {
  content: '' !important;
  display: block !important;
  width: 20px !important;
  height: 20px !important;
  border-radius: 4px !important; /* Makes it a square with rounded corners */
  border: 1px solid #CBD5E1 !important;
  background: #fff !important;
  flex-shrink: 0 !important;
  transition: border .2s !important;
}

/* Checked state for the Square Icon */
.stella-widget input[type="radio"].button-type:checked + label::before {
  border: 6px solid var(--blue, #2563EB) !important; /* Creates a solid blue box with a small white center */
}



