/* Groups + knockout visible finish CTA */

.tfp-groups-knockout-cta {
	margin: 12px 0 14px;
	padding: 12px;
	border-radius: 22px;
	border: 1px solid rgba(47, 116, 255, 0.18);
	background:
		radial-gradient(circle at 100% 0%, rgba(45, 185, 255, 0.12), transparent 34%),
		linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
	box-shadow: 0 14px 34px rgba(11, 35, 80, 0.08);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
}

.tfp-groups-knockout-cta__info {
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 12px;
}

.tfp-groups-knockout-cta__info > span {
	width: 46px;
	height: 46px;
	flex: 0 0 46px;
	border-radius: 16px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #f97316 0%, #ef4444 48%, #db2777 100%);
	box-shadow: 0 12px 24px rgba(239, 68, 68, 0.22);
	color: #ffffff;
	font-size: 20px;
}

.tfp-groups-knockout-cta__info strong {
	display: block;
	color: #10214a;
	font-size: 16px;
	line-height: 1.1;
	font-weight: 900;
	letter-spacing: -0.02em;
}

.tfp-groups-knockout-cta__info small {
	display: block;
	margin-top: 4px;
	color: #5f6f8d;
	font-size: 12px;
	line-height: 1.3;
	font-weight: 750;
}

.tfp-groups-knockout-cta__button {
	min-height: 44px;
	min-width: 174px;
	border: 0;
	border-radius: 16px;
	padding: 0 18px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	background: linear-gradient(135deg, #f97316 0%, #ef4444 48%, #db2777 100%);
	box-shadow: 0 14px 28px rgba(239, 68, 68, 0.22);
	font:
		900 13px/1 system-ui,
		-apple-system,
		BlinkMacSystemFont,
		'Segoe UI',
		sans-serif;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
}

.tfp-groups-knockout-cta__button--ready {
	background: linear-gradient(135deg, #256eff 0%, #13b7ef 100%);
	box-shadow: 0 14px 28px rgba(37, 110, 255, 0.2);
}

.tfp-groups-knockout-cta__button:disabled {
	cursor: not-allowed;
	opacity: 0.58;
	filter: grayscale(0.25);
}

@media (max-width: 768px) {
	.tfp-groups-knockout-cta {
		margin: 10px 0 12px;
		padding: 10px;
		border-radius: 18px;
		display: grid;
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.tfp-groups-knockout-cta__info {
		gap: 10px;
	}

	.tfp-groups-knockout-cta__info > span {
		width: 40px;
		height: 40px;
		flex-basis: 40px;
		border-radius: 14px;
		font-size: 18px;
	}

	.tfp-groups-knockout-cta__info strong {
		font-size: 14px;
	}

	.tfp-groups-knockout-cta__info small {
		font-size: 11px;
	}

	.tfp-groups-knockout-cta form {
		margin: 0;
	}

	.tfp-groups-knockout-cta__button {
		width: 100%;
		min-width: 0;
		min-height: 46px;
		border-radius: 16px;
		font-size: 13px;
	}
}

/* SAFE PATCH — zakończenie grup możliwe od razu */
.tfp-groups-knockout-cta__button:not(:disabled) {
	opacity: 1 !important;
	filter: none !important;
}

.tfp-groups-knockout-cta__info small {
	max-width: 720px;
}
