/* Reset margin dan padding umum */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body dan container */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #eef3f7;
  padding: 10px 20px;
  color: #222;
}

.container {
  max-width: 96%;
  margin: auto;
  background: linear-gradient(to bottom right, #ffffff, #f1f4f9);
  padding: 15px;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  margin-top: 0;
}

/* Judul */
h1 {
  text-align: center;
  color: #1a3c66;
  font-size: 22px;
  margin-bottom: 10px;
}

/* Form styling */
form {
  background-color: #f8fbff;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

form input[type="text"],
form textarea {
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 100%;
  box-sizing: border-box;
  margin-top: 10px;
}

form textarea {
  resize: vertical;
}

form button {
  background-color: #0077cc;
  color: white;
  padding: 8px 16px;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 10px;
}

form button:hover {
  background-color: #005fa3;
}

form label {
  font-size: 14px;
  margin-right: 15px;
  cursor: pointer;
}

/* Tabel */
.sitasi-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.sitasi-table th,
.sitasi-table td {
  padding: 10px;
  text-align: center;
  font-size: 14px;
  border-bottom: 1px solid #ddd;
  vertical-align: middle;
}

.sitasi-table th {
  background-color: #006bb3;
  color: white;
  position: sticky;
  top: 0;
  z-index: 2;
  font-weight: 600;
  user-select: none;
}

/* Baris genap */
.sitasi-table tbody tr:nth-child(even) {
  background-color: #f9fbfd;
}

/* Hover baris */
.sitasi-table tbody tr:hover {
  background-color: #dceeff;
  transition: background-color 0.3s ease;
}

/* Tombol hapus */
.sitasi-table button {
  padding: 4px 8px;
  background-color: #e63946;
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.sitasi-table button:hover {
  background-color: #c92030;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .container {
    padding: 10px;
  }
  .sitasi-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}
