/* balanceSheet.css */

.balance-sheet-report-wrapper {
    font-family: var(--font-serif-report); /* Defined in dashboardStyles.css or root */
    font-size: 11pt;
    line-height: 1.4;
    color: #000;
    padding: 20px;
    border: 1px solid #ccc;
    background-color: #fff;
    max-width: 1200px; /* Maximum width for readability */
    margin: 0 auto; /* Center the content */
}

.balance-sheet-report-wrapper .report-title {
    font-size: 16pt;
    font-weight: bold;
    text-align: center;
    margin-bottom: 5px;
}

.balance-sheet-report-wrapper .report-subtitle {
    font-size: 10pt;
    text-align: center;
    margin-bottom: 25px;
    font-style: italic;
}

.balance-sheet-report-wrapper .bs-table {
    width: 100%;
    border-collapse: collapse;
}

.balance-sheet-report-wrapper .bs-table td {
    padding: 3px 2px; /* Tighter padding */
    border: none; /* No internal cell borders */
    vertical-align: top;
}

.balance-sheet-report-wrapper .bs-table td.description-column {
    width: 65%;
}
.balance-sheet-report-wrapper .bs-table td.label-column { /* For right-aligned total labels */
    width: 20%;
    text-align: right;
    font-weight: normal; /* Sub-total labels not necessarily bold */
    padding-right: 10px;
    white-space: nowrap;
}
.balance-sheet-report-wrapper .bs-table td.amount-column {
    width: 15%;
    text-align: right;
    padding-right: 10px;
}

.balance-sheet-report-wrapper .bs-main-heading { /* For ASSETS, LIABILITIES, EQUITY */
    font-weight: bold;
    font-size: 12pt; /* Slightly larger */
    padding-top: 15px;
    padding-bottom: 5px;
    text-transform: uppercase;
    border-bottom: 1.5px solid #000;
    margin-bottom: 5px;
}
.balance-sheet-report-wrapper .bs-section-heading { /* For Current Assets, Non-Current Assets etc. */
    font-weight: bold;
    font-size: 11pt;
    padding-top: 10px;
    padding-bottom: 3px;
    padding-left: 10px; /* Indent section headings */
}

.balance-sheet-report-wrapper .bs-account-item {
    padding-left: 25px !important; /* Indentation for individual accounts */
}

.balance-sheet-report-wrapper .bs-subtotal-line td.amount-column { /* For Total Current Assets etc. */
    font-weight: normal; /* Amounts for sub-totals not necessarily bold */
    border-top: 1px solid #000; /* Single line above sub-total amount */
    padding-top: 2px;
}
.balance-sheet-report-wrapper .bs-subtotal-line td.label-column {
    font-weight: bold; /* Make the "Total..." label bold */
}


.balance-sheet-report-wrapper .bs-total-line td.amount-column { /* For Total Liabilities, Total Equity */
    font-weight: bold;
    border-top: 1px solid #000;
    padding-top: 2px;
}
.balance-sheet-report-wrapper .bs-total-line td.label-column {
    font-weight: bold;
}


.balance-sheet-report-wrapper .bs-major-total-line td { /* For TOTAL ASSETS, TOTAL LIABILITIES & EQUITY */
    font-weight: bold;
    font-size: 11.5pt;
    border-top: 1.5px solid #000;
    border-bottom: 2.5px double #000; /* Double line */
    padding-top: 5px;
    padding-bottom: 5px;
}
.balance-sheet-report-wrapper .whitespace-row-bs td {
    padding-top: 10px; /* Create vertical space */
}