* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Segoe UI, sans-serif;
    background: #f2f2f2;
    padding: 20px;
}

.identity{
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    font-family: Arial;
    font-size : 18px;
}

.container {
    max-width: 1200px;
    margin: auto;
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
}

.dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.card {
    padding: 25px;
    border-radius: 12px;
    color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.card h3 {
    margin-bottom: 10px;
}

.card p {
    font-size: 24px;
    font-weight: bold;
}

.pemasukan {
    background: #27ae60;
}

.pengeluaran {
    background: #c0392b;
}

.saldo {
    background: #2980b9;
}

.form-container,
.table-container {
    background: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

form {
    display: grid;
    gap: 15px;
}

input,
select,
textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

button {
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #2c3e50;
    color: white;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background: #34495e;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th,
table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: center;
}

table th {
    background: #2c3e50;
    color: white;
}

.delete-btn {
    background: #e74c3c;
    padding: 8px 12px;
}

.delete-btn:hover {
    background: #c0392b;
}

@media(max-width: 768px) {

    table {
        font-size: 12px;
    }

    .card p {
        font-size: 20px;
    }
}