body {
font-family: Arial, sans-serif;
line-height: 1.6;
}
.header {
text-align: center;
font-size: 28px;
margin-bottom: 20px;
}
.container {
display: flex;
justify-content: space-around;
margin-top: 20px;
}
.budget, .expenses {
border: 1px solid #ccc;
border-radius: 8px;
padding: 20px;
width: 40%;
}
.expenses {
background-color: #f9f9f9;
}
.budget h3, .expenses h3 {
color: #4CAF50;
text-align: center;
margin-bottom: 20px;
}
.expenses label, .budget label {
display: block;
margin-bottom: 10px;
}
.expenses input[type="text"], .budget input[type="number"] {
width: 100%;
padding: 8px;
margin-bottom: 15px;
border: 1px solid #ccc;
border-radius: 5px;
}
.expenses #addExpenseBtn, .budget #calculateBtn {
background-color: #4CAF50;
color: #fff;
border: none;
border-radius: 5px;
padding: 10px 15px;
cursor: pointer;
font-size: 16px;
margin-bottom: 10px;
}
.expenses #expensesList {
margin-top: 10px;
border-top: 1px solid #ccc;
padding-top: 10px;
}
.expenses #expensesList p {
margin-bottom: 5px;
padding: 5px;
background-color: #f2f2f2;
border-radius: 5px;
}