/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Print-specific styles for Excel-like compact layout */
@media print {
  .print-table {
    border-collapse: collapse;
    width: 100%;
    font-size: 11px;
    line-height: 1.2;
  }

  .print-table th,
  .print-table td {
    border: 1px solid #333;
    padding: 2px 4px;
    vertical-align: top;
  }

  .print-table th {
    background-color: #f8f9fa !important;
    font-weight: 600;
    text-align: left;
  }

  .print-table tbody tr:nth-child(even) {
    background-color: #f9f9f9 !important;
  }

  /* Supplier grouping rows */
  .print-table tbody tr.bg-gray-100 {
    background-color: #e9ecef !important;
    font-weight: 600;
  }

  /* Page breaks */
  .print-table {
    page-break-inside: auto;
  }

  .print-table tr {
    page-break-inside: avoid;
    page-break-after: auto;
  }

  .print-table thead {
    display: table-header-group;
  }
}
