/* Reset Margin dan Padding agar tidak menyebabkan overflow */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f5f5f5;
    overflow-x: hidden; /* Mencegah layar melebar ke samping */
}

.container {
    width: 90%;
    max-width: 400px; /* Batas maksimal agar tidak terlalu lebar di HP */
    background: #fff;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

h1 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 20px;
    color: #333;
}

form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

label {
    font-weight: bold;
    font-size: 14px;
    color: #444;
}

input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

/* Style tombol utama */
button {
    padding: 10px 16px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 14px;
}

button:hover {
    background-color: #45a049;
}

/* Style khusus bagian biaya lainnya */
.biayaItem {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap; /* Supaya tidak melebar ke samping di layar kecil */
    width: 100%;
}

.biayaItem input {
    flex: 1;
    min-width: 100px;
}

/* Style tombol "+" */
.addBtn {
    padding: 6px 12px;
    font-size: 18px;
    border-radius: 5px;
    background-color: #28a745;
    display: flex;
    justify-content: center;
    align-items: center;
}

.addBtn:hover {
    background-color: #218838;
}

/* Style tombol "Hapus" */
.hapusBtn {
    background-color: #dc3545;
    font-size: 12px;
    padding: 8px 12px;
    border-radius: 5px;
}

.hapusBtn:hover {
    background-color: #c82333;
}

/* Membatasi lebar maksimal input */
.biayaItem input {
    max-width: 180px;
}

.biayaItem button {
    flex-shrink: 0;
}


