/* WSM Restrict Content Blur - frontend styles */

.wsm-rcb-restricted {
	position: relative !important;
	overflow: hidden;
	min-height: 220px;
}

.wsm-rcb-restricted > *:not(.wsm-rcb-overlay) {
	pointer-events: none;
	-webkit-user-select: none;
	user-select: none;
}

.wsm-rcb-overlay {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 998;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 24px;
	backdrop-filter: blur(1px);
	-webkit-backdrop-filter: blur(1px);
}

.wsm-rcb-overlay-inner {
	max-width: 460px;
	margin: 0 auto;
}

.wsm-rcb-lock {
	display: inline-block;
	margin-bottom: 12px;
	line-height: 1;
	opacity: 0.9;
}

.wsm-rcb-overlay-heading {
	margin: 0 0 8px;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
}

.wsm-rcb-overlay-subtext {
	margin: 0 0 18px;
	font-size: 15px;
	line-height: 1.5;
	opacity: 0.9;
}

.wsm-rcb-overlay-button {
	display: inline-block;
	padding: 12px 28px;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	transition: transform 0.15s ease, opacity 0.15s ease;
}

.wsm-rcb-overlay-button:hover {
	transform: translateY(-1px);
	opacity: 0.9;
	text-decoration: none;
}

/* Full page mode: one overlay over the entire content area.
   The message box stays sticky in the viewport while scrolling. */
.wsm-rcb-full > .wsm-rcb-overlay {
	align-items: flex-start;
}

.wsm-rcb-full > .wsm-rcb-overlay .wsm-rcb-overlay-inner {
	position: sticky;
	top: 32vh;
}

@media (max-width: 767px) {
	.wsm-rcb-overlay-heading {
		font-size: 18px;
	}
	.wsm-rcb-overlay-subtext {
		font-size: 13px;
	}
	.wsm-rcb-overlay-button {
		padding: 10px 22px;
		font-size: 14px;
	}
}
