/* 🌐 Stili generali */
body {
	font-family: 'Arial', sans-serif;
	background-color: #f5f5f5;
	color: #333;
	text-align: center;
	padding: 20px;
}

/* 🖼 Contenitore principale */
.print-container {
	background-color: #fff;
	width: 80%;
	max-width: 800px;
	margin: auto;
	padding: 20px;
	border: 1px solid #ddd;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
	text-align: left;
}

/* 📌 Header */
.print-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 2px solid #000;
	padding-bottom: 10px;
	margin-bottom: 20px;
}

/* 🔹 Allineamento sinistra (Logo + titolo) */
.header-left {
	display: flex;
	align-items: center;
	gap: 10px;
}

.logo {
	max-height: 100px;
}

h1 {
	font-size: 18px;
	margin: 0;
}

/* 📌 Allineamento QR Code */
.header-right {
	width: 100px;
	height: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
}

#qrcode {
	width: 100px !important;
	height: 100px !important;
}

/* 📊 Tabelle */
.char-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 15px;
}

.char-table th, .char-table td {
	border: 1px solid #000;
	padding: 5px;
	text-align: left;
}

/* 📝 Titoli */
h2, h3 {
	text-align: center;
	margin-bottom: 10px;
}

/* 🖨 Stili specifici per la stampa */
@media print {
	body {
		background: none;
		color: #000;
	}

	.print-container {
		box-shadow: none;
		border: 1px solid #000;
	}

	.logo {
		max-height: 100px;
	}

	#qrcode canvas {
		width: 100px !important;
		height: 100px !important;
		display: block;
		margin: 0 auto;
	}


	h3 {
		border-bottom: 1px solid #000;
		font-size: 14px;
		margin-top: 10px;
	}

	.char-table th, .char-table td {
		font-size: 12px;
		padding: 4px;
	}
}
