/* WebGuard front-end styles. Restrictions are intentionally scoped to enabled options via body classes. */
body.webguard-protect-selection,
body.webguard-protect-selection * {
	-webkit-user-select: none !important;
	-moz-user-select: none !important;
	-ms-user-select: none !important;
	user-select: none !important;
	-webkit-touch-callout: none;
}
body.webguard-protect-selection input,
body.webguard-protect-selection textarea,
body.webguard-protect-selection select,
body.webguard-protect-selection [contenteditable="true"],
body.webguard-protect-selection [contenteditable=""],
body.webguard-protect-selection .elementor-field,
body.webguard-protect-selection .woocommerce form .input-text {
	-webkit-user-select: text !important;
	-moz-user-select: text !important;
	-ms-user-select: text !important;
	user-select: text !important;
}
body.webguard-protect-image-drag img,
body.webguard-protect-image-drag picture,
body.webguard-protect-image-drag video,
body.webguard-protect-svg svg {
	-webkit-user-drag: none !important;
	user-drag: none !important;
}
body.webguard-protect-svg svg {
	-webkit-user-select: none !important;
	user-select: none !important;
}
@media print {
	body.webguard-print-deterrence * {
		visibility: hidden !important;
	}
	body.webguard-print-deterrence::before {
		content: "Printing is disabled on this website.";
		visibility: visible !important;
		display: block;
		font-size: 24px;
		padding: 40px;
	}
}
#webguard-notice {
	position: fixed;
	z-index: 2147483647;
	left: 50%;
	bottom: 24px;
	transform: translateX(-50%) translateY(12px);
	max-width: min(92vw, 560px);
	padding: 12px 18px;
	border-radius: 10px;
	background: #172033;
	color: #fff;
	font: 500 14px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	box-shadow: 0 8px 30px rgba(0,0,0,.22);
	opacity: 0;
	pointer-events: none;
	transition: opacity .18s ease, transform .18s ease;
	text-align: center;
}
#webguard-notice.is-visible {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}
#webguard-watermark {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	pointer-events: none !important;
	overflow: hidden;
	display: block;
}
#webguard-watermark span {
	position: absolute;
	inset: -50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 200%;
	height: 200%;
	transform: rotate(-28deg);
	color: rgba(90, 90, 90, var(--webguard-watermark-opacity, .12));
	font: 700 22px/1.4 Arial, sans-serif;
	letter-spacing: 2px;
	text-align: center;
	white-space: pre-wrap;
	word-break: break-all;
	background-image: repeating-linear-gradient(
		-28deg,
		transparent 0,
		transparent 210px,
		currentColor 211px,
		transparent 212px
	);
}
