/*
 * Disable Right Clicker frontend styles
 * Contents:
 * 1. Notification overlay
 * 2. Selection blocking helper
 */

/* 1. Notification overlay */
.drc-toast {
	position: fixed;
	top: 50%;
	left: 50%;
	z-index: 999999;
	width: min(90vw, 420px);
	padding: 22px 26px;
	border-radius: 18px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(12, 19, 31, 0.96);
	color: #fff;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.5;
	text-align: center;
	opacity: 0;
	transform: translate(-50%, -50%) scale(0.92);
	pointer-events: none;
	transition: opacity 0.2s ease, transform 0.2s ease;
	backdrop-filter: blur(12px);
}

.drc-toast.is-visible {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
}

/* 2. Selection blocking helper */
body.drc-disable-selection {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

body.drc-disable-selection input,
body.drc-disable-selection textarea,
body.drc-disable-selection select,
body.drc-disable-selection [contenteditable="true"],
body.drc-disable-selection .drc-allow-select {
	-webkit-user-select: text;
	-moz-user-select: text;
	-ms-user-select: text;
	user-select: text;
}
