/* ==========================================================
   Petrol Shed Management System - Global Reports Dark Theme
   Stylesheet: reports-dark-theme.css
   Theme: Modern Dark Slate / Navy with Orange & Blue Accents
   ========================================================== */
/* Fonts are loaded in HTML head */
:root {
  --report-bg: #070d1a;
  --report-surface: #0f1a30;
  --report-surface-card: rgba(15, 26, 48, 0.85);
  --report-surface-hover: rgba(0, 102, 255, 0.08);
  --report-border: rgba(0, 102, 255, 0.22);
  --report-border-subtle: rgba(255, 255, 255, 0.07);
  --report-text: #f1f5f9;
  --report-text-muted: #94a3b8;
  --report-text-dim: #64748b;
  
  --report-primary: #0066ff;
  --report-primary-hover: #0052cc;
  --report-accent: #ff7300;
  --report-cyan: #00d2ff;
  
  /* Status Colors */
  --badge-paid-bg: rgba(16, 185, 129, 0.16);
  --badge-paid-text: #34d399;
  --badge-paid-border: rgba(16, 185, 129, 0.35);

  --badge-pending-bg: rgba(245, 158, 11, 0.16);
  --badge-pending-text: #fbbf24;
  --badge-pending-border: rgba(245, 158, 11, 0.35);

  --badge-overdue-bg: rgba(239, 68, 68, 0.16);
  --badge-overdue-text: #f87171;
  --badge-overdue-border: rgba(239, 68, 68, 0.35);

  --badge-credit-bg: rgba(6, 182, 212, 0.16);
  --badge-credit-text: #38bdf8;
  --badge-credit-border: rgba(6, 182, 212, 0.35);

  --badge-card-bg: rgba(139, 92, 246, 0.16);
  --badge-card-text: #a78bfa;
  --badge-card-border: rgba(139, 92, 246, 0.35);

  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 102, 255, 0.15);
  --radius-card: 14px;
  --radius-badge: 9999px;
}

body.light-theme {
  --report-bg: #F0F4F8;
  --report-surface: #ffffff;
  --report-surface-card: #ffffff;
  --report-surface-hover: rgba(215, 122, 23, 0.05);
  --report-border: #e2e8f0;
  --report-border-subtle: #f1f5f9;
  --report-text: #1e293b;
  --report-text-muted: #64748b;
  --report-text-dim: #94a3b8;
  --report-primary: #d77a17;
  --report-primary-hover: #b86208;
  --shadow-card: 0 1px 3px 0 rgba(0, 0, 0, 0.08);
}

/* Base Body Styles for Standalone Reports */
body.report-dark-body {
  margin: 0;
  padding: 24px;
  background-color: var(--report-bg);
  background-image: 
    radial-gradient(at 0% 0%, rgba(0, 102, 255, 0.12) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(255, 115, 0, 0.08) 0px, transparent 50%);
  background-attachment: fixed;
  color: var(--report-text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
  box-sizing: border-box;
}

.report-container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

/* Header & Navigation Bar */
.report-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--report-border-subtle);
}

.report-title-group h1 {
  margin: 0 0 6px 0;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 12px;
}

.report-title-group h1 i {
  color: var(--report-accent);
}

.report-title-group p {
  margin: 0;
  font-size: 13px;
  color: var(--report-text-muted);
}

.report-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--report-primary), var(--report-primary-hover));
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.4);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #1a75ff, var(--report-primary));
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 102, 255, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--report-border-subtle);
  color: var(--report-text);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.btn-accent {
  background: linear-gradient(135deg, var(--report-accent), #e06500);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(255, 115, 0, 0.35);
}
.btn-accent:hover {
  background: linear-gradient(135deg, #ff851a, var(--report-accent));
  transform: translateY(-1px);
}

/* Filter Card / Controls Bar */
.report-filter-panel {
  background: var(--report-surface-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--report-border);
  border-radius: var(--radius-card);
  padding: 16px 20px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  box-shadow: var(--shadow-card);
}

.report-filter-form {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--report-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.filter-input, .filter-select {
  background: rgba(7, 13, 26, 0.7);
  border: 1px solid var(--report-border);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--report-text);
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
}

.filter-input:focus, .filter-select:focus {
  border-color: var(--report-cyan);
  box-shadow: 0 0 0 2px rgba(0, 210, 255, 0.15);
}

/* ==========================================================
   Summary Cards Container & Stat Cards
   ========================================================== */
.report-summary-cards,
.summary-grid,
#reportTableContainer .report-summary-cards,
#reportTableContainer > div:first-child:not(.table-wrap):not(.salary-slip-container) {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)) !important;
  gap: 16px !important;
  margin: 0 0 28px 0 !important;
  padding: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.report-summary-cards .stat-card,
.summary-grid .stat-card,
#reportTableContainer .stat-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.01) 100%), var(--report-surface) !important;
  border: 1px solid var(--report-border) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: var(--radius-card) !important;
  padding: 16px 20px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  min-height: 85px !important;
  box-sizing: border-box !important;
  box-shadow: var(--shadow-card) !important;
  position: relative !important;
  overflow: hidden !important;
  transition: transform 0.2s ease, border-color 0.2s ease !important;
}

.report-summary-cards .stat-card:hover,
.summary-grid .stat-card:hover,
#reportTableContainer .stat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 102, 255, 0.5) !important;
}

.report-summary-cards .stat-card span,
.summary-grid .stat-card span,
#reportTableContainer .stat-card span {
  font-size: 0.8rem !important;
  color: var(--report-text-muted) !important;
  margin-bottom: 6px !important;
  font-weight: 500 !important;
  display: block !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
}

.report-summary-cards .stat-card h3,
.summary-grid .stat-card h3,
#reportTableContainer .stat-card h3 {
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  color: var(--report-text) !important;
  margin: 0 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em !important;
}

.report-summary-cards .stat-card.highlight h3,
.summary-grid .stat-card.highlight h3 {
  color: var(--report-cyan) !important;
}

/* ==========================================================
   Data Tables & Containers
   ========================================================== */
.report-matrix-wrap,
#reportTableContainer .report-matrix-wrap {
  margin: 0 0 28px 0 !important;
  clear: both !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.report-table-card {
  background: var(--report-surface-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--report-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  margin-bottom: 24px;
}

.report-table-wrap,
.table-wrap,
#reportTableContainer .report-table-wrap {
  width: 100%;
  overflow-x: auto;
  box-sizing: border-box;
}

body.report-dark-body table.report-table,
body.report-dark-body .table-wrap table,
body:not(.light-theme) #reportTableContainer table:not(.slip-table) {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
  line-height: 1.5;
}

body.report-dark-body table.report-table thead th,
body.report-dark-body .table-wrap table thead th,
body:not(.light-theme) #reportTableContainer table:not(.slip-table) thead th {
  background: rgba(11, 20, 38, 0.95) !important;
  color: var(--report-text-muted) !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  padding: 10px 12px !important;
  border-bottom: 1px solid var(--report-border) !important;
  white-space: normal !important;
  word-break: normal !important;
}

body.report-dark-body table.report-table tbody td,
body.report-dark-body .table-wrap table tbody td,
body:not(.light-theme) #reportTableContainer table:not(.slip-table) tbody td {
  padding: 9px 12px !important;
  color: var(--report-text) !important;
  border-bottom: 1px solid var(--report-border-subtle) !important;
  vertical-align: middle !important;
}

body.report-dark-body table.report-table tbody tr,
body.report-dark-body .table-wrap table tbody tr,
body:not(.light-theme) #reportTableContainer table:not(.slip-table) tbody tr {
  transition: background 0.15s ease;
}

body.report-dark-body table.report-table tbody tr:nth-child(even),
body.report-dark-body .table-wrap table tbody tr:nth-child(even),
body:not(.light-theme) #reportTableContainer table:not(.slip-table) tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.015);
}

body.report-dark-body table.report-table tbody tr:hover,
body.report-dark-body .table-wrap table tbody tr:hover,
body:not(.light-theme) #reportTableContainer table:not(.slip-table) tbody tr:hover {
  background: var(--report-surface-hover) !important;
}

body.report-dark-body table.report-table tfoot td,
body.report-dark-body .table-wrap table tfoot td,
body:not(.light-theme) #reportTableContainer table:not(.slip-table) tfoot td {
  padding: 10px 12px !important;
  background: rgba(11, 20, 38, 0.95) !important;
  border-top: 2px solid var(--report-border) !important;
  font-weight: 700 !important;
  color: #ffffff !important;
}

/* Light Theme overrides for reports-dark-theme.css */
body.light-theme table.report-table tbody td,
body.light-theme .table-wrap table tbody td,
body.light-theme #reportTableContainer table:not(.slip-table) tbody td {
  color: #1e293b;
  border-bottom: 1px solid #e2e8f0 !important;
  padding: 9px 12px !important;
}

body.light-theme table.report-table thead th,
body.light-theme .table-wrap table thead th,
body.light-theme #reportTableContainer table:not(.slip-table) thead th {
  background: #f1f5f9 !important;
  color: #334155 !important;
  border-bottom: 2px solid #cbd5e1 !important;
  padding: 10px 12px !important;
  white-space: normal !important;
  word-break: normal !important;
}

body.light-theme table.report-table tfoot td,
body.light-theme .table-wrap table tfoot td,
body.light-theme #reportTableContainer table:not(.slip-table) tfoot td {
  background: #f8fafc !important;
  color: #0f172a !important;
  border-top: 2px solid #cbd5e1 !important;
  padding: 10px 12px !important;
}

body.light-theme .report-summary-cards .stat-card,
body.light-theme .summary-grid .stat-card,
body.light-theme #reportTableContainer .stat-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-top: 1px solid #e2e8f0 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
}

body.light-theme .report-summary-cards .stat-card span,
body.light-theme .summary-grid .stat-card span,
body.light-theme #reportTableContainer .stat-card span {
  color: #64748b !important;
}

body.light-theme .report-summary-cards .stat-card h3,
body.light-theme .summary-grid .stat-card h3,
body.light-theme #reportTableContainer .stat-card h3 {
  color: #1e293b !important;
}

/* ==========================================================
   Colored Status Badges
   ========================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-badge);
  font-size: 11.5px;
  font-weight: 600;
  text-transform: capitalize;
  line-height: 1;
  white-space: nowrap;
}

.badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

/* Success / Paid / Cash / Received */
.badge-success,
.badge-paid,
.badge-cash,
.badge-completed,
.badge-settled {
  background: var(--badge-paid-bg);
  color: var(--badge-paid-text);
  border: 1px solid var(--badge-paid-border);
}
.badge-success::before,
.badge-paid::before,
.badge-cash::before,
.badge-completed::before,
.badge-settled::before {
  background: var(--badge-paid-text);
  box-shadow: 0 0 6px var(--badge-paid-text);
}

/* Warning / Pending / Partial / Low Stock */
.badge-warning,
.badge-pending,
.badge-partial,
.badge-low-stock,
.badge-due {
  background: var(--badge-pending-bg);
  color: var(--badge-pending-text);
  border: 1px solid var(--badge-pending-border);
}
.badge-warning::before,
.badge-pending::before,
.badge-partial::before,
.badge-low-stock::before,
.badge-due::before {
  background: var(--badge-pending-text);
  box-shadow: 0 0 6px var(--badge-pending-text);
}

/* Danger / Overdue / Shortage / Critical */
.badge-danger,
.badge-overdue,
.badge-shortage,
.badge-critical {
  background: var(--badge-overdue-bg);
  color: var(--badge-overdue-text);
  border: 1px solid var(--badge-overdue-border);
}
.badge-danger::before,
.badge-overdue::before,
.badge-shortage::before,
.badge-critical::before {
  background: var(--badge-overdue-text);
  box-shadow: 0 0 6px var(--badge-overdue-text);
}

/* Info / Credit / Bank Transfer / Online */
.badge-info,
.badge-credit,
.badge-bank,
.badge-delivered {
  background: var(--badge-credit-bg);
  color: var(--badge-credit-text);
  border: 1px solid var(--badge-credit-border);
}
.badge-info::before,
.badge-credit::before,
.badge-bank::before,
.badge-delivered::before {
  background: var(--badge-credit-text);
  box-shadow: 0 0 6px var(--badge-credit-text);
}

/* Card / Digital */
.badge-card {
  background: var(--badge-card-bg);
  color: var(--badge-card-text);
  border: 1px solid var(--badge-card-border);
}
.badge-card::before {
  background: var(--badge-card-text);
  box-shadow: 0 0 6px var(--badge-card-text);
}

/* Numeric & Monospace Formatting */
.mono {
  font-family: 'JetBrains Mono', Consolas, Monaco, monospace;
}
.text-right { text-align: right !important; }
.text-center { text-align: center !important; }
.text-primary { color: var(--report-cyan) !important; font-weight: 600; }
.text-accent { color: var(--report-accent) !important; font-weight: 600; }

/* Empty state banner */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--report-text-muted);
}
.empty-state i {
  font-size: 3rem;
  color: var(--report-primary);
  margin-bottom: 16px;
  display: block;
}

/* ==========================================================
   Print Optimization (@media print)
   Ensures crystal-clear, non-overlapping white document print
   ========================================================== */
@media print {
  @page {
    margin: 8mm;
    size: auto;
  }

  body,
  body.report-dark-body {
    background: #ffffff !important;
    color: #0f172a !important;
    padding: 0 !important;
  }

  .report-container,
  #reportModal,
  #reportModal .modal,
  #reportModal .panel,
  #reportTableContainer {
    max-width: none !important;
    width: 100% !important;
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
    background: #ffffff !important;
    color: #0f172a !important;
    border: none !important;
    box-shadow: none !important;
  }

  /* Hide navigation controls, filter bars, and action buttons */
  .report-header-actions,
  .report-filter-panel,
  .btn,
  .no-print,
  #customDateFilter,
  #purchaseReportFilter,
  #stockReportFilter,
  #outstandingReportFilter,
  #paymentHistoryFilter,
  #profitReportFilter,
  #customerCreditFilter,
  #dipReportFilter,
  [id$="Filter"],
  #defaultReportPrintBtn,
  #reportModalTopPrintBtn,
  #salarySlipActionButtons,
  #salarySlipActionButtons *,
  .modal > button.primary,
  .modal > button.secondary,
  .modal .close,
  #reportModal .close {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
  }

  .report-header {
    border-bottom: 2px solid #0066ff !important;
    padding-bottom: 12px !important;
    margin-bottom: 20px !important;
  }

  .report-title-group h1 {
    color: #0f172a !important;
    font-size: 20px !important;
  }

  .report-title-group p {
    color: #475569 !important;
  }

  /* Summary Cards in Print */
  .report-summary-cards,
  .summary-grid,
  #reportTableContainer .report-summary-cards,
  #reportTableContainer > div:first-child:not(.table-wrap):not(.salary-slip-container) {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)) !important;
    gap: 12px !important;
    margin: 0 0 24px 0 !important;
    padding: 0 !important;
    page-break-inside: avoid !important;
  }

  .report-summary-cards .stat-card,
  .summary-grid .stat-card,
  #reportTableContainer .stat-card {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    padding: 10px 14px !important;
    box-shadow: none !important;
    page-break-inside: avoid !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .report-summary-cards .stat-card span,
  .summary-grid .stat-card span,
  #reportTableContainer .stat-card span {
    color: #64748b !important;
    font-size: 10.5px !important;
  }

  .report-summary-cards .stat-card h3,
  .summary-grid .stat-card h3,
  #reportTableContainer .stat-card h3 {
    color: #0f172a !important;
    font-size: 15px !important;
  }

  /* Payment Matrix & Data Tables in Print */
  .report-matrix-wrap,
  #reportTableContainer .report-matrix-wrap {
    margin: 0 0 24px 0 !important;
    page-break-inside: avoid !important;
  }

  .report-table-card {
    background: transparent !important;
    border: none !important; /* Remove card border to prevent double-line with table border */
    box-shadow: none !important;
    border-radius: 0 !important;
    margin-bottom: 20px !important;
  }

  table.report-table,
  table.matrix-table,
  .table-wrap table,
  #reportTableContainer table,
  #reportModal table {
    font-size: 11px !important;
    border: 1.5px solid #0f172a !important; /* Crisp dark outer outline border for print */
    border-collapse: collapse !important;
    page-break-inside: auto !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  table.report-table thead th,
  table.matrix-table thead th,
  .table-wrap table thead th,
  #reportTableContainer table thead th,
  body:not(.light-theme) #reportTableContainer table:not(.slip-table) thead th,
  body:not(.light-theme) #reportTableContainer table thead th,
  #reportModal table th {
    background: #0f172a !important;
    color: #ffffff !important;
    border: 1px solid #334155 !important;
    border-bottom: 2px solid #0f172a !important;
    padding: 7px 8px !important;
    font-size: 10.5px !important;
    white-space: normal !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  table.report-table tbody td,
  table.matrix-table tbody td,
  .table-wrap table tbody td,
  #reportTableContainer table tbody td,
  body:not(.light-theme) #reportTableContainer table:not(.slip-table) tbody td,
  body:not(.light-theme) #reportTableContainer table tbody td,
  #reportModal table td {
    color: #0f172a !important; /* Pure solid dark text so numbers are crystal clear */
    background: transparent !important;
    border: 1px solid #cbd5e1 !important;
    padding: 6px 8px !important;
    font-size: 11px !important;
    white-space: normal !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  table.report-table tbody tr:nth-child(even),
  .table-wrap table tbody tr:nth-child(even) {
    background: #f8fafc !important;
  }

  table.report-table tfoot td,
  .table-wrap table tfoot td {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border-top: 2px solid #94a3b8 !important;
  }

  /* Ensure status badges and highlights keep their authentic, rich colors when printing */
  .badge,
  .badge-paid,
  .badge-pending,
  .badge-overdue,
  .badge-card,
  .badge-credit,
  .badge-info,
  .salary-slip-container,
  .salary-slip-container *,
  .report-summary-cards .stat-card,
  #reportTableContainer .stat-card {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  #reportModal.is-salary-slip [id$="Filter"] {
    display: none !important;
  }
}


/* ===== Matrix Table Exact Column Alignment ===== */
.matrix-table {
  width: 100% !important;
  border-collapse: collapse !important;
  table-layout: fixed !important;
}
.matrix-table th,
.matrix-table td {
  padding: 12px 16px !important;
  vertical-align: middle !important;
  box-sizing: border-box !important;
}
.matrix-table th:first-child,
.matrix-table td:first-child {
  text-align: left !important;
  width: 28% !important;
}
.matrix-table th:not(:first-child),
.matrix-table td:not(:first-child) {
  text-align: right !important;
  width: 18% !important;
}

@media (max-width: 768px) {
  .matrix-table {
    table-layout: auto !important;
    min-width: 580px !important;
    width: 100% !important;
  }
  .matrix-table th,
  .matrix-table td {
    padding: 10px 10px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
  }
  .matrix-table th:first-child,
  .matrix-table td:first-child {
    width: auto !important;
    min-width: 110px !important;
  }
  .matrix-table th:not(:first-child),
  .matrix-table td:not(:first-child) {
    width: auto !important;
    min-width: 105px !important;
  }
}

/* ==========================================================
   Salary Payslip Document (Clean High-Contrast on White)
   ========================================================== */
#reportModal .salary-slip-container,
.salary-slip-container {
  background: #ffffff !important;
  color: #0f172a !important;
}

#reportModal .salary-slip-container table.slip-table,
.salary-slip-container table.slip-table {
  width: 100% !important;
  background: transparent !important;
  border-collapse: collapse !important;
}

#reportModal .salary-slip-container table.slip-table td,
.salary-slip-container table.slip-table td {
  color: #1e293b !important;
  padding: 6px 4px !important;
  font-size: 13px !important;
  border: none !important;
  background: transparent !important;
  text-align: left !important;
}

#reportModal .salary-slip-container table.slip-table td.num,
#reportModal .salary-slip-container table.slip-table td:last-child,
.salary-slip-container table.slip-table td.num,
.salary-slip-container table.slip-table td:last-child {
  color: #0f172a !important;
  font-weight: 700 !important;
  font-family: 'JetBrains Mono', monospace !important;
  text-align: right !important;
  background: transparent !important;
}

#reportModal .salary-slip-container table.slip-table tr,
.salary-slip-container table.slip-table tr {
  background: transparent !important;
}

#reportModal .salary-slip-container table.slip-table tr:hover,
.salary-slip-container table.slip-table tr:hover {
  background: transparent !important;
}

#reportModal .salary-slip-container table.slip-table tr.slip-gross-row td,
.salary-slip-container table.slip-table tr.slip-gross-row td {
  border-top: 1px solid #cbd5e1 !important;
  font-weight: 700 !important;
  color: #0f172a !important;
}

#reportModal .salary-slip-container table.slip-table tr.slip-gross-row td:last-child,
.salary-slip-container table.slip-table tr.slip-gross-row td:last-child {
  color: #0284c7 !important;
  font-weight: 800 !important;
}

#reportModal .salary-slip-container .slip-section-title.slip-deduction,
#reportModal .salary-slip-container td.slip-deduction,
.salary-slip-container .slip-section-title.slip-deduction,
.salary-slip-container td.slip-deduction {
  color: #dc2626 !important;
  font-weight: 700 !important;
}

#reportModal .salary-slip-container .slip-section-title.slip-contribution,
#reportModal .salary-slip-container td.slip-contribution,
.salary-slip-container .slip-section-title.slip-contribution,
.salary-slip-container td.slip-contribution {
  color: #2563eb !important;
  font-weight: 700 !important;
}

#reportModal .salary-slip-container .slip-meta-row,
.salary-slip-container .slip-meta-row {
  color: #475569 !important;
}

#reportModal .salary-slip-container .slip-meta-row strong,
.salary-slip-container .slip-meta-row strong {
  color: #0f172a !important;
}

#reportModal .salary-slip-container .slip-footer-text,
.salary-slip-container .slip-footer-text {
  color: #64748b !important;
}

#reportModal .salary-slip-container .slip-signature-line,
.salary-slip-container .slip-signature-line {
  color: #334155 !important;
}

