body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    padding: 20px;
    max-width: 500px;
    margin: 0 auto;
}

h1 {
    text-align: center;
    color: #333;
}

h2 {
    color: #555;
}

.form-box {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px gray;
}

input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

button:hover {
    background-color: #45a049;
}

.stats-box {
    background-color: #e8f5e9;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.stats-box p {
    font-size: 18px;
    margin: 10px 0;
}

.list-box {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px gray;
}

.item {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}

.item-text {
    flex: 1;
}

.item-desc {
    font-weight: bold;
    color: #333;
}

.item-date {
    font-size: 12px;
    color: #999;
}

.item-amount {
    font-weight: bold;
    color: #d32f2f;
    margin: 0 15px;
}

.delete-btn {
    background-color: #f44336;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
}

.delete-btn:hover {
    background-color: #da190b;
}

.empty {
    text-align: center;
    color: #999;
    padding: 20px;
}