/*
 * 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.
 */

@media print {
  body.bills-index {
    background: #fff !important;
    color: #000 !important;
    font-size: 12pt;
  }

  body.bills-index .navbar,
  body.bills-index .alert,
  body.bills-index .bill-screen-controls,
  body.bills-index .bill-actions {
    display: none !important;
  }

  body.bills-index .container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  body.bills-index .card {
    border: 0;
    box-shadow: none;
  }

  body.bills-index .table-responsive {
    overflow: visible;
  }

  body.bills-index table {
    width: 100%;
    border-collapse: collapse;
  }

  body.bills-index tr {
    break-inside: avoid;
  }

  body.bills-index th,
  body.bills-index td {
    color: #000 !important;
    background: #fff !important;
    border-color: #777 !important;
    overflow-wrap: anywhere;
  }

  body.bills-index h1,
  body.bills-index h2,
  body.bills-index .bill-total {
    color: #000 !important;
    break-after: avoid;
  }

  body.bills-index p {
    orphans: 3;
    widows: 3;
  }
}
