body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #f4f6f9;
}

header {
    background-color: #2c3e50;
    color: white;
    padding: 15px;
    text-align: center;
}

main {
    padding: 20px;
}

section {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    padding: 20px;
}

h2 {
    color: #34495e;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid #ecf0f1;
}

th {
    background-color: #2c3e50;
    color: white;
}

.limit-table th {
    background-color: #34495e;
}

button {
    padding: 10px;
    border-radius: 5px;
    background-color: #2c3e50;
    color: white;
    border: none;
}

button:hover {
    background-color: #34495e;
}

body.dark-mode {
    background-color: #121212;
    color: #ffffff;
}

body.dark-mode header, body.dark-mode footer {
    background-color: #1f1f1f;
}

body.dark-mode table {
    background-color: #1f1f1f;
    color: #ffffff;
}

/* Kotak Saldo */
.balance-container {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.balance-item {
    background-color: #ecf0f1;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    flex: 1;
    margin: 10px;
    min-width: 200px;
    max-width: 300px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.balance-item h3 {
    color: #2c3e50;
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: bold;
}

.balance-item p {
    font-size: 18px;
    color: #34495e;
    font-weight: bold;
}

/* Elemen bagian bawah */
.bottom-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 10px;
    background-color: #f4f6f9;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.bottom-actions input[type="text"] {
    padding: 8px;
    font-size: 14px;
    border: 1px solid #bdc3c7;
    border-radius: 5px;
    width: 200px;
}

.bottom-actions button {
    padding: 10px 20px;
    background-color: #2c3e50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.bottom-actions button:hover {
    background-color: #34495e;
}

/* Responsif */
@media (max-width: 768px) {
    .balance-container {
        flex-direction: column;
        align-items: stretch;
    }

    .balance-item {
        max-width: 100%;
    }
}
