
/* ============================================================
   RENT VS BUY — RESULT INTRO
   Green highlight, matching Loan Prepayment
============================================================ */

.rvb-result-intro {
    margin: 0;
    padding: 20px 22px;
    background: #f0fdfa;
    border: 1px solid #99f6e4;
    border-radius: 12px;
}

.rvb-result-intro h3 {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
}

.rvb-result-intro p {
    margin: 0;
    color: #475569;
    font-size: 14px;
    line-height: 1.7;
}

.rvb-result-intro strong {
    color: #008080;
    font-weight: 700;
}


/* ============================================================
   RENT VS BUY — RESULTS OUTER WRAPPER
============================================================ */

#rent-vs-buy-results {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}


/* ============================================================
   RENT VS BUY — MAJOR RESULT SECTIONS
   No cards. Each section is separated by a line.
============================================================ */

.rvb-chart-section,
.rvb-insights-section,
.rvb-report-section {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 20px 0 0;
    background: transparent;
    border: none;
    border-top: 1px solid #e2e8f0;
    border-radius: 0;
    box-shadow: none;
    box-sizing: border-box;
}


/* ============================================================
   SECTION HEADINGS
============================================================ */

.rvb-chart-section h3,
.rvb-insights-section h3,
.rvb-report-section h3 {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}


/* ============================================================
   SECTION INTRODUCTORY TEXT
============================================================ */

.rvb-chart-section > p,
.rvb-report-section > p {
    margin: 0 0 18px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.7;
}


/* ============================================================
   UNDERSTANDING THE COMPARISON
============================================================ */

.rvb-insights-section p {
    margin: 0 0 14px;
    color: #334155;
    font-size: 14px;
    line-height: 1.8;
}

.rvb-insights-section p:last-child {
    margin-bottom: 0;
}

.rvb-insights-section strong {
    color: #0f172a;
    font-weight: 700;
}


/* ============================================================
   INSIGHT SUBSECTIONS
   Plain text with divider only.
============================================================ */

.rvb-insight-subsection {
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.rvb-insight-subsection + .rvb-insight-subsection {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #e2e8f0;
}

.rvb-insight-subsection h4 {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: 16px;
    font-weight: 700;
}


/* ============================================================
   INSIGHT DIVIDER
============================================================ */

.rvb-insight-divider {
    border: 0;
    border-top: 1px solid #e2e8f0;
    margin: 20px 0;
}


/* ============================================================
   NET WORTH COMPARISON CHART
============================================================ */

.rvb-chart-container {
    position: relative;
    width: 100%;
    min-width: 0;
    height: 300px;
}


/* ============================================================
   REPORT BUTTONS
============================================================ */

.rvb-report-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.rvb-report-buttons button {
    min-width: 210px;
}


/* ============================================================
   DISCLAIMER
   Divider above disclaimer, no enclosing box.
============================================================ */

#rent-vs-buy-results .calculator-disclaimer {
    margin: 0;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.8;
}


/* ============================================================
   RESPONSIVE — MOBILE
============================================================ */

@media (max-width: 700px) {

    .rvb-result-intro {
        padding: 17px;
    }

    .rvb-insights-section h3,
    .rvb-chart-section h3,
    .rvb-report-section h3 {
        font-size: 17px;
    }

    .rvb-report-buttons {
        flex-direction: column;
    }

    .rvb-report-buttons button {
        width: 100%;
        min-width: 0;
    }

    .rvb-chart-container {
        height: 260px;
    }

}
