body {
    font-family: Arial, sans-serif;
    background-image: url(./budget.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.main-container {
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 80%;
    max-width: 1200px;
    height: 90vh;
}

.container {
    margin-left: 30px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 48%;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

h1 {
    text-align: center;
    font-size: 53px;
    margin-top: 0px;
    margin-bottom: 0px;
}

.budget-summary {
    margin-bottom: 20px;
    text-align: center;
}

.budget-summary h3 {
    margin: 5px 0;
}

.expense-table {
    margin-top: 20px;
    overflow: auto; /* Scrollbar for the table */
    max-height: 300px; /* Adjust the height as needed */
    width: 97%;
}

table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

table th, table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

table th {
    background-color: #3498db;
    color: #fff;
}

table tbody tr:hover {
    background-color: #f9f9f9;
}

input[type="number"], input[type="text"], select, button {
    width: calc(100% - 22px);
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

button {
    background-color: #3498db;
    color: #fff;
    border: none;
    cursor: pointer;
    
}

button:hover {
    background-color: #2980b9;
}

.charts {
    margin-top: 20px;
    text-align: center;
    overflow: auto; /* Add scrollbar */
    max-height: calc(90vh - 80px); /* Adjust height as needed, considering margins and other container heights */
}
