h2.webform-data-section-label {
margin-top: 0;
border-bottom: 1px solid var(--gray-30);
padding-bottom: 18px;
}
#edit-income-group .fieldset-legend {
display: none;
}
.webform-page-label {
width: fit-content;
}
.screener-question-display-none {
display: none !important;
}
/* Card-style wrapper for each Webform wizard page */
#edit-parent-details,
#edit-children-page,
#edit-adults-page {
  padding: 2em;
  border-radius: 16px;
  background: var(--gray-05);
  box-shadow: 0px 8px 24px -6px rgba(32, 41, 79, 0.25);
}

/* Add spacing between questions—but skip the first question on each page */
#edit-parent-details > *:not(:first-child),
#edit-children-page > *:not(:first-child),
#edit-adults-page > *:not(:first-child) {
  margin-top: 2em;
}

/* Push the form action buttons away from the last question */
#webform-submission-child-care-eligibility-screener-add-form #edit-actions {
  margin-top: 2em;
}

/* Remove margin-top for label if it's inside an element with data-page-label */
[data-page-label] > label {
  margin-top: 0 !important;
}
.error {
  color: red;
}
.household span.webform-page-label {
background-color: #E1F0EF;
color: #13403D;
font-weight: bold;
}
.adult span.webform-page-label {
background-color: #F2EBFA;
color: #663399;
font-weight: bold;
}
.children span.webform-page-label {
background-color: #F6EBF1;
color: #AC1D6A;
font-weight: bold;
}
.preview-section {
box-shadow: 0px 8px 24px -6px rgba(32, 41, 79, 0.25);
border-radius: 0.5em;
margin-top: 2em;
}
.preview-header-section {
border-bottom: 1px solid rgba(201, 200, 197, 1);
padding: 1.5em 2em;
}
.preview-body-section {
padding: 1.5em 2em;
}
.preview-header {
font-size: 20px;
font-weight: bold;
}
.preview-answer {
padding-left: 2em;
padding-top: 1em;
padding-bottom: 1em;
border-bottom: 1px solid rgba(201, 200, 197, 1);
}
.preview-body-section .preview-answer:not(:last-child) {
border-bottom: 1px solid rgba(201, 200, 197, 1);
}
.preview-body-section .preview-answer:not(:last-of-type) {
  border-bottom: 1px solid rgba(201, 200, 197, 1);
}
.preview-body-section > .preview-answer:last-of-type {
  border-bottom: none;
}
.preview-question {
font-weight: bold;
}
#webform-submission-child-care-eligibility-screener-add-form .usa-step-indicator {
background-color: transparent;
}
#webform-submission-child-care-eligibility-screener-add-form .usa-label, #webform-submission-child-care-eligibility-screener-add-form .usa-legend {
max-width: unset;
width:100%;
}

@media print {
  /* Hide header, footer, nav */
  header, footer, nav, .usa-footer, .usa-header, .skipnav, .sitewide-alert {
    display: none !important;
  }

  /* Hide print button itself */
  .print-button, button, .webform-actions, .webform-confirmation__back {
    display: none !important;
  }

  /* Remove background color */
  body {
    background: white;
    color: black;
  }

  /* Make the confirmation message full width */
  .webform-confirmation {
    width: 100%;
    font-size: 14pt;
  }

  /* Optional: adjust layout for print */
  .webform-confirmation, .page, .main-content {
    padding: 0;
    margin: 0;
  }
}
.result-summary-wrapper .result-summary {
font-size: 20px;
}
.result-summary-wrapper .more-info {
font-size: 14px;
}

.custom-nav-buttons {
    border-top: 1px solid var(--gray-30);
    padding-top: 24px;
}

.custom-nav-buttons .usa-button--outline.usa-button--disabled  {
    border-radius: 60px;
    border: 2px solid var(--primary-50);
    opacity: 0.4;
    background: var(--gray-05);
    display: flex;
    padding: 10px 32px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

button#js-custom-next-button,
button#js-custom-preview-button,
button#js-custom-preview-edit-button,
button#js-custom-submit-button{
    border-radius: 60px;
    background: var(--primary-alt-50);
    padding: 10px 32px;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.custom-nav-buttons .usa-button--outline {
    display: flex;
    padding: 10px 32px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 60px;
    border: 2px solid var(--primary-alt-50);
    background: var(--gray-05);
}