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

.app-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    text-align: center;
    margin-bottom: 30px;
}

.main-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.expense-form, .categories-section, .expenses-section {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

form label {
    font-weight: bold;
}

form input, form select {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

form button {
    padding: 10px;
    font-size: 16px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

form button:hover {
    background-color: #218838;
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.category {
    background-color: #e9ecef;
    padding: 10px 15px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category .btn-edit, .category .btn-delete {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: #007bff;
}

.category .btn-delete {
    color: #dc3545;
}

.expenses-section ul {
    list-style: none;
    padding: 0;
}

.expenses-section li {
    background: #f8f9fa;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.expenses-section li .expense-details {
    flex: 1;
}

.expenses-section li .btn-group {
    display: flex;
    gap: 5px;
}

.expenses-section li .btn-group button {
    padding: 6px 10px;
    font-size: 14px;
    background: none;
    border: none;
    cursor: pointer;
}
