body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f6f8;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1000px;
    margin: 20px auto;
}

header {
    text-align: center;
    margin-bottom: 20px;
}

header h1 {
    color: #2c3e50;
}

.summary {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.card {
    flex: 1;
    background: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.form {
    background: white;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

input, select {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    min-width: 150px;
}

button {
    padding: 10px 20px;
    background: #2c3e50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background: #1a252f;
}

.transactions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.transaction {
    background: white;
    padding: 15px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.transaction.income {
    border-left: 5px solid green;
}

.transaction.expense {
    border-left: 5px solid red;
}

/* ✅ SMALLER PROFESSIONAL CHART */
.chart-container {
    width: 320px;
    height: 220px;
    margin: 30px auto;
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}