/**
 * CPEP Assessment page styles
 * Stage 1: Data Collection — static frontend layout
 */

/* --------------------------------------------------------------------------
   Page shell
   -------------------------------------------------------------------------- */

.page-assessment {
    background: var(--cpep-surface-muted);
}

.assessment-page__container {
    padding-top: clamp(1.5rem, 3vw, 2.5rem);
    padding-bottom: clamp(2rem, 4vw, 3rem);
}

/* --------------------------------------------------------------------------
   LEFT SIDEBAR — sticky assessment stepper
   -------------------------------------------------------------------------- */

.assessment-sidebar-col {
    position: relative;
}

.assessment-sidebar {
    position: sticky;
    top: calc(var(--cpep-header-height) + 1.25rem);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
    border: 1px solid var(--cpep-border);
    border-radius: var(--cpep-radius-lg);
    background: var(--cpep-white);
    box-shadow: var(--cpep-shadow-card);
}

.assessment-sidebar__title {
    margin: 0 0 0.25rem;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--cpep-blue);
}

.assessment-sidebar__step-label {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--cpep-text-subtle);
}

/* Progress line indicator */

.assessment-progress {
    position: relative;
    padding: 0.25rem 0 0.5rem;
}

.assessment-progress__track {
    display: flex;
    gap: 0;
    position: absolute;
    top: 50%;
    left: 12%;
    right: 12%;
    transform: translateY(-50%);
    z-index: 0;
}

.assessment-progress__line {
    flex: 1;
    height: 2px;
    background: var(--cpep-border);
}

.assessment-progress__line--active,
.assessment-progress__line--complete {
    background: var(--cpep-green);
}

.assessment-progress__steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 0;
}

.assessment-progress__dot {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border: 2px solid var(--cpep-border);
    border-radius: 50%;
    background: var(--cpep-white);
    color: transparent;
    font-size: 0.875rem;
}

.assessment-progress__step--complete .assessment-progress__dot {
    border-color: var(--cpep-green);
    background: var(--cpep-green);
    color: var(--cpep-white);
}

.assessment-progress__step--complete .assessment-progress__dot .bi-check {
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1;
}

.assessment-progress__step--active:not(.assessment-progress__step--complete) .assessment-progress__dot {
    border-color: var(--cpep-green);
    background: var(--cpep-white);
    box-shadow: 0 0 0 3px rgba(34, 139, 87, 0.15);
}

/* Assessment stage navigation */

.assessment-stages__list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0;
}

.assessment-stages__item {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 0.875rem 1rem;
    border-radius: 0.75rem;
    transition: background-color 0.15s ease;
}

.assessment-stages__item--active {
    background: var(--cpep-surface-accent);
}

.assessment-stages__number {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1;
    color: var(--cpep-text-subtle);
    background: var(--cpep-surface-muted);
}

.assessment-stages__item--active .assessment-stages__number {
    color: var(--cpep-white);
    background: var(--cpep-green);
}

.assessment-stages__item--complete .assessment-stages__number {
    color: var(--cpep-white);
    background: var(--cpep-green);
}

.assessment-stages__item--complete .assessment-stages__number .bi-check {
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1;
}

.assessment-stages__item--complete .assessment-stages__name {
    color: var(--cpep-green-dark);
}

.assessment-stages__item--complete:not(.assessment-stages__item--active) {
    opacity: 0.85;
}

.assessment-stages__content {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}

.assessment-stages__name {
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--cpep-blue);
}

.assessment-stages__item--active .assessment-stages__name {
    color: var(--cpep-green-dark);
}

.assessment-stages__desc {
    font-size: 0.8125rem;
    line-height: 1.4;
    color: var(--cpep-text-subtle);
}

/* Confidential information card */

.assessment-confidential {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 0.25rem;
    padding: 1rem;
    border-radius: 0.75rem;
    background: #eef4fb;
}

.assessment-confidential__icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    font-size: 1rem;
    color: var(--cpep-green);
    background: var(--cpep-surface-accent);
}

.assessment-confidential__title {
    margin: 0 0 0.25rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--cpep-green-dark);
}

.assessment-confidential__text {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--cpep-nav-text-muted);
}

/* --------------------------------------------------------------------------
   RIGHT CONTENT — main form card
   -------------------------------------------------------------------------- */

.assessment-content-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.assessment-card,
.assessment-preview-card {
    border: 1px solid var(--cpep-border);
    border-radius: var(--cpep-radius-lg);
    background: var(--cpep-white);
    box-shadow: var(--cpep-shadow-card);
}

.assessment-card {
    padding: clamp(1.25rem, 3vw, 2rem);
}

.assessment-card__title {
    margin: 0 0 0.375rem;
    font-size: clamp(1.375rem, 2.5vw, 1.625rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--cpep-green);
}

.assessment-card__subtitle {
    margin: 0 0 1.75rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--cpep-nav-text-muted);
}

/* Form sections */

.assessment-section {
    padding-bottom: 1.75rem;
    margin-bottom: 1.75rem;
    border-bottom: 1px solid var(--cpep-border);
}

.assessment-section:last-of-type {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}

.assessment-section__heading {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.assessment-section__icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    font-size: 1rem;
    color: var(--cpep-white);
    background: var(--cpep-green);
}

.assessment-section__title {
    margin: 0;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--cpep-blue);
}

/* Form controls */

.assessment-label {
    display: block;
    margin-bottom: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.45;
    color: var(--cpep-blue);
}

.assessment-input {
    padding: 0.625rem 0.875rem;
    border: 1px solid var(--cpep-border);
    border-radius: 0.625rem;
    font-size: 0.9375rem;
    color: var(--cpep-blue);
    background: var(--cpep-white);
}

.assessment-input::placeholder {
    color: var(--cpep-text-subtle);
}

.assessment-input:focus {
    border-color: var(--cpep-primary);
    box-shadow: var(--cpep-focus-ring);
}

.assessment-fieldset {
    margin: 0;
    padding: 0;
    border: 0;
    min-width: 0;
}

.assessment-legend {
    margin-bottom: 0.875rem;
    padding: 0;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.45;
    color: var(--cpep-blue);
}

.assessment-checklist {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.assessment-check,
.assessment-radio {
    margin: 0;
    padding-left: 1.75rem;
    min-height: 1.375rem;
}

.assessment-check .form-check-input,
.assessment-radio .form-check-input {
    width: 1.0625rem;
    height: 1.0625rem;
    margin-top: 0.2rem;
    margin-left: -1.75rem;
    border-color: #cbd5e1;
    cursor: pointer;
}

.assessment-check .form-check-input:checked,
.assessment-radio .form-check-input:checked {
    background-color: var(--cpep-green);
    border-color: var(--cpep-green);
}

.assessment-check .form-check-label,
.assessment-radio .form-check-label {
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.45;
    color: var(--cpep-nav-text);
    cursor: pointer;
}

.assessment-check--inline {
    display: grid;
    grid-template-columns: 1.0625rem 1fr;
    grid-template-rows: auto auto;
    column-gap: 0.6875rem;
    row-gap: 0.5rem;
    padding-left: 0;
    align-items: start;
}

.assessment-check--inline .form-check-input {
    grid-column: 1;
    grid-row: 1;
    margin-top: 0.2rem;
    margin-left: 0;
    position: static;
}

.assessment-check--inline .form-check-label {
    grid-column: 2;
    grid-row: 1;
    padding-left: 0;
}

.assessment-check--inline .assessment-input--inline {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    max-width: 28rem;
    margin: 0;
}

.assessment-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
}

.assessment-input-with-suffix {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.assessment-input--short {
    width: 28.75rem;
    max-width: 100%;
}

.assessment-input-suffix {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--cpep-nav-text-muted);
}

.assessment-select {
    cursor: pointer;
}

.assessment-help-text {
    margin: -0.375rem 0 0.75rem;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--cpep-nav-text-muted);
}

.assessment-required {
    margin-left: 0.125rem;
    color: #dc3545;
    white-space: nowrap;
}

.assessment-section__description {
    margin: -0.5rem 0 1.25rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--cpep-nav-text-muted);
}

.assessment-question__heading {
    margin-bottom: 0.75rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--cpep-blue);
}

.assessment-question__paragraph {
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--cpep-nav-text);
}

.assessment-question--hidden {
    display: none !important;
}

.assessment-question--error .assessment-input,
.assessment-question--error .assessment-select,
.assessment-question--error .assessment-fieldset {
    outline: 2px solid #dc3545;
    outline-offset: 2px;
    border-radius: 0.625rem;
}

.assessment-alert {
    margin-bottom: 1.25rem;
    border-radius: 0.625rem;
    font-size: 0.9375rem;
}

/* Continue button */

.assessment-form__actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 1.75rem;
    margin-top: 1.75rem;
    border-top: 1px solid var(--cpep-border);
}

.assessment-btn-continue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.625rem;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--cpep-white);
    background: var(--cpep-primary);
    transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.assessment-btn-continue:hover,
.assessment-btn-continue:focus-visible {
    color: var(--cpep-white);
    background: var(--cpep-primary-hover);
    box-shadow: 0 4px 14px rgba(26, 111, 212, 0.25);
}

.assessment-btn-continue .bi {
    font-size: 1.125rem;
}

/* --------------------------------------------------------------------------
   STAGE 2 PREVIEW — BMI information card
   -------------------------------------------------------------------------- */

.assessment-preview-card {
    padding: clamp(1.25rem, 3vw, 2rem);
}

.assessment-preview-card__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
}

.assessment-preview-card__image {
    display: block;
    width: 100%;
    max-width: 220px;
    height: auto;
    margin: 0 auto;
}

.assessment-preview-card__title {
    margin: 0 0 0.375rem;
    font-size: clamp(1.25rem, 2.2vw, 1.5rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--cpep-green);
}

.assessment-preview-card__subtitle {
    margin: 0 0 1rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--cpep-blue);
}

.assessment-preview-card__list {
    margin: 0 0 1rem;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--cpep-nav-text-muted);
}

.assessment-preview-card__list li + li {
    margin-top: 0.25rem;
}

.assessment-formula-box {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    border-radius: 0.75rem;
    background: var(--cpep-surface-accent);
}

.assessment-formula-box__label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--cpep-green-dark);
}

.assessment-formula-box__fraction {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--cpep-green-dark);
    text-align: center;
}

.assessment-formula-box__numerator {
    padding-bottom: 0.25rem;
    border-bottom: 2px solid var(--cpep-green);
}

.assessment-formula-box__denominator {
    padding-top: 0.25rem;
}

.assessment-formula-box__denominator sup {
    font-size: 0.7em;
}

/* --------------------------------------------------------------------------
   Responsive adjustments
   -------------------------------------------------------------------------- */

@media (max-width: 991.98px) {
    .assessment-sidebar {
        position: static;
    }

    .assessment-form__actions {
        justify-content: stretch;
    }

    .assessment-btn-continue {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .assessment-sidebar {
        padding: 1.25rem;
    }

    .assessment-check--inline .assessment-input--inline {
        max-width: 100%;
    }
}

/* --------------------------------------------------------------------------
   STAGE 3 — Program plan selection
   -------------------------------------------------------------------------- */

.plan-selection-card {
    padding-bottom: clamp(1.25rem, 3vw, 1.75rem);
}

.plan-selection-table__header {
    display: none;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr);
    gap: 1rem;
    padding: 0 1.25rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--cpep-text-subtle);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.plan-selection-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.plan-card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 0;
    padding: 1.25rem;
    border: 2px solid var(--cpep-border);
    border-radius: 1rem;
    background: var(--cpep-white);
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.plan-card:hover {
    border-color: #b8d4c8;
    box-shadow: 0 4px 18px rgba(11, 94, 74, 0.08);
}

.plan-card--selected {
    border-color: var(--cpep-green);
    box-shadow: 0 0 0 3px rgba(34, 139, 87, 0.12);
}

.plan-card__badge {
    position: absolute;
    top: 0.875rem;
    right: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.625rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--cpep-green-dark);
    background: var(--cpep-surface-accent);
}

.plan-card__badge .bi {
    font-size: 0.875rem;
}

.plan-card__col {
    min-width: 0;
}

.plan-card__col--option {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding-right: 5.5rem;
}

.plan-card__icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    font-size: 1.125rem;
    color: var(--cpep-green);
    background: var(--cpep-surface-accent);
}

.plan-card__option-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.plan-card__option-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--cpep-text-subtle);
}

.plan-card__product-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--cpep-primary);
}

.plan-card__name {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--cpep-blue);
}

.plan-card__col--duration {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--cpep-nav-text);
}

.plan-card__duration-icon {
    color: var(--cpep-green);
}

.plan-card__timeline {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin: 0;
    padding-left: 0.25rem;
}

.plan-card__timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    position: relative;
    font-size: 0.875rem;
    line-height: 1.45;
    color: var(--cpep-nav-text-muted);
}

.plan-card__timeline-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 0.3125rem;
    top: 1rem;
    bottom: -0.625rem;
    width: 2px;
    background: #c5e3d6;
}

.plan-card__timeline-dot {
    flex-shrink: 0;
    width: 0.75rem;
    height: 0.75rem;
    margin-top: 0.3rem;
    border-radius: 50%;
    background: var(--cpep-green);
}

.plan-card__timeline-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.plan-card__timeline-month {
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--cpep-blue);
}

.plan-card__timeline-dosage {
    font-size: 0.875rem;
    line-height: 1.4;
    color: var(--cpep-nav-text-muted);
}

.plan-card__col--price {
    display: flex;
    align-items: center;
}

.plan-card__price {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-weight: 700;
    line-height: 1;
    color: var(--cpep-blue);
}

.plan-selection-info {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding: 1rem 1.125rem;
    border-radius: 0.75rem;
    background: var(--cpep-surface-accent);
}

.plan-selection-info__icon {
    flex-shrink: 0;
    margin-top: 0.125rem;
    font-size: 1.125rem;
    color: var(--cpep-green);
}

.plan-selection-info__text {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--cpep-nav-text-muted);
}

.plan-selection-actions {
    justify-content: space-between;
    gap: 1rem;
}

.plan-selection-btn-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border: 1.5px solid var(--cpep-primary);
    border-radius: 0.625rem;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--cpep-primary);
    background: var(--cpep-white);
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.plan-selection-btn-back:hover,
.plan-selection-btn-back:focus-visible {
    color: var(--cpep-white);
    background: var(--cpep-primary);
}

.plan-selection-empty {
    text-align: center;
    padding: 2rem 0;
    color: var(--cpep-nav-text-muted);
}

.plan-selection-empty p {
    margin-bottom: 1.5rem;
}

/* Review page */

.review-summary {
    padding-bottom: 0.5rem;
}

.review-summary__heading {
    margin: 0 0 1rem;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--cpep-blue);
}

.review-summary__subheading {
    margin: 1.25rem 0 0.75rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--cpep-blue);
}

.review-summary__list {
    display: grid;
    gap: 0.75rem;
    margin: 0;
}

.review-summary__row {
    display: grid;
    grid-template-columns: minmax(0, 10rem) 1fr;
    gap: 0.75rem 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--cpep-border);
}

.review-summary__row:last-child {
    border-bottom: none;
}

.review-summary__row dt {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--cpep-text-subtle);
}

.review-summary__row dd {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--cpep-blue);
}

.review-summary__dosages {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0;
    font-size: 0.9375rem;
    color: var(--cpep-nav-text-muted);
}

.review-summary__meta {
    margin: 1.25rem 0 0;
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .plan-selection-table__header {
        display: grid;
    }

    .plan-card {
        grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr);
        align-items: center;
        padding: 1.25rem 1.25rem 1.25rem 1rem;
    }

    .plan-card__col--option {
        padding-right: 0;
    }

    .plan-card__col--duration {
        justify-content: center;
        text-align: center;
    }

    .plan-card__col--price {
        justify-content: flex-end;
    }

    .plan-card--selected {
        min-height: 8.5rem;
    }
}

@media (max-width: 991.98px) {
    .plan-selection-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .plan-selection-btn-back,
    .plan-selection-actions .assessment-btn-continue {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .plan-card__col--option {
        padding-right: 0;
        padding-top: 1.75rem;
    }

    .plan-card__badge {
        top: 0.75rem;
        right: 0.75rem;
    }

    .review-summary__row {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }
}

/* --------------------------------------------------------------------------
   NOT ELIGIBLE — eligibility result page
   -------------------------------------------------------------------------- */

.page-not-eligible {
    background: var(--cpep-surface-muted);
}

.eligibility-sidebar .assessment-progress {
    display: none;
}

.eligibility-stages__list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0;
}

.eligibility-stages__item {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 0.875rem 1rem;
    border-radius: 0.75rem;
}

.eligibility-stages__item--complete .eligibility-stages__name {
    color: var(--cpep-green-dark);
}

.eligibility-stages__item--result {
    background: #fdf0f0;
}

.eligibility-stages__item--review {
    background: #fff8eb;
}

.eligibility-stages__marker {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1;
    color: var(--cpep-white);
    background: var(--cpep-green);
}

.eligibility-stages__marker--result {
    color: var(--cpep-white);
    background: #dc3545;
}

.eligibility-stages__item--review .eligibility-stages__marker--result {
    background: #d97706;
}

.eligibility-stages__content {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}

.eligibility-stages__name {
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--cpep-blue);
}

.eligibility-stages__item--result .eligibility-stages__name {
    color: #c82333;
}

.eligibility-stages__item--review .eligibility-stages__name {
    color: #b45309;
}

.eligibility-stages__status {
    font-size: 0.8125rem;
    line-height: 1.4;
    color: var(--cpep-green);
    font-weight: 500;
}

.not-eligible-card {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid var(--cpep-border);
    border-radius: var(--cpep-radius-lg);
    background: var(--cpep-white);
    box-shadow: var(--cpep-shadow-card);
}

.not-eligible-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    align-items: center;
}

.not-eligible-hero__status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 1rem;
    border-radius: 50%;
    font-size: 1.25rem;
    color: var(--cpep-white);
    background: #dc3545;
}

.not-eligible-hero__title {
    margin: 0 0 0.875rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--cpep-blue);
}

.not-eligible-hero__highlight {
    color: #dc3545;
}

.not-eligible-hero__highlight--review {
    color: #d97706;
}

.not-eligible-hero__lead {
    margin: 0;
    max-width: 38rem;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--cpep-nav-text-muted);
}

.not-eligible-hero__visual {
    display: flex;
    justify-content: center;
}

.not-eligible-hero__image {
    width: min(100%, 22.5rem);
    height: auto;
}

.not-eligible-reasons {
    padding: 1.25rem 1.5rem;
    border-radius: 0.875rem;
    background: #fdf2f2;
}

.not-eligible-reasons__title {
    margin: 0 0 1rem;
    font-size: 1rem;
    font-weight: 700;
    color: #c82333;
}

.not-eligible-reasons__list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 0;
}

.not-eligible-reasons__item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--cpep-nav-text-muted);
}

.not-eligible-reasons__icon {
    flex-shrink: 0;
    margin-top: 0.125rem;
    font-size: 0.875rem;
    color: #dc3545;
}

.not-eligible-options {
    padding: 1.5rem;
    border: 1px solid var(--cpep-border);
    border-radius: 0.875rem;
    background: var(--cpep-white);
}

.not-eligible-options__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
}

.not-eligible-options__icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    font-size: 1.125rem;
    color: var(--cpep-green);
    background: var(--cpep-surface-accent);
}

.not-eligible-options__title {
    margin: 0;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--cpep-green-dark);
}

.not-eligible-options__intro {
    margin: 0 0 1rem;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--cpep-nav-text-muted);
}

.not-eligible-options__benefits {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin: 0 0 1.25rem;
}

.not-eligible-options__benefit {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.9375rem;
    line-height: 1.45;
    color: var(--cpep-blue);
}

.not-eligible-options__benefit .bi {
    flex-shrink: 0;
    margin-top: 0.125rem;
    font-size: 1rem;
    color: var(--cpep-green);
}

.not-eligible-options__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.not-eligible-btn-lifestyle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border: none;
    border-radius: 999px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--cpep-white);
    background: var(--cpep-green-dark);
    text-decoration: none;
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.not-eligible-btn-lifestyle:hover,
.not-eligible-btn-lifestyle:focus-visible {
    color: var(--cpep-white);
    background: #094a3c;
}

.not-eligible-review {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem 1rem;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--cpep-border);
    border-radius: 0.875rem;
    background: var(--cpep-white);
}

.not-eligible-review__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    font-size: 1.25rem;
    color: var(--cpep-green);
    background: var(--cpep-surface-accent);
}

.not-eligible-review__title {
    margin: 0 0 0.25rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--cpep-blue);
}

.not-eligible-review__text {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--cpep-nav-text-muted);
}

.not-eligible-btn-review {
    grid-column: 1 / -1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: fit-content;
    padding: 0.625rem 1.125rem;
    border: 1.5px solid var(--cpep-primary);
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--cpep-primary);
    background: transparent;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.not-eligible-btn-review:hover,
.not-eligible-btn-review:focus-visible {
    color: var(--cpep-white);
    background: var(--cpep-primary);
}

.not-eligible-safety {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-radius: 0.875rem;
    background: #eef4fb;
}

.not-eligible-safety__title {
    margin: 0 0 0.375rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--cpep-blue);
}

.not-eligible-safety__text {
    margin: 0;
    max-width: 36rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--cpep-nav-text-muted);
}

.not-eligible-safety__icon {
    flex-shrink: 0;
    font-size: 2rem;
    color: rgba(26, 111, 212, 0.2);
}

.not-eligible-actions {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--cpep-border);
}

.not-eligible-cta {
    margin-top: 0.5rem;
    padding-bottom: clamp(2rem, 4vw, 3rem);
}

.not-eligible-cta .cta-banner__title {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

@media (min-width: 992px) {
    .not-eligible-hero {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    }

    .not-eligible-hero__visual {
        justify-content: flex-end;
    }

    .not-eligible-review {
        grid-template-columns: auto 1fr auto;
    }

    .not-eligible-btn-review {
        grid-column: auto;
        justify-self: end;
    }
}

@media (max-width: 575.98px) {
    .not-eligible-review,
    .not-eligible-safety {
        flex-direction: column;
        align-items: flex-start;
    }

    .not-eligible-btn-review {
        width: 100%;
    }

    .not-eligible-safety__icon {
        display: none;
    }
}
