:root {
  --primary: #005f7f;
  --secondary-bg: #f7f9fc;
  --text: #333;
  --hover-bg: #e6f2f8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  background: var(--secondary-bg);
  color: var(--text);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header & Nav */
.header {
  background: var(--primary);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.logo {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
}

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
}

/* Nav Links */
.nav a {
  color: #fff;
  margin-left: 1.5rem;
  text-decoration: none;
  font-weight: 500;
  position: relative;
}
.nav a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #ffcc00;
}

/* Search & Print */
.search-section {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  margin: 2rem 0 1rem;
}
.search-section input {
  flex: 1;
  min-width: 200px;
  padding: 0.75rem 1rem;
  border: 2px solid var(--primary);
  border-radius: 999px;
  font-size: 1rem;
}
.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
}
.btn--primary {
  background: var(--primary);
  color: #fff;
}
.btn--primary:hover {
  background: #004a68;
}

/* Table Styles */
.table-wrapper {
  overflow-x: auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}
th, td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #eee;
}
th {
  background: var(--primary);
  color: #fff;
  position: sticky;
  top: 0;
}
tbody tr:hover {
  background: var(--hover-bg);
}

/* Print: sembunyikan tombol & kolom Aksi */
@media print {
  .search-section,
  .hamburger,
  .nav,
  .btn--primary {
    display: none;
  }
  th:last-child, td:last-child {
    display: none;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav { display: none; flex-direction: column; margin-top: 1rem; }
  .nav.active { display: flex; }
  .search-section { flex-direction: column; }
}
