/**
 * JBSP Earnings - cross-plugin feature gate placeholder.
 *
 * Rendered by jbsp_feature_gate_notice(). Styles are intentionally theme-agnostic
 * (no colour assumptions beyond the accent variable the theme may set).
 */

.jbsp-feature-gate {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	text-align: center;
	padding: 22px 18px;
	border: 1px dashed rgba( 0, 0, 0, 0.18 );
	border-radius: 10px;
	background: rgba( 0, 0, 0, 0.02 );
	color: inherit;
}

.jbsp-feature-gate .jbsp-gate-lock {
	font-size: 22px;
	line-height: 1;
	opacity: 0.7;
}

.jbsp-feature-gate .jbsp-gate-title {
	font-size: 15px;
	font-weight: 600;
}

.jbsp-feature-gate .jbsp-gate-msg {
	font-size: 13px;
	opacity: 0.75;
	max-width: 42ch;
}

.jbsp-feature-gate .jbsp-gate-cta {
	margin-top: 6px;
	display: inline-block;
	padding: 7px 16px;
	border-radius: 999px;
	background: var( --jbsp-accent, #10b981 );
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}

.jbsp-feature-gate .jbsp-gate-cta:hover,
.jbsp-feature-gate .jbsp-gate-cta:focus {
	filter: brightness( 1.08 );
	color: #fff;
}

/* Inline variant, for a single KPI tile or a button slot. */
.jbsp-feature-gate.jbsp-gate-inline {
	padding: 10px 12px;
	border-radius: 8px;
	font-size: 12px;
}

.jbsp-feature-gate.jbsp-gate-inline .jbsp-gate-lock {
	font-size: 15px;
}
