/* ====== STYLE LAYAR ====== */
.table th { 
    background: #6495ED; 
    color: white; 
}
.table tfoot td { 
    background: #ADD8E6; 
    font-weight: bold; 
}
.btn-opsi { 
    font-size: 12px; 
    padding: 3px 8px; 
    margin: 2px; 
}
/* TEMA BIRU */
.tema-biru thead th {
    background: #6495ED; 
    color: white;
    text-align: center !important;
    font-size: 10pt;
    font-weight: bold;
}

/* TEMA IJO */
.tema-ijo thead th {
    background: #2E8B57; 
    color: white;
    text-align: center !important;
    font-size: 10pt;
    font-weight: bold;
}

/* ====== STYLE PRINT ====== */
@media print {
   .no-print { display: none!important; }
   .card { border: none!important; box-shadow: none!important; }
   .card-header { background: #fff!important; color: #000!important; border-bottom: 2px solid #000; }
   body { background: #fff!important; }
   
   /* Buat tabel ada garis pas print */
   .table { border-collapse: collapse; }
   .table th, .table td { border: 1px solid #000 !important; }

   /* Trik biar warna background ikut ke cetak */
   .table thead th { 
       background: #e9ecef !important; 
       color: #000 !important;
       -webkit-print-color-adjust: exact; 
       print-color-adjust: exact; /* untuk firefox/chrome baru */
       box-shadow: inset 0 0 0 1000px #e9ecef; /* ini kunci biar kebaca */
   }
   .table tfoot td { 
       background: #f8f9fa !important; 
       -webkit-print-color-adjust: exact; 
       print-color-adjust: exact;
       box-shadow: inset 0 0 0 1000px #f8f9fa;
   }

   /* Sembunyiin elemen datatables pas print */
   .dataTables_filter, .dataTables_length, .dataTables_paginate, .dataTables_info { display: none !important; }
   
   @page { size: A4 landscape; margin: 1cm; }
}