/* Custom Portal Styles & Print Media Rules */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;600&display=swap');

* {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  box-sizing: border-box;
}

code, pre, .font-mono {
  font-family: 'JetBrains Mono', monospace;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(156, 163, 175, 0.3);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(156, 163, 175, 0.5);
}

/* Print Styling Rules - Ready to Print Direct */
@media screen {
  .print-only {
    display: none !important;
  }
}

@media print {
  body * {
    visibility: hidden;
  }
  
  .no-print,
  aside,
  header,
  nav,
  .btn-action,
  #sidebar,
  #topNavbar,
  #modalBackdrop,
  .toast-container {
    display: none !important;
  }

  .print-only,
  .print-only * {
    visibility: visible;
  }

  .print-only {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #ffffff !important;
    color: #000000 !important;
  }

  /* Thermal Receipt Print Size */
  .thermal-receipt {
    width: 78mm !important;
    margin: 0 auto;
    font-size: 11px;
    line-height: 1.4;
    padding: 4mm;
    color: #000;
  }

  /* Standard A4 Document Print Size */
  .a4-document {
    width: 100% !important;
    padding: 15mm 20mm;
    font-size: 12px;
    color: #000;
    line-height: 1.5;
  }

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