/* ============================================================================
   Check Your Eligibility Page Styles (`/check-your-eligibility`)
   ============================================================================ */

.eligibility-page-wrapper {
    background-color: #f8fafc;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #1e293b;
    padding-bottom: 0;
}

.eligibility-hero {
    background: linear-gradient(135deg, #064e3b 0%, #047857 50%, #059669 100%);
    color: #ffffff;
    padding: 50px 20px 70px 20px;
    text-align: center;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
}

.eligibility-hero h1 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #ffffff;
}

.eligibility-hero p {
    font-size: 1.1rem;
    opacity: 0.92;
    max-width: 640px;
    margin: 0 auto 20px auto;
}

.hero-trust-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.btn-hero-cta {
    background-color: #10b981;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 14px 32px;
    border-radius: 50px;
    border: none;
    box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.4);
    transition: all 0.25s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-hero-cta:hover {
    background-color: #059669;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -5px rgba(16, 185, 129, 0.5);
}

.wizard-container {
    max-width: 720px;
    margin: -40px auto 40px auto;
    padding: 0 15px;
}

.wizard-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.08), 0 0 1px 1px rgba(0,0,0,0.02);
    padding: 36px 32px;
    position: relative;
}

@media (max-width: 576px) {
    .wizard-card {
        padding: 24px 18px;
    }
    .eligibility-hero h1 {
        font-size: 1.75rem;
    }
}

.progress-header {
    margin-bottom: 24px;
}

.progress-label-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    color: #047857;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.progress-track {
    height: 8px;
    background-color: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #059669);
    width: 20%;
    transition: width 0.4s ease;
    border-radius: 10px;
}

.encouragement-tag {
    font-size: 0.825rem;
    color: #64748b;
    font-weight: 600;
    margin-top: 6px;
    text-align: right;
}

.wizard-step {
    display: none;
}

.wizard-step.active {
    display: block;
    animation: fadeInStep 0.35s ease;
}

@keyframes fadeInStep {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.step-subtitle {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 24px;
    line-height: 1.5;
}

.option-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

@media (max-width: 576px) {
    .option-card-grid {
        grid-template-columns: 1fr;
    }
}

.option-card {
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px 20px;
    background-color: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 1rem;
    color: #334155;
    user-select: none;
}

.option-card:hover {
    border-color: #10b981;
    background-color: #f0fdf4;
}

.option-card.selected {
    border-color: #059669;
    background-color: #ecfdf5;
    color: #047857;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.15);
}

.card-checkbox {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.option-card.selected .card-checkbox {
    background-color: #059669;
    border-color: #059669;
    color: #ffffff;
}

.wizard-nav-btns {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.btn-nav-prev {
    background: transparent;
    border: 1px solid #cbd5e1;
    color: #475569;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-nav-prev:hover {
    background-color: #f1f5f9;
    color: #1e293b;
}

.btn-nav-next {
    background-color: #059669;
    color: #ffffff;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
}

.btn-nav-next:hover {
    background-color: #047857;
}

.btn-nav-next:disabled {
    background-color: #94a3b8;
    cursor: not-allowed;
    box-shadow: none;
}

.unsupported-alert-card {
    background-color: #fef2f2;
    border: 1.5px solid #fecaca;
    border-radius: 14px;
    padding: 24px;
    text-align: center;
    margin-top: 16px;
}

.unsupported-alert-card h4 {
    color: #dc2626;
    font-weight: 700;
    margin-bottom: 8px;
}

.unsupported-alert-card p {
    color: #7f1d1d;
    font-size: 0.95rem;
    margin-bottom: 16px;
}

/* Result Screen Styles */
.result-eligible-box {
    text-align: center;
}

.eligibility-hero {
    background: linear-gradient(135deg, #064e3b 0%, #047857 50%, #059669 100%);
    color: #ffffff;
    padding: 32px 20px 48px 20px;
    text-align: center;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
}

.eligibility-hero h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #ffffff;
}

.eligibility-hero p {
    font-size: 1rem;
    opacity: 0.92;
    max-width: 640px;
    margin: 0 auto 16px auto;
}

.hero-trust-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.wizard-container {
    max-width: 720px;
    margin: -32px auto 30px auto;
    padding: 0 15px;
}

.wizard-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.08), 0 0 1px 1px rgba(0,0,0,0.02);
    padding: 24px 28px;
    position: relative;
}

@media (max-width: 576px) {
    .wizard-card {
        padding: 20px 16px;
    }
    .eligibility-hero h1 {
        font-size: 1.6rem;
    }
}

.result-icon-badge {
    width: 44px;
    height: 44px;
    background-color: #d1fae5;
    color: #059669;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 8px auto;
}

.result-summary-card {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 18px;
    margin: 14px 0;
    text-align: left;
}

.result-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 16px;
}

@media (max-width: 576px) {
    .result-summary-grid {
        grid-template-columns: 1fr;
    }
}

.result-summary-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #334155;
}

.result-summary-item:last-child {
    margin-bottom: 0;
}

.result-summary-item span.check-icon {
    color: #10b981;
    font-weight: bold;
}

.btn-physician-cta {
    background-color: #059669;
    color: #ffffff;
    font-weight: 800;
    font-size: 1.1rem;
    padding: 14px 32px;
    border-radius: 12px;
    border: none;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 8px 20px -4px rgba(5, 150, 105, 0.4);
    transition: all 0.25s ease;
    margin-top: 8px;
    width: 100%;
}

.btn-physician-cta:hover {
    background-color: #047857;
    color: #ffffff;
    transform: translateY(-2px);
}

/* What Happens Next Steps */
.next-steps-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

@media (max-width: 576px) {
    .next-steps-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
}

.next-step-box {
    background: #f1f5f9;
    border-radius: 10px;
    padding: 12px 10px;
    text-align: center;
}

.next-step-num {
    width: 24px;
    height: 24px;
    background: #059669;
    color: #ffffff;
    font-weight: 700;
    border-radius: 50%;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 6px auto;
}

.next-step-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #334155;
}

/* Below Fold Sections */
.trust-section-title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
    margin: 60px 0 30px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1080px;
    margin: 0 auto 50px auto;
    padding: 0 15px;
}

@media (max-width: 768px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.trust-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    transition: transform 0.2s ease;
}

.trust-card:hover {
    transform: translateY(-4px);
}

.trust-card-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.trust-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.trust-card p {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.4;
    margin: 0;
}

/* Comparison Table */
.comparison-wrapper {
    max-width: 800px;
    margin: 0 auto 60px auto;
    padding: 0 15px;
}

.comparison-table {
    width: 100%;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border-collapse: collapse;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.comparison-table th {
    background: #047857;
    color: #ffffff !important;
    padding: 16px 20px;
    font-weight: 700;
    font-size: 1rem;
    vertical-align: middle;
}

.comparison-table th.col-question {
    width: 70%;
    text-align: left;
    color: #ffffff !important;
}

.comparison-table td.col-question {
    width: 70%;
    font-weight: 600;
}

.comparison-table th.col-check {
    width: 30%;
    text-align: center;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 1rem;
}

.comparison-table td.col-check {
    width: 30%;
    text-align: center;
    font-size: 1.3rem;
    font-weight: bold;
    color: #10b981;
}

.comparison-table td {
    padding: 14px 20px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.95rem;
    color: #334155;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto 60px auto;
    padding: 0 15px;
}

.faq-accordion-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-accordion-header {
    padding: 18px 20px;
    font-weight: 700;
    font-size: 1.05rem;
    color: #0f172a;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-accordion-body {
    padding: 0 20px 18px 20px;
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.5;
    display: none;
}

.faq-accordion-item.open .faq-accordion-body {
    display: block;
}

.bottom-cta-banner {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%);
    color: #ffffff;
    border-radius: 20px;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}
