/*
 * Straata Subscription — frontend styles for the locked-content block,
 * the subscribe banner shortcode and the bundled popup.
 *
 * Loaded on every front-end view (tiny file); only the classes the
 * plugin actually injects are styled. Neutral slate + Straata teal,
 * light and dark.
 */

.straata-locked {
	margin: 2rem auto;
	max-width: 40rem;
	padding: 2rem 1.75rem;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	background: linear-gradient(180deg, #f8fafc, #ffffff);
	color: #0f172a;
	text-align: center;
	font-family: inherit;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.straata-locked__label {
	display: inline-block;
	margin-bottom: 0.75rem;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #0f766e;
}

.straata-locked__title {
	margin: 0 0 0.5rem;
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.straata-locked__hint {
	margin: 0 0 1.25rem;
	color: #475569;
	font-size: 0.95rem;
	line-height: 1.5;
}

.straata-locked__cta {
	display: inline-block;
	background: #0f766e;
	color: #ffffff;
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: 600;
	padding: 0.7rem 1.4rem;
	border-radius: 10px;
	transition: opacity 0.15s ease;
}

.straata-locked__cta:hover {
	opacity: 0.9;
}

.straata-banner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1rem;
	margin: 1.25rem 0;
	padding: 0.9rem 1.1rem;
	border: 1px solid #ccfbf1;
	border-radius: 12px;
	background: #f0fdfa;
	color: #134e4a;
	font-family: inherit;
}

.straata-banner__text {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 600;
}

.straata-banner__cta {
	background: #0f766e;
	color: #ffffff;
	text-decoration: none;
	font-size: 0.88rem;
	font-weight: 600;
	padding: 0.55rem 1rem;
	border-radius: 8px;
	white-space: nowrap;
	transition: opacity 0.15s ease;
}

.straata-banner__cta:hover {
	opacity: 0.9;
}

@media (prefers-color-scheme: dark) {
	.straata-locked {
		border-color: #1e293b;
		background: linear-gradient(180deg, #0f172a, #111827);
		color: #f1f5f9;
		box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
	}

	.straata-locked__label {
		color: #2dd4bf;
	}

	.straata-locked__hint {
		color: #94a3b8;
	}

	.straata-banner {
		border-color: #134e4a;
		background: #042f2e;
		color: #ccfbf1;
	}
}
