* {
  box-sizing: border-box;
}
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(to right, #74ebd5, #acb6e5);
  margin: 0;
  padding: 0;
}
.container {
  max-width: 900px;
  margin: 80px auto;
  padding: 30px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  overflow-x: auto; /* tambahkan ini agar isi tidak keluar */
}
h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #333;
}
input[type="text"],
input[type="password"],
input[type="date"],
input[type="time"],
textarea,
select {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 8px;
  border: 1px solid #ccc;
  transition: border 0.3s;
}
input:focus,
textarea:focus,
select:focus {
  border-color: #3498db;
  outline: none;
}
button,
.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #3498db;
  color: white;
  text-decoration: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.3s;
}
.btn:hover,
button:hover {
  background-color: #2980b9;
}
.btn.danger {
  background-color: #e74c3c;
}
.btn.danger:hover {
  background-color: #c0392b;
}

.container {
  max-width: 100%;
  width: 90%;
  margin: 80px auto;
  padding: 30px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 1.05rem;
  min-width: 1000px; /* pastikan tabel cukup lebar */
}

table th,
table td {
  padding: 14px;
  border: 1px solid #ccc;
  text-align: center;
  vertical-align: middle;
}

table th {
  background-color: #f8f8f8;
  font-weight: bold;
  color: #333;
}

/* Tombol di dalam kolom aksi */
.actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
}

.actions .btn {
  padding: 8px 16px;
  font-size: 14px;
  min-width: 80px;
}

.form-group {
  margin-bottom: 15px;
}
