/* =========================================================
   INVESTMENT WITHDRAWAL PLANNER
   Additional styling only.
   Reuses the existing Growth Planner three-column layout.
   ========================================================= */


/* =========================================================
   CALCULATION NOTE
   Small explanatory note inside the Advanced Settings column.
   ========================================================= */

.planner-field-note {

    margin-top: 24px;

    padding: 14px 16px;

    background: var(--color-background-light, #f8f9fa);

    border-left: 3px solid var(--color-primary);

    border-radius: 6px;

}


.planner-field-note strong {

    display: block;

    margin-bottom: 6px;

    color: var(--color-primary);

    font-size: var(--font-size-sm);

}


.planner-field-note p {

    margin: 0;

    color: var(--color-text-secondary);

    font-size: var(--font-size-sm);

    line-height: 1.5;

}


.planner-field-note p + p {

    margin-top: 8px;

}


/* =========================================================
   RESULT HIGHLIGHT
   Makes the sustainable withdrawal the dominant result.
   Example:
   Estimated sustainable monthly withdrawal
   ₹52,400
   ========================================================= */

.result-highlight {

    margin: 16px 0;

    font-size: 2rem;

    font-weight: 700;

    color: var(--color-primary);

}


.result-highlight span {

    margin-left: 6px;

    font-size: 1rem;

    font-weight: 500;

    color: var(--color-text-secondary);

}


/* =========================================================
   RESULT SUMMARY GRID
   Supporting metrics displayed below the main result.
   ========================================================= */

.result-summary-grid {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 16px;

    margin-top: 20px;

}


.result-summary-item {

    padding: 14px 16px;

    border: 1px solid var(--color-border-light);

    border-radius: 6px;

}


.result-label {

    display: block;

    margin-bottom: 6px;

    color: var(--color-text-secondary);

    font-size: var(--font-size-sm);

}


.result-summary-item strong {

    color: var(--color-text-primary);

}


/* =========================================================
   RESULT DISCLAIMER
   Keeps the estimate/assumption warning visually secondary.
   ========================================================= */

.result-disclaimer {

    margin-top: 20px;

    color: var(--color-text-secondary);

    font-size: var(--font-size-sm);

    line-height: 1.5;

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .result-summary-grid {

        grid-template-columns: 1fr;

    }


    .result-highlight {

        font-size: 1.6rem;

    }

}

/* =========================================================
   MONTHLY WITHDRAWAL SCHEDULE
   ========================================================= */

/*
 * Provides a small action card between the calculation
 * results and the supporting planner information.
 *
 * The actual schedule is intentionally opened in the
 * shared Report Viewer rather than rendered directly here.
 */

.planner-schedule-section {
    margin-top: 16px;
    padding: 20px 24px;
}

.planner-schedule-section h2 {
    margin: 0 0 8px;
    font-size: 1.15rem;
    line-height: 1.4;
}

.planner-schedule-section p {
    margin: 0 0 16px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

@media (max-width: 768px) {

    .planner-schedule-section {
        padding: 16px 18px;
    }

    .planner-schedule-section h2 {
        font-size: 1.05rem;
    }

}

