/* Lid worden: clean pay CTA + payment logos below (checkout pattern) */

.with_frm_style.frm_style_formidable-style .frm_submit,
.frm_forms.with_frm_style .frm_submit {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.65rem;
	width: 100%;
	margin-top: 0.35rem;
}

html body .with_frm_style.frm_style_formidable-style .frm_submit button.frm_button_submit.erkopa-lid-pay-cta,
html body .frm_forms.with_frm_style .frm_submit button.erkopa-lid-pay-cta {
	--erkopa-cta: #2A6EBB;
	--erkopa-cta-hover: #245fa3;
	--erkopa-cta-active: #1e508c;

	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-sizing: border-box !important;
	width: auto !important;
	max-width: 100% !important;
	height: auto !important;
	min-height: 2.75rem !important;
	margin: 0 !important;
	padding: 0.7rem 1.15rem !important;
	font-family: inherit !important;
	font-size: 0.95rem !important;
	font-weight: 600 !important;
	letter-spacing: 0 !important;
	line-height: 1.25 !important;
	text-align: center !important;
	text-decoration: none !important;
	text-shadow: none !important;
	text-transform: none !important;
	color: #fff !important;
	border: 1px solid var(--erkopa-cta) !important;
	border-radius: 8px !important;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	background: var(--erkopa-cta) !important;
	background-image: none !important;
	box-shadow: 0 1px 2px rgba(15, 55, 95, 0.12) !important;
	transition:
		background-color 0.18s ease,
		border-color 0.18s ease,
		box-shadow 0.18s ease,
		transform 0.18s ease !important;
}

html body .with_frm_style.frm_style_formidable-style .frm_submit button.frm_button_submit.erkopa-lid-pay-cta::before,
html body .with_frm_style.frm_style_formidable-style .frm_submit button.frm_button_submit.erkopa-lid-pay-cta::after,
html body .frm_forms.with_frm_style .frm_submit button.erkopa-lid-pay-cta::before,
html body .frm_forms.with_frm_style .frm_submit button.erkopa-lid-pay-cta::after {
	content: none !important;
	display: none !important;
}

html body .with_frm_style.frm_style_formidable-style .frm_submit button.frm_button_submit.erkopa-lid-pay-cta:hover,
html body .with_frm_style.frm_style_formidable-style .frm_submit button.frm_button_submit.erkopa-lid-pay-cta:focus,
html body .frm_forms.with_frm_style .frm_submit button.erkopa-lid-pay-cta:hover,
html body .frm_forms.with_frm_style .frm_submit button.erkopa-lid-pay-cta:focus {
	color: #fff !important;
	border-color: var(--erkopa-cta-hover) !important;
	background: var(--erkopa-cta-hover) !important;
	background-image: none !important;
	box-shadow: 0 2px 8px rgba(42, 110, 187, 0.28) !important;
	transform: translateY(-1px);
	outline: none;
	text-transform: none !important;
}

html body .with_frm_style.frm_style_formidable-style .frm_submit button.frm_button_submit.erkopa-lid-pay-cta:focus-visible,
html body .frm_forms.with_frm_style .frm_submit button.erkopa-lid-pay-cta:focus-visible {
	outline: 2px solid #f0ab00 !important;
	outline-offset: 2px;
}

html body .with_frm_style.frm_style_formidable-style .frm_submit button.frm_button_submit.erkopa-lid-pay-cta:active,
html body .frm_forms.with_frm_style .frm_submit button.erkopa-lid-pay-cta:active {
	color: #fff !important;
	border-color: var(--erkopa-cta-active) !important;
	background: var(--erkopa-cta-active) !important;
	box-shadow: none !important;
	transform: none;
	text-transform: none !important;
}

/* Payment method logos under CTA — one shared pill */
.frm_forms .frm_submit .erkopa-lid-pay-methods {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem;
	margin: 0 !important;
	padding: 0.35rem 0.65rem;
	background: #fff;
	border: 1px solid #e4e7ec;
	border-radius: 999px;
	box-sizing: border-box;
	overflow: visible;
}

.frm_forms .frm_submit .erkopa-lid-pay-methods .erkopa-lid-pay-logo {
	display: block;
	width: auto;
	height: 22px;
	max-width: 44px;
	object-fit: contain;
	object-position: center;
	flex-shrink: 0;
	overflow: visible;
}

@media (prefers-reduced-motion: reduce) {
	html body .with_frm_style.frm_style_formidable-style .frm_submit button.frm_button_submit.erkopa-lid-pay-cta,
	html body .frm_forms.with_frm_style .frm_submit button.erkopa-lid-pay-cta {
		transition: none !important;
	}

	html body .with_frm_style.frm_style_formidable-style .frm_submit button.frm_button_submit.erkopa-lid-pay-cta:hover,
	html body .frm_forms.with_frm_style .frm_submit button.erkopa-lid-pay-cta:hover {
		transform: none;
	}
}

.frm_forms .frm_html_container {
	overflow-wrap: break-word;
	word-break: normal;
	hyphens: auto;
}

@media (max-width: 480px) {
	html body .with_frm_style.frm_style_formidable-style .frm_submit button.frm_button_submit.erkopa-lid-pay-cta,
	html body .frm_forms.with_frm_style .frm_submit button.erkopa-lid-pay-cta {
		width: 100% !important;
		min-height: 2.75rem !important;
		padding: 0.75rem 1rem !important;
		font-size: 0.9375rem !important;
		border-radius: 8px !important;
	}

	.frm_forms .frm_submit .erkopa-lid-pay-methods {
		width: 100%;
		justify-content: center;
		padding: 0.4rem 0.75rem;
		border-radius: 999px;
	}

	.frm_forms .frm_submit .erkopa-lid-pay-methods .erkopa-lid-pay-logo {
		height: 20px;
		max-width: 40px;
	}

	.frm_forms .frm_html_container p {
		font-size: 0.98em;
		line-height: 1.45;
	}

	.frm_forms .frm_html_container p[style*="font-weight:700"],
	.frm_forms .frm_html_container p[style*="font-weight: 700"] {
		font-size: 1.05em !important;
		line-height: 1.35;
	}
}
