/**
 * BizToolbox Print Styles - Clean High-Fidelity PDF & Hardcopy output
 */
@media print {
	/* Hide website chrome, headers, footers, menus, sidebars, buttons, ads */
	header,
	footer,
	nav,
	aside,
	.bt-site-header,
	.bt-site-footer,
	.bt-doc-top-bar,
	.bt-breadcrumbs,
	.bt-ad-slot,
	.no-print,
	.bt-sheet-table-actions,
	.bt-row-del-btn,
	.bt-toast,
	#wpadminbar {
		display: none !important;
	}

	body {
		background: #ffffff !important;
		color: #000000 !important;
		font-size: 11pt !important;
		line-height: 1.4 !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	.bt-document-generator-wrapper,
	.bt-doc-paper-container {
		background: transparent !important;
		padding: 0 !important;
		margin: 0 !important;
		border: none !important;
		box-shadow: none !important;
	}

	.bt-doc-sheet {
		box-shadow: none !important;
		border: none !important;
		padding: 0 !important;
		max-width: 100% !important;
		margin: 0 !important;
	}

	.bt-sheet-input,
	.bt-sheet-textarea,
	.bt-sheet-meta-input,
	.bt-sheet-item-desc,
	.bt-sheet-item-qty,
	.bt-sheet-item-rate,
	.bt-sheet-mini-input,
	input,
	textarea,
	select {
		border: none !important;
		background: transparent !important;
		padding: 0 !important;
		box-shadow: none !important;
		outline: none !important;
		color: #000000 !important;
		-webkit-appearance: none !important;
		-moz-appearance: textfield !important;
		appearance: textfield !important;
	}

	/* Completely remove number stepper spin buttons and icons in print preview and print */
	input::-webkit-outer-spin-button,
	input::-webkit-inner-spin-button,
	input[type="number"]::-webkit-outer-spin-button,
	input[type="number"]::-webkit-inner-spin-button,
	.bt-sheet-item-qty::-webkit-outer-spin-button,
	.bt-sheet-item-qty::-webkit-inner-spin-button,
	.bt-sheet-item-rate::-webkit-outer-spin-button,
	.bt-sheet-item-rate::-webkit-inner-spin-button,
	.bt-sheet-mini-input::-webkit-outer-spin-button,
	.bt-sheet-mini-input::-webkit-inner-spin-button {
		-webkit-appearance: none !important;
		margin: 0 !important;
		display: none !important;
	}

	input[type="number"],
	.bt-sheet-item-qty,
	.bt-sheet-item-rate,
	.bt-sheet-mini-input {
		-moz-appearance: textfield !important;
		appearance: textfield !important;
	}

	/* Hide action columns and interactive controls in table */
	.bt-sheet-table .col-actions,
	.bt-sheet-table th.col-actions,
	.bt-sheet-table td.col-actions {
		display: none !important;
		width: 0 !important;
		padding: 0 !important;
	}

	.bt-sheet-table {
		width: 100% !important;
		border-collapse: collapse !important;
	}

	.bt-sheet-table th,
	.bt-sheet-table td {
		border-bottom: 1px solid #e2e8f0 !important;
	}

	.bt-sheet-qr-section {
		display: block !important;
		margin-top: 8pt !important;
		page-break-inside: avoid !important;
	}

	.bt-sheet-qr-section.bt-qr-hidden {
		display: none !important;
	}

	.bt-qr-card {
		display: flex !important;
		flex-direction: row !important;
		background: transparent !important;
		border: none !important;
		padding: 0 !important;
		margin: 0 !important;
	}

	.bt-qr-display-box {
		display: inline-flex !important;
		flex-direction: column !important;
		align-items: center !important;
		border: 1px solid #cbd5e1 !important;
		box-shadow: none !important;
		padding: 4pt !important;
		background: #ffffff !important;
		width: 85pt !important;
	}

	.bt-qr-canvas-holder {
		width: 75pt !important;
		height: 75pt !important;
		display: block !important;
		overflow: hidden !important;
	}

	.bt-qr-canvas-holder svg {
		width: 100% !important;
		height: 100% !important;
		display: block !important;
	}

	.bt-qr-badge {
		display: block !important;
		font-size: 6.5pt !important;
		font-weight: 700 !important;
		color: #1e3a8a !important;
		margin-top: 2pt !important;
		text-align: center !important;
	}

	@page {
		size: A4 portrait;
		margin: 15mm;
	}
}
