/* Mobile-first touch targets */
.btn {
  min-height: 44px;
}

.form-control, .form-select {
  min-height: 44px;
}

/* Slightly tighter container on small screens */
@media (max-width: 576px) {
  .container-fluid {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

/* Smaller qty inputs don't need full 44px height */
.qty-input {
  min-height: 36px !important;
}

/* Print / PDF export */
.print-only { display: none; }

@media print {
  .no-print  { display: none !important; }
  .print-only { display: block !important; }

  /* Override Bootstrap dark theme for readable print */
  [data-bs-theme="dark"], body, .card, .table {
    background-color: #fff !important;
    color: #000 !important;
  }
  .card { border: 1px solid #ccc !important; }
  .card-header { background-color: #eee !important; color: #000 !important; }

  /* Keep badges legible */
  .badge {
    border: 1px solid currentColor !important;
    background-color: transparent !important;
    color: inherit !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .bg-danger  { color: #c0392b !important; }
  .bg-success { color: #1e8449 !important; }
  .bg-warning { color: #d68910 !important; }

  /* Force table borders */
  .table td, .table th { border: 1px solid #ccc !important; }
  .table-secondary { background-color: #f2f2f2 !important; }
  .table-success   { background-color: #d5f5e3 !important;
                     -webkit-print-color-adjust: exact; print-color-adjust: exact; }

  .text-success { color: #1e8449 !important; }
  .text-secondary { color: #555 !important; }
  a { color: #000 !important; text-decoration: none !important; }

  .navbar, .alert { display: none !important; }
}
