/* BHROMI — ticket invoice card (2026-11-21). Loaded from index.html like
   booking-invoice.css. Card follows the site pattern: clean white, premium
   card, soft shadow. Print rules print ONLY the card when its own Print
   button was used (body.tkinv-open). */
.tkinv { background: #fff; border: 1px solid #e8edf3; border-radius: 18px; padding: 18px 16px; box-shadow: 0 6px 24px rgba(15, 23, 42, .05); color: #0f172a; margin-top: 16px; }
.tkinv-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.tkinv-title { font-size: 17px; font-weight: 700; margin: 0; color: #0f172a; }
.tkinv-sub { font-size: 12.5px; color: #64748b; margin: 3px 0 0; }
.tkinv-pill { flex: none; font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: #e8effd; color: #0a62ec; }
.tkinv-pill.done { background: #e7f8ee; color: #15803d; }
.tkinv-rows { border-top: 1px solid #f1f5f9; }
.tkinv-row { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid #f1f5f9; font-size: 13.5px; }
.tkinv-k { color: #64748b; flex: none; }
.tkinv-v { font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.tkinv-qr { text-align: center; padding: 14px 0 4px; }
.tkinv-qr-svg { width: 132px; height: 132px; display: inline-block; }
.tkinv-qr-t { font-size: 12.5px; color: #64748b; margin: 8px 0 0; }
.tkinv-qr-r { font-family: monospace; font-size: 12.5px; font-weight: 700; margin: 2px 0 0; color: #0f172a; }
.tkinv-print { width: 100%; height: 46px; margin-top: 14px; border: 1px solid #dbe4f0; border-radius: 12px; background: #fff; color: #0f172a; font-size: 14px; font-weight: 600; cursor: pointer; }
.tkinv-print:active { background: #f6f9ff; }

@media print {
  body.tkinv-open * { visibility: hidden; }
  body.tkinv-open .tkinv, body.tkinv-open .tkinv * { visibility: visible; }
  body.tkinv-open .tkinv { position: absolute; left: 0; top: 0; width: 100%; margin: 0; border: 0; border-radius: 0; box-shadow: none; }
  body.tkinv-open .tkinv-print { display: none !important; }
}
