/* ===== IPHOXY â€” Custom & Page-Specific Styles ===== */

/* --- Weekly Summary & Archive Legacy Table --- */
.table-summary {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  font-size: 0.94rem;
}
.table-summary thead th {
  position: sticky; top: 60px; z-index: 5; /* Sticky Header */
  background: #eef1f5;
  color: #3a3a3a;
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .35px;
  text-transform: uppercase;
  border-bottom: 1px solid #dfe3e8;
  border-top: 1px solid #dfe3e8;
  padding: .65rem .55rem;
}
.table-summary th, .table-summary td {
  border-right: 1px solid #f0f2f5;
  border-left: 1px solid #f0f2f5;
  padding: .6rem .5rem;
  vertical-align: middle;
}
.table-summary tbody tr:hover { background: #f4f8ff; }
.table-summary tfoot th {
  font-size: 0.94rem;
  font-weight: 800;
  border-top: 2px solid #dfe3e8;
  background: #fafbfc;
}
.col-gross { font-weight: 800; color: #1b5e20; }
.col-tax { font-weight: 700; color: #c62828; }
.col-net { font-weight: 800; color: #1565c0; }

/* --- Reports Page Styles --- */
.stat-box {
  background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-red-dark) 100%);
  color: white;
  padding: 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}
.stat-box .label { font-size: 0.9rem; opacity: 0.9; }
.stat-box .value { font-size: 2.2rem; font-weight: 700; }


/* --- Print Styles --- */
@media print {
  .no-print, .navbar { display: none !important; }
  .page-content { padding-top: 0; }
  @page { size: A4; margin: 12mm; }
  .print-footer {
    position: fixed; bottom: 0; left: 0; right: 0; font-size: .8rem; color: #555;
    display: flex; justify-content: space-between;
  }
}
