/* Standalone Print Stylesheet for Accreditation PVC / Lanyard Cards */
/* Import this file into your React index.css or include it in index.html */

@media print {
  *, *::before, *::after {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    color-adjust: exact !important;
  }

  @page {
    margin: 6mm;
    size: auto;
  }

  html, body {
    background: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 100% !important;
  }

  body * {
    visibility: hidden !important;
  }

  .print-area, .print-area * {
    visibility: visible !important;
  }

  .print-area {
    position: absolute !important;
    left: 50% !important;
    top: 20px !important;
    transform: translateX(-50%) !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }

  .no-print {
    display: none !important;
  }
}
