/* ================================
   MagicCard Custom Fixes
   Author: Yazid Idrus
   ================================ */

/* Semua TablePress */
.tablepress {
  width: 100% !important;
  border-collapse: collapse !important;
  font-family: 'Open Sans', sans-serif !important;
  overflow-x: auto !important;
  display: block !important;

  /* Override var default */
  --head-bg-color: #F5F5F7 !important;
  --head-text-color: #000000 !important;
}

/* Header */
.tablepress thead th {
  border: none !important;
  font-size: 16px !important;
  text-align: center !important;
  padding: 10px 14px !important;
}

/* Body */
.tablepress tbody td {
  border: none !important;
  font-size: 14px !important;
  text-align: center !important;
  padding: 10px 14px !important;
}

/* Responsive */
@media (max-width: 768px) {
  .tablepress thead th,
  .tablepress tbody td {
    padding: 8px 14px !important;
    font-size: 14px !important;
  }
}

/* Scroll to Top (Astra) */
#ast-scroll-top {
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.12);
  transition: box-shadow 0.3s ease;
  z-index: 9999;
  position: fixed;
}
