/* ===== Growth Assessment – Section Q&A styling (screenshot-matched) ===== */

/* Container & panels (keep as-is, just slightly cleaner spacing) */
.gaf3-form-wrap {
  border: 1px solid #e5e5e5;
  padding: 16px;
  border-radius: 10px;
}

.gaf3-accordion { margin-top: 6px; }

.gaf3-panel {
  border: 1px solid #ddd;
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
}

/* Section title bar */
.gaf3-panel-title {
  width: 100%;
  text-align: left;
  background: #000000;
  color: #f7f7f7;
  border: 0;
  padding: 16px 18px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.2;
}

.gaf3-step {
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e3e9f7;
  font-weight: 700;
  font-size: 13px;
color: #000000;
}

.gaf3-range-hint {
  font-weight: 500;
  opacity: .7;
  margin-left: 6px;
}

.gaf3-panel-body {
  display: none;
  padding: 14px 18px 10px;
  background: #fff;
}

/* Open state */
.gaf3-panel.open .gaf3-panel-body { display: block; }

/* ===== Questions list =====
   We emulate a numbered list like “1.” “2.” using CSS counters.
*/
.gaf3-panel-body { counter-reset: gafq; }

.gaf3-field {
  counter-increment: gafq;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 10px 0;
}

/* The number “1.” “2.” etc. */
.gaf3-field::before {
  content: counter(gafq) ".";
  flex: 0 0 auto;
  font-size: 20px;
  font-weight: 600;
  color: #0d1b2a; /* deep navy-like text */
  margin-right: 6px;
  line-height: 1.6;
}

/* Question label text */
.gaf3-field label {
  flex: 1 1 auto;
  min-width: 0;               /* override old min-width */
  margin: 0;
  padding: 0;
  font-size: 20px;
  line-height: 1.6;
  color: #0d1b2a;
}

/* ===== Select as pill control (right side) ===== */
.gaf3-form select {
  flex: 0 0 auto;
  width: 210px;
  max-width: 100%;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background: #f0f2f4;
  border: 0;
  border-radius: 9999px;
  padding: 14px 48px 14px 18px;

  font-weight: 600;
  font-size: 15px;
  color: #0d1b2a;               /* selected value color */
  outline: none;
  box-shadow: none;
  transition: box-shadow .15s ease, background .15s ease, transform .03s ease;

  /* Chevron */
  background-image: url("data:image/svg+xml,%3Csvg width='18' height='12' viewBox='0 0 20 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 2l8 8 8-8' stroke='%230d1b2a' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px 12px;
}

/* Placeholder state (first option has value="") */
.gaf3-form select:required:invalid {
  color: #7b8794; /* softer placeholder color like screenshot */
}

/* Focus + hover feedback */
.gaf3-form select:hover {
  background: #e9edf1;
}
.gaf3-form select:focus {
  box-shadow: 0 0 0 3px rgba(10, 110, 166, .18);
  background: #eef2f6;
}

/* ===== Next / Submit buttons (rounded pill) ===== */
.gaf3-nav { margin-top: 14px; display: flex; justify-content: flex-end; }

.gaf3-next,
.gaf3-submit {
  background: #0a6ea6;     /* blue from screenshot */
  color: #fff;
  border: 0;
  padding: 12px 24px;
  border-radius: 9999px;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: .2px;
  line-height: 1;
  box-shadow: 0 2px 0 rgba(0,0,0,.06);
  transition: transform .03s ease, background .15s ease, box-shadow .15s ease;
}
.gaf3-next:hover,
.gaf3-submit:hover { background: #095f8f; }
.gaf3-next:active,
.gaf3-submit:active { transform: translateY(1px); }

/* ===== Contact block (outside accordion) ===== */
.gaf3-contact {
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 16px 18px;
  margin-top: 18px;
}

.gaf3-contact legend {
  font-weight: 700;
  padding: 0 6px;
  color: #0d1b2a;
}

.gaf3-contact .gaf3-field {
  counter-increment: none;
  padding: 10px 0;
}

.gaf3-contact .gaf3-field::before { content: none; }

.gaf3-form input[type="text"],
.gaf3-form input[type="email"],
.gaf3-form textarea {
  width: 420px;
  max-width: 100%;
  background: #fff;
  border: 1px solid #cfd6de;
  border-radius: 10px;
  padding: 12px 14px;
  outline: none;
  transition: box-shadow .15s ease, border-color .15s ease;
}

.gaf3-form input[type="text"]:focus,
.gaf3-form input[type="email"]:focus,
.gaf3-form textarea:focus {
  border-color: #0a6ea6;
  box-shadow: 0 0 0 3px rgba(10,110,166,.18);
}

/* Errors, spinner, thanks – keep subtle */
.gaf3-errors {
  border: 1px solid #f3c2c2;
  background: #fff4f4;
  color: #b10000;
  padding: 8px 10px;
  border-radius: 8px;
  margin: 12px 0;
}
.gaf3-spinner { margin-top: 8px; }

/* ===== Thank You Screen — Screenshot Match ===== */

/* Center the thank-you content and add spacing */
.gaf3-thanks {
  min-width: 720px;
  margin: 0px auto;
  border: 0;
  padding: 40px;
  text-align: center;
background: linear-gradient(180deg, #dbf7f5 0%, #ffffff 80%);
}

/* Top icon */
.gaf3-thanks::before {
  content: "";
  display: block;
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 72px 72px;
  /* check badge svg */
  background-image: url("data:image/svg+xml,%3Csvg width='72' height='72' viewBox='0 0 72 72' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M36 6c16.568 0 30 13.432 30 30S52.568 66 36 66 6 52.568 6 36 19.432 6 36 6Z' fill='%2319a974'/%3E%3Cpath d='M27 36.5l6.5 6.5L45 31' fill='none' stroke='%23fff' stroke-width='6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.gaf3-thanks-inside{
	display: inline-block;
    padding: 20px;
    border: 1px solid #000000;
    margin-top: 25px;
}

/* The bordered card that holds the outcome and score */
.gaf3-thanks-card,
.gaf3-thanks .gaf3-card {
  /* selector fallback if you add markup from Option B */
  border: 1px solid #1c2430;
  border-radius: 4px;
  padding: 28px 24px 26px;
  margin: 0 auto 16px;
  max-width: 720px;
  background: #fff;
}

/* Main outcome (big and colored) */
.gaf3-thanks h2,
.gaf3-thanks .gaf3-outcome-title {
  margin: 0 0 6px;
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0.2px;
  color: #14a085; /* teal-green per mock */
}

/* Subtitle (range message) */
.gaf3-thanks .gaf3-main-msg {
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 1.6;
  color: #3b4756;
}

/* Score, very large */
.gaf3-thanks .gaf3-score {
  margin: 8px 0 0;
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.15;
  color: #1c2430;
  font-weight: 700;
}

/* Optional extra text below card (kept subtle) */
.gaf3-thanks .gaf3-extra {
  max-width: 720px;
  margin: 8px auto 0;
   font-weight: 800;
  font-size: 28px;
  line-height: 1.3;
  color: #1c2430;
}

/* Responsive refinements */
@media (max-width: 640px) {
  .gaf3-thanks { margin: 32px auto 40px; }
  .gaf3-thanks::before { width: 60px; height: 60px; background-size: 60px 60px; }
  .gaf3-thanks::after { font-size: 24px; }
  .gaf3-thanks-card, .gaf3-thanks .gaf3-card { padding: 22px 18px; }
}


/* ===== Responsive ===== */
@media (max-width: 768px) {
  .gaf3-field {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .gaf3-field label { font-size: 18px; }
  .gaf3-form select { width: 100%; }
  .gaf3-contact .gaf3-field { align-items: stretch; }
  .gaf3-form input[type="text"],
  .gaf3-form input[type="email"],
  .gaf3-form textarea { width: 100%; }
}
