/**
 * Copy-protection deterrent styling. Scoped strictly to .rxcm-protected so
 * the rest of the page (menus, forms, search boxes) stays fully usable.
 * This is a UX deterrent, not real security — see Protection\CopyProtectionMetaBox.
 */
.rxcm-protected {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

/* Form fields inside protected content (e.g. a contact form in a post) must
   stay usable — never blanket-disable selection on inputs/textareas. */
.rxcm-protected input,
.rxcm-protected textarea,
.rxcm-protected select {
	-webkit-user-select: auto;
	-moz-user-select: auto;
	-ms-user-select: auto;
	user-select: auto;
}

.rxcm-protected img {
	-webkit-user-drag: none;
	pointer-events: auto;
}

.rxcm-protection-notice {
	position: fixed;
	bottom: 16px;
	left: 50%;
	transform: translateX(-50%) translateY(20px);
	background: rgba(20, 20, 20, 0.92);
	color: #fff;
	padding: 10px 18px;
	border-radius: 4px;
	font-size: 13px;
	z-index: 100000;
	opacity: 0;
	transition: opacity 0.2s ease, transform 0.2s ease;
	pointer-events: none;
}

.rxcm-protection-notice.is-visible {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

/* CSS watermark overlay for protected images (spec: image protection). */
.rxcm-watermarked {
	position: relative;
	display: inline-block;
}

.rxcm-watermarked::after {
	content: attr(data-rxcm-watermark);
	position: absolute;
	inset: auto 8px 8px auto;
	color: rgba(255, 255, 255, 0.75);
	background: rgba(0, 0, 0, 0.35);
	padding: 2px 8px;
	font-size: 11px;
	line-height: 1.4;
	border-radius: 2px;
	pointer-events: none;
	white-space: nowrap;
}
