* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f7f7f7;
}

.container {
    display: flex;
    height: 100vh;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
}

.finance-tracker, .log-tracker {
    background-color: white;
    border-radius: 15px;
    padding: 20px;
    width: 45%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

h2 {
    text-align: center;
    color: #333;
}

form input, form select, form button {
    padding: 10px;
    margin: 5px 0;
    width: 100%;
    border-radius: 5px;
    border: 1px solid #ccc;
}

form button {
    background-color: #4CAF50;
    color: white;
    cursor: pointer;
    font-weight: bold;
}

form.button.hover {
    background-color: #9692b6f5;
}

button#clear-all {
    background-color: #f44336;
    color: white;
    cursor: pointer;
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
}

button#clear-all:hover {
    background-color: #9c5d5c96;
}

#balance {
    text-align: center;
    font-size: 1.2mm;
}

#log-enteries {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.transaction-entry {
    padding: 8px;
    border-radius: 5px;
}

.income {
    background-color: #c2eb3ce3;
    color: #155724;
}

.expense {
    background-color: #4a1212;
    color: #de7882;
}

#log-title {
    margin-bottom: 15px;
    text-align: center;
    font-size: 20px;
}