/* ===== GLOBAL ===== */
* {
  box-sizing: border-box;
}

body {
  font-size: 17px;
  line-height: 1.6;
}

/* ===== FONT ANGKA ===== */
/* Semua angka/nominal pakai Inter agar tidak old-style */
.font-angka,
#tabel-body td,
#tabel-body th,
#hasil-plafon,
#hasil-usia,
#hasil-tenor,
#hasil-kemampuan,
#hasil-rate,
.text-emas,
.text-2xl,
.text-3xl {
  font-family: 'Inter', sans-serif;
  font-variant-numeric: lining-nums tabular-nums;
}

/* ===== TAB PRODUK ===== */
.tab-btn {
  flex-shrink: 0;
  padding: 0.5rem 1.1rem;
  border-radius: 9999px;
  border: 2px solid #1B4332;
  background: transparent;
  color: #1B4332;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
  snap-align: start;
}

.tab-btn:hover {
  background: #2D6A4F;
  color: #fff;
  border-color: #2D6A4F;
}

.tab-btn.aktif {
  background: #1B4332;
  color: #D4A017;
  border-color: #1B4332;
}

/* ===== TABEL ===== */
#tabel-body tr:nth-child(even) {
  background-color: #e9f5ee;
}

#tabel-body tr:nth-child(odd) {
  background-color: #ffffff;
}

#tabel-body td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid #d1e7d8;
  font-family: 'Inter', sans-serif;
  font-variant-numeric: lining-nums tabular-nums;
}

/* ===== SCROLLBAR TIPIS UNTUK TAB ===== */
#tab-container::-webkit-scrollbar {
  height: 4px;
}
#tab-container::-webkit-scrollbar-track {
  background: #e9f5ee;
  border-radius: 9999px;
}
#tab-container::-webkit-scrollbar-thumb {
  background: #2D6A4F;
  border-radius: 9999px;
}
