body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    margin-bottom: 20px;
}

#login-section {
    text-align: center;
    margin-bottom: 20px;
}

#login-section input {
    width: 70%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

#login-section button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#login-section button:hover {
    background-color: #0056b3;
}

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

.summary h3 {
    margin: 10px 0;
}

.summary button {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.summary button:hover {
    background-color: #c82333;
}

.input-section,
.filter-section {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.input-section input,
.input-section select,
.filter-section input,
.filter-section select {
    width: calc(50% - 10px);
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    margin-bottom: 10px;
}

#date,
#filter-start-date,
#filter-end-date {
    width: calc(50% - 10px);
}

.input-section button,
.filter-section button {
    width: calc(50% - 10px);
    padding: 10px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 10px;
}

.input-section button:hover,
.filter-section button:hover {
    background-color: #218838;
}

.transactions h2 {
    text-align: center;
    margin-bottom: 10px;
}

#transaction-list {
    list-style-type: none;
    padding: 0;
}

#transaction-list li {
    background-color: #f8f9fa;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    border: 1px solid #ccc;
    flex-wrap: wrap;
}

.transaction-actions {
    display: flex;
    gap: 10px;
}

.transaction-actions button {
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    padding: 5px;
}

.transaction-actions button.edit {
    background-color: #007bff;
}

.transaction-actions button:hover {
    opacity: 0.8;
}

.charts {
    margin-top: 40px;
}

@media (max-width: 768px) {
    .input-section input,
    .input-section select,
    .input-section button,
    .filter-section input,
    .filter-section select,
    .filter-section button {
        width: 100%;
    }

    #transaction-list li {
        flex-direction: column;
    }

    .transaction-actions {
        justify-content: flex-start;
    }
}
