/* =========================
   INTERNAL LINK (POST & PAGE)
========================= */
.single-post .entry-content a,
.page .entry-content a {
  color: #c1121f;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  transition: all 0.25s ease;
}

.single-post .entry-content a:hover,
.page .entry-content a:hover {
  color: #000000;
  background-color: #fff0f0;
  padding: 2px 4px;
  border-radius: 4px;
}

/* =========================
   TABLE RESPONSIVE WRAPPER
========================= */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 15px 0;
}

.table-responsive table {
  min-width: 600px;
}

.table-responsive th,
.table-responsive td {
  white-space: nowrap;
}

/* =========================
   TABLE DEFAULT WP
========================= */
.tabel-wp {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  background: #ffffff;
  table-layout: auto;
}

.tabel-wp th {
  background: #1d3557;
  color: #ffffff;
  padding: 12px;
  text-align: center;
  font-weight: 700;
  border: 1px solid #1d3557;
}

.tabel-wp td {
  border: 1px solid #e0e0e0;
  padding: 10px;
  text-align: center;
}

.tabel-wp tbody tr:nth-child(even) {
  background: #f9f9f9;
}

.tabel-wp tbody tr:hover {
  background: #fff3f3;
}

/* =========================
   TABLE MODERN (tetap kamu pakai)
========================= */
.table-modern {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.table-modern thead {
  background: #222;
  color: #fff;
}

.table-modern th,
.table-modern td {
  padding: 12px 14px;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.table-modern tbody tr:hover {
  background: #f5f5f5;
}

/* =========================
   TABEL-MODERN (versi kamu – dipertahankan)
========================= */
.tabel-modern {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-family: sans-serif;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  table-layout: auto;
}

.tabel-modern thead tr {
  background-color: #009879;
  color: #ffffff;
  font-weight: bold;
}

.tabel-modern th,
.tabel-modern td {
  padding: 12px 15px;
  text-align: center;
}

.tabel-modern tbody tr:nth-of-type(even) {
  background-color: #f3f3f3;
}

.tabel-modern tbody tr:last-of-type {
  border-bottom: 2px solid #009879;
}

.tabel-modern tbody tr:hover {
  background-color: #fff3f3;
}

/* =========================
   TABLE STATISTIK BOLA
   (Tambahan baru – tidak ganggu tabel lain)
========================= */
.table-statistik-bola {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.10);
}

/* Header */
.table-statistik-bola thead th {
  background: linear-gradient(135deg, #111, #222);
  color: #fff;
  padding: 12px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Body */
.table-statistik-bola td {
  padding: 10px 12px;
  font-size: 14px;
  border-bottom: 1px solid #eee;
  text-align: center;
}

/* Kolom label kiri */
.table-statistik-bola td.stat-label {
  text-align: left;
  font-weight: bold;
  width: 38%;
}

/* Nilai home */
.table-statistik-bola td.stat-home {
  font-weight: bold;
  color: #16a34a;
  width: 15%;
}

/* Nilai away */
.table-statistik-bola td.stat-away {
  font-weight: bold;
  color: #2563eb;
  width: 15%;
}

/* Bar pembanding */
.table-statistik-bola td.stat-bar {
  width: 32%;
}

.stat-bar-fill {
  background: #e5e5e5;
  border-radius: 10px;
  overflow: hidden;
  height: 8px;
}

.stat-bar-home {
  height: 100%;
  background: linear-gradient(90deg,#16a34a,#22c55e);
}

.stat-bar-away {
  height: 100%;
  background: linear-gradient(90deg,#2563eb,#3b82f6);
}

/* Hover */
.table-statistik-bola tbody tr:hover {
  background: #fafafa;
}

/* =========================
   MOBILE RESPONSIVE
========================= */
@media (max-width: 768px) {
  .tabel-modern th,
  .tabel-modern td,
  .table-modern th,
  .table-modern td,
  .table-statistik-bola th,
  .table-statistik-bola td {
    font-size: 13px;
    padding: 8px;
  }

  .table-responsive table {
    min-width: 500px;
  }
}

/* =========================
   HIDE MOBILE COLUMN
========================= */
@media (max-width: 768px) {
  .hide-mobile {
    display: none !important;
  }
}

/* =========================
   TABEL STATISTIK KEREN BARU (TAMBAHAN EKSTRA – UNTUK TABEL STATISTIK ANDA YANG LEBIH KEREN)
   (Ini adalah tambahan baru yang tidak mengubah apa pun di atas. Gunakan class "tabel-statistik-keren" di HTML tabel Anda untuk efek maksimal.)
========================= */
.tabel-statistik-keren {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Arial', sans-serif;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  margin: 25px 0;
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.tabel-statistik-keren th {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: white;
  padding: 18px 15px;
  text-align: center;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 3px solid #004085;
  position: relative;
}

.tabel-statistik-keren th::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #fff, transparent);
}

.tabel-statistik-keren td {
  padding: 15px 15px;
  text-align: center;
  border-bottom: 1px solid #dee2e6;
  transition: all 0.3s ease;
  position: relative;
}

.tabel-statistik-keren tbody tr:nth-child(even) {
  background: rgba(0, 123, 255, 0.05);
}

.tabel-statistik-keren tbody tr:hover {
  background: rgba(0, 123, 255, 0.1);
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.tabel-statistik-keren tbody tr:hover td {
  color: #0056b3;
  font-weight: 600;
}

/* Efek khusus untuk kolom statistik numerik */
.tabel-statistik-keren td:nth-child(2),
.tabel-statistik-keren td:nth-child(3) {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  background: linear-gradient(45deg, rgba(255,255,255,0.8), rgba(240,240,240,0.8));
  border-radius: 5px;
  margin: 0 2px;
}

/* Bar progress animasi untuk statistik (opsional, tambahkan di HTML jika perlu) */
.stat-bar-keren {
  background: #e5e5e5;
  border-radius: 12px;
  overflow: hidden;
  height: 10px;
  position: relative;
}

.stat-bar-keren-fill {
  height: 100%;
  background: linear-gradient(90deg, #16a34a, #22c55e);
  transition: width 1s ease-in-out;
  border-radius: 12px;
}

/* Responsif ekstra untuk tabel keren */
@media (max-width: 768px) {
  .tabel-statistik-keren {
    font-size: 13px;
    margin: 15px 0;
  }
  .tabel-statistik-keren th,
  .tabel-statistik-keren td {
    padding: 10px 8px;
  }
  .tabel-statistik-keren tbody tr:hover {
    transform: none; /* Matikan transform di mobile untuk performa */
  }
}