/* Background body */
body {
  background: linear-gradient(to right, #f0f8ff, #e6f7ff);
  font-family: Arial, sans-serif;
  margin: 20px;
}

/* Judul */
h1 {
  color: #333;
  text-align: center;
}

/* Styling tabel */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

table th {
  background-color: #4CAF50; /* hijau */
  color: white;
  padding: 12px;
  text-align: center;
  font-size: 16px;
}

table td {
  padding: 10px;
  text-align: center;
  border: 1px solid #ddd;
  font-size: 15px;
}

table tr:nth-child(even) {
  background-color: #f9f9f9;
}

table tr:hover {
  background-color: #f1f1f1; 
}


/* Styling input */
input[type="text"] {
  padding: 10px;
  margin: 5px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  width: 200px;
  transition: 0.3s;
}

/* Tombol edit & hapus */
.btn-edit {
  background-color: yellow;
  font-size: 16px;
  padding: 6px 12px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
}

.btn-hapus {
  background-color: red;
  color: white;
  font-size: 16px;
  padding: 6px 12px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
}

#btnTambah {
    background-color: aqua;
    color: white;
     font-size: 16px;
    padding: 6px 12px;
    border-radius: 5px;
    border: none;
    cursor: pointer;   
}

#btnTambah:hover {
    background-color: #66F1C2;
}

.btn-edit:hover {
  background-color: gold;
}

.btn-hapus:hover {
  background-color: darkred;
}