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

body {
  background: #f4f6f9;
  color: #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  padding: 20px;
}

h2 {
  margin-bottom: 20px;
  color: #2c3e50;
}

form {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 400px;
  margin-bottom: 20px;
}

label {
  display: block;
  margin: 10px 0 5px;
  font-weight: bold;
}

input {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin-bottom: 15px;
  transition: border 0.3s;
}

input:focus {
  border: 1px solid #3498db;
  outline: none;
}

button {
  padding: 10px 15px;
  margin-right: 10px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s, transform 0.2s;
}

button[type="submit"] {
  background: #3498db;
  color: #fff;
}

button[type="submit"]:hover {
  background: #2980b9;
  transform: scale(1.03);
}

button#hapusData {
  background: #e74c3c;
  color: #fff;
}

button#hapusData:hover {
  background: #c0392b;
  transform: scale(1.03);
}

/* Ringkasan Data */
#summary {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  max-width: 400px;
  width: 100%;
}

#summary h3 {
  margin-bottom: 10px;
  color: #2c3e50;
}

#summary p {
  margin-bottom: 8px;
  font-size: 14px;
}