/* CSS para forçar a impressão de cores no PDF */
@media print {
	body { background: white !important; color: black !important; }
	.conv-btn, .conv-tool-header p { display: none !important; } /* Esconde o botão e o selo na impressão */
	.conv-card { border: none !important; box-shadow: none !important; }
	.conv-resistor-viz { border: 1px solid #eee !important; }

	/* A MÁGICA PARA O PDF: */
	* {
		-webkit-print-color-adjust: exact !important;
		print-color-adjust: exact !important;
		color-adjust: exact !important;
	}
}

/* Estilo do Resistor */
.conv-resistor-viz {
	background: #0f0f15;
	border-radius: var(--conv-radius);
	padding: 50px 20px;
	margin-bottom: 30px;
	border: 1px solid var(--conv-border);
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
}

.conv-wire {
	width: 100%;
	height: 6px;
	background: #444;
	position: absolute;
	z-index: 1;
}

.conv-resistor-body {
	width: 220px;
	height: 65px;
	background: #ceb180;
	border-radius: 20px;
	position: relative;
	z-index: 2;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 30px;
	box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.conv-band {
	width: 14px;
	height: 100%;
	transition: var(--conv-transition);
}

.conv-legend-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
	margin-top: 20px;
}

.conv-legend-card {
	background: #f8fafc;
	padding: 10px;
	border-radius: 8px;
	border: 1px solid var(--conv-border);
	display: flex;
	align-items: center;
	gap: 10px;
}

.conv-color-dot {
	width: 15px;
	height: 15px;
	border-radius: 50%;
	border: 1px solid rgba(0,0,0,0.1);
}