/* Reset some default styles 
body, h1, h2, h3, p, ul, li, table {
    margin: 0;
    padding: 0;
    list-style: none;
}
*/
/* Set up basic styles 
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background-color: #007BFF;
    color: white;
    text-align: center;
    padding: 1rem 0;
}
*/
main {
    padding: 2rem;
}

/* Add unique styles for total rows */
.total-row {
    font-weight: bold;
    background-color: #f2f2f2;
    color: #333;
}

.projected-total-row {
    font-weight: bold;
    background-color: #f2f2f2;
    color: #333;
}

.budget-section {
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: #f2f2f2;
    box-shadow: 10px 10px 5px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.budget-section h2 {
    margin-bottom: 1rem;
}

.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table,
th,
td {
    border: 1px solid #ccc;
}

th,
td {
    padding: 0.5rem;
    text-align: center;
}

th {
    background-color: #f2f2f2;
    font-weight: bold;
}

/* Set fixed column widths */
.budgetTables {
    width: calc(100% / 7);
    /* Divide the width equally among 7 columns */
    padding: 8px;
    /* Adjust padding as needed */
}

.projected-table-container {
    overflow-x: auto;
}



/* Collapse section when clicked */
.budget-section .table-container {
    max-height: 0;
    /* Initially collapsed */
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}

.budget-section .table-container.expanded {
    max-height: unset;
    /* Expand to the natural height of content */
}

/* Show hand cursor on table headers */
.budget-section h2 {
    cursor: pointer;
}

table input {
    width: 100%;
    box-sizing: border-box;
    padding: 4px;
    border: none;
    border-radius: 4px;
    text-align: center;
    font-size: inherit;
}
