/* Print-specific styles for QR code labels */
@media print {
  /* Hide global chrome when printing */
  header,
  footer,
  .no-print {
    display: none !important;
  }

  /* Use full page width for labels */
  .max-w-6xl {
    max-width: 100% !important;
  }

  .px-4 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .py-6 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  body {
    background: #ffffff !important;
  }

  /* Tighter grid & card styling for sheets */
  .qr-print-sheet {
    gap: 0.5rem !important;
  }

  .qr-print-row {
    gap: 0.5rem !important;
  }

  .qr-print-card {
    box-shadow: none !important;
    border-color: #000000 !important;
    page-break-inside: avoid;
  }

  .qr-print-card-inner {
    min-height: 5cm;
  }

  .qr-print-qr-col {
    width: 4cm !important;
  }

  .qr-print-qr-img {
    width: 3cm !important;
    height: 3cm !important;
  }

  .qr-print-footer {
    border-top: none !important;
  }

  .qr-print-footer-link {
    display: none !important;
  }

  /* For unassigned codes, hide "unassigned" labels & path text */
  .qr-unassigned-label,
  .qr-unassigned-path {
    visibility: hidden;
  }
}
