.wmwp-bbmm-signup-wrap {
	max-width: 1100px;
	margin: 0 auto;
	padding: 20px 0;
}

.wmwp-bbmm-signup-title {
	text-align: center;
	margin-bottom: 8px;
}

.wmwp-bbmm-signup-desc {
	text-align: center;
	margin-bottom: 32px;
	color: #666;
}

.wmwp-bbmm-plans {
	display: grid;
	grid-template-columns: repeat(var(--wmwp-bbmm-columns, 3), 1fr);
	gap: 24px;
}

@media (max-width: 768px) {
	.wmwp-bbmm-plans {
		grid-template-columns: 1fr;
	}
}

.wmwp-bbmm-plan {
	background: #fff;
	border: 2px solid #e2e8f0;
	border-radius: 12px;
	padding: 32px 24px;
	text-align: center;
	transition: border-color 0.2s, box-shadow 0.2s;
	display: flex;
	flex-direction: column;
}

.wmwp-bbmm-plan:hover {
	border-color: #3b82f6;
	box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.wmwp-bbmm-plan--current {
	border-color: #22c55e;
	background: #f0fdf4;
}

.wmwp-bbmm-plan__header {
	margin-bottom: 16px;
}

.wmwp-bbmm-plan__name {
	font-size: 1.5em;
	margin: 0;
	color: #1e293b;
}

.wmwp-bbmm-plan__price {
	font-size: 1.25em;
	font-weight: 600;
	color: #3b82f6;
	margin-bottom: 16px;
}

.wmwp-bbmm-plan__description {
	color: #64748b;
	flex-grow: 1;
	margin-bottom: 24px;
	line-height: 1.6;
}

.wmwp-bbmm-plan__action {
	margin-top: auto;
}

.wmwp-bbmm-plan__btn {
	display: inline-block;
	background: #3b82f6;
	color: #fff !important;
	padding: 12px 32px;
	border-radius: 8px;
	text-decoration: none !important;
	font-weight: 600;
	transition: background 0.2s;
}

.wmwp-bbmm-plan__btn:hover {
	background: #2563eb;
}

.wmwp-bbmm-plan__badge {
	display: inline-block;
	background: #22c55e;
	color: #fff;
	padding: 10px 24px;
	border-radius: 8px;
	font-weight: 600;
}

/* =====================================================
   Restricted Content Placeholder (server-side replaced)
   ===================================================== */

.wmwp-restricted-placeholder {
	position: relative;
	padding: 8px 0 18px;
	min-height: 72px;
}

.wmwp-restricted-placeholder span {
	display: block;
	height: 12px;
	background: linear-gradient( 90deg, #e2e8f0 0%, #f1f5f9 50%, #e2e8f0 100% );
	border-radius: 6px;
	margin-bottom: 10px;
	filter: blur( 3px );
}

.wmwp-restricted-placeholder span:nth-child(1) { width: 92%; }
.wmwp-restricted-placeholder span:nth-child(2) { width: 76%; }
.wmwp-restricted-placeholder span:nth-child(3) { width: 58%; }

/* Inside the BuddyBoss share modal preview */
.shared-activity-preview .wmwp-restricted-placeholder {
	padding: 4px 0 8px;
	min-height: 50px;
}

/* =====================================================
   Blur Overlay (fallback for media-only posts)
   ===================================================== */

.wmwp-blur-content {
	filter: blur(7px);
	user-select: none;
	pointer-events: none;
	position: relative;
}

.wmwp-upgrade-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	z-index: 5;
	padding: 16px;
	pointer-events: auto;
}

.wmwp-overlay-heading {
	margin: 0;
	font-size: 0.85em;
	font-weight: 600;
	color: #1e293b;
	text-align: center;
	text-shadow: 0 1px 3px rgba(255,255,255,0.8);
}

.wmwp-overlay-btn {
	display: inline-block;
	padding: 10px 22px;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	font-weight: 600;
	font-size: 0.85em;
	line-height: 1.4;
	box-shadow: 0 2px 8px rgba(0,0,0,0.18);
	transition: opacity 0.15s, transform 0.15s;
}

.wmwp-overlay-btn:hover {
	opacity: 0.88;
	transform: translateY(-1px);
}

/* =====================================================
   Upgrade Modal
   ===================================================== */

.wmwp-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.65);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 99999;
	padding: 20px;
}

.wmwp-modal {
	background: #fff;
	border-radius: 14px;
	padding: 36px 32px 28px;
	max-width: 680px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	position: relative;
	box-shadow: 0 20px 60px rgba(0,0,0,0.25);
	outline: none;
}

@media (max-width: 600px) {
	.wmwp-modal {
		padding: 28px 18px 22px;
	}
}

.wmwp-modal-close {
	position: absolute;
	top: 14px;
	right: 16px;
	background: none;
	border: none;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	color: #94a3b8;
	padding: 4px 6px;
	border-radius: 4px;
	transition: color 0.15s;
}

.wmwp-modal-close:hover {
	color: #1e293b;
}

.wmwp-modal-title {
	margin: 0 0 6px;
	font-size: 1.35em;
	font-weight: 700;
}

.wmwp-modal-subtitle {
	color: #64748b;
	margin: 0 0 28px;
	font-size: 0.95em;
	line-height: 1.5;
}

.wmwp-modal-plans {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 14px;
}

.wmwp-modal-plan {
	border: 2px solid #e2e8f0;
	border-radius: 10px;
	padding: 22px 16px 18px;
	text-align: center;
	display: flex;
	flex-direction: column;
	gap: 8px;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.wmwp-modal-plan:hover {
	border-color: currentColor;
	box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.wmwp-modal-plan-name {
	margin: 0;
	font-size: 1.1em;
	font-weight: 700;
}

.wmwp-modal-plan-price {
	color: #64748b;
	font-size: 0.9em;
	flex-grow: 1;
}

.wmwp-modal-plan-action {
	margin-top: 8px;
}

.wmwp-modal-plan-btn {
	display: inline-block;
	padding: 10px 20px;
	border-radius: 7px;
	color: #fff !important;
	text-decoration: none !important;
	font-weight: 600;
	font-size: 0.88em;
	transition: opacity 0.15s;
}

.wmwp-modal-plan-btn:hover {
	opacity: 0.88;
}

.wmwp-modal-badge {
	display: inline-block;
	background: #22c55e;
	color: #fff;
	padding: 8px 16px;
	border-radius: 7px;
	font-weight: 600;
	font-size: 0.88em;
}

.wmwp-modal-noplans {
	color: #94a3b8;
	text-align: center;
	padding: 24px;
	grid-column: 1 / -1;
}
