/* Reset basic */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: #f4f6f8;
  color: #333;
  line-height: 1.6;
  padding: 20px;
}

.container {
  max-width: 800px;
  margin: auto;
  background: #fff;
  padding: 20px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

h1 {
  text-align: center;
  margin-bottom: 20px;
  color: #2c3e50;
}

section {
  margin-bottom: 30px;
  padding: 15px;
  border: 1px solid #e1e1e1;
  border-radius: 10px;
  background: #fafafa;
}

h2 {
  margin-bottom: 10px;
  color: #34495e;
  font-size: 1.2rem;
}

/* Form input */
form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

form input {
  flex: 1;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

form button {
  padding: 10px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  background: #3498db;
  color: white;
  transition: background 0.3s;
}

form button:hover {
  background: #2980b9;
}

/* List transaksi */
ul {
  list-style: none;
}

ul li {
  background: #fff;
  margin-bottom: 8px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

ul li button {
  padding: 6px 10px;
  border: none;
  border-radius: 5px;
  background: #e74c3c;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s;
}

ul li button:hover {
  background: #c0392b;
}

/* Rekap */
section p {
  font-weight: bold;
  margin: 5px 0;
}

#saldoAkhir {
  color: #27ae60;
  font-size: 1.2rem;
}