body {
  font-family: 'Poppins', sans-serif;
  background-color: #f9fafc;
  color: #333;
}
.table-container + .title {
  margin-top: 60px;
}
.title {
  text-align: center;
  color: #a40000;
  margin-bottom: 30px;
  font-weight: 700;
}

.table-container {
  overflow-x: auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 20px;
  animation: fadeIn 1s ease;
}
/* ========== HEADER HALAMAN ========== */
.biaya-header {
  background: linear-gradient(to right, #a40000, #b94b4b, #f2c46d);
  text-align: center;
  padding: 120px 20px 60px 20px; /* memberi ruang cukup agar tidak tertutup header */
  margin: 0;
}

.biaya-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
}

/* ========== SECTION UTAMA ========== */
.biaya-section {
  display: flex;
  justify-content: center;
  align-items: flex-start; /* biar mulai dari atas, tapi tetap di tengah horizontal */
  flex-direction: column;
  background-color: #f9fafc;
  padding: 60px 20px;
}

.table-responsive {
  width: 100%;
  display: flex;
  justify-content: center;
}

.table-wrapper {
  width: 100%;
  max-width: 1000px; /* batasi agar tabel tidak terlalu lebar */
}

/* ========== TABEL ========== */
.biaya-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.biaya-table th,
.biaya-table td {
  border: 1px solid #ddd;
  padding: 14px 10px;
  transition: background-color 0.3s ease;
}

.biaya-table th {
  background-color: #a40000;
  color: #fff;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.biaya-table tr:nth-child(even) {
  background-color: #f8f8f8;
}

.biaya-table tbody tr:hover {
  background-color: #d9fdd3;
}
/* ======== Bagian Biaya Lainnya ======== */
/* ======== Bagian Biaya Lainnya (posisi tengah) ======== */
.biaya-lainnya {
  width: 100%;
  max-width: 600px; /* sedikit lebih lebar agar proporsional */
  margin: 40px auto 0 auto; /* ini yang membuat kotak berada di tengah */
  background: #fff;
  padding: 25px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  animation: fadeIn 1s ease;
  text-align: left;
}

.biaya-lainnya h4 {
  font-weight: 700;
  color: #a40000;
  text-align: center;
  margin-bottom: 15px;
}

.biaya-lainnya table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 15px;
}

.biaya-lainnya td {
  padding: 8px 5px;
  border-bottom: 1px solid #ddd;
}

.biaya-lainnya td:first-child {
  font-weight: 600;
}

.biaya-lainnya td:last-child {
  text-align: right;
}

/* Responsif di layar kecil */
@media (max-width: 768px) {
  .biaya-lainnya {
    max-width: 100%;
    margin: 30px auto;
    padding: 20px;
  }
}

/* ========== CATATAN DAN TOMBOL ========== */
.note {
  font-size: 0.9rem;
  color: #555;
  margin-top: 20px;
  text-align: center;
  line-height: 1.6;
}

/* ========== RESPONSIF ========== */
@media (max-width: 768px) {
  .biaya-header {
    padding: 100px 10px 40px 10px;
  }

  .biaya-title {
    font-size: 1.8rem;
  }

  .table-wrapper {
    max-width: 100%;
  }

  .biaya-table th,
  .biaya-table td {
    font-size: 0.8rem;
    padding: 10px;
  }
}

/* Animasi masuk */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsif di mobile */
@media (max-width: 768px) {
  .biaya-table th,
  .biaya-table td {
    font-size: 0.8rem;
    padding: 10px;
  }
}
