/* Quick/self-contained styling for the Check my eligibility form. */
/* Hardcoded to match Figma; not tied to theme tokens - revisit if this form graduates to full theme support. */

/* Every visible question is mandatory by construction (progressive
   reveal only shows the next question once the previous one is
   answered), so the "(required)" title indicator is redundant noise. */
.ct-label__required {
  display: none;
}

/* Darken the radio button outline */
.webform-submission-check-my-eligibility-add-form {
  --ct-radio-light-border-color: #5C5D5E;
}

/* Intro heading/paragraph typography (match Figma) */
.ipsc-intro__title {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.25;
  color: #2A312D;
  margin: 0 0 16px;
}
.ipsc-intro__body {
  font-size: 1.4rem;
  line-height: 1.6;
  opacity: 0.93;
  color: #2A312D;
  margin: 0;
}

/* Question titles (match Figma "Heading 3": 32px/40px bold) */
.ct-field--radio .ct-field__title {
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
}

/* Divider line between the two questions */
.js-form-item-willing-question {
  border-top: 1px solid #DDDDDD;
  padding-top: 24px;
  margin-top: 24px;
}

/* Ineligible responses - plain heading/subheading combo, no dark area.
   Reused from the Make a complaint webform's response cards. */
.ipsc-response-card {
  background: #FFFFFF;
  border-left: 3px solid #DBE123;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}
.ipsc-response-card__header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
p.ipsc-response-card__title {
  font-size: 25px;
  line-height: 31px;
  font-weight: 700;
  color: #2A312D;
  margin: 0;
}
.ipsc-response-card__subtitle {
  font-size: 20px;
  line-height: 34px;
  opacity: 0.93;
  color: #2A312D;
  margin: 0;
}

/* Eligible response - the final step of the form: dark area with a CTA
   button through to the complaint process page. */
.ipsc-eligible-card {
  background: #2A312D;
  padding: 32px;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
p.ipsc-eligible-card__title {
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
}
p.ipsc-eligible-card__desc {
  font-size: 16px;
  line-height: 28px;
  opacity: 0.93;
  color: #FFFFFF;
  margin: 0;
}
.ipsc-eligible-card__button {
  margin-top: 16px;
}
