@media print {
	/* Hide everything on the page */
	body * {
		visibility: hidden;
	}

	/* Show only the print container and its contents */
	#print-image-container,
	#print-image-container * {
		visibility: visible;
	}

	/* Make the container fill the entire page area (inside the margins) */
	#print-image-container {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		display: flex;
		justify-content: center; /* Center horizontally */
		align-items: center; /* Center vertically */
	}

	/* Style the image itself to ensure it fits without distortion */
	#print-image-container img {
		max-width: 100%;
		max-height: 100%;
	}

	@page {
		margin: 10mm;
	}
}
