/* Online jelentkezés – finomhangolások (checkout stílus: arkalkulator/embed.css) */
body.page-id-37 #Subheader .title,
body.page-id-37 .mfn-builder-content .fancy_heading .title {
	font-size: inherit;
}

body.page-id-37 #ft-arkalkulator[data-ft-module="jelentkezes"] {
	margin-top: 40px;
	padding-top: 24px;
	scroll-margin-top: 110px;
	max-width: 1180px;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}

body.admin-bar.page-id-37 #ft-arkalkulator[data-ft-module="jelentkezes"] {
	scroll-margin-top: 142px;
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .selected-product-table .selected-product-name {
	font-size: 18px;
	font-weight: 600;
	padding: 12px 16px;
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .checkout-actions .back-home-button:only-child {
	margin-right: 0;
}

/* Képzés legördülő – ugyanaz a méret/igazítás, mint a többi contact mező */
#ft-arkalkulator[data-ft-module="jelentkezes"] .contact-table select.kepzesek-legordulo,
#ft-arkalkulator[data-ft-module="jelentkezes"] .contact-table select#kepzes_valasztas {
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	height: 32px !important;
	min-height: 32px !important;
	padding: 4px 10px !important;
	line-height: 1.25 !important;
	font-size: 15px !important;
	display: block !important;
	box-sizing: border-box !important;
	margin: 0 !important;
	border: 1px solid #bfd6ea !important;
	border-radius: 8px !important;
	background: #fff !important;
	color: var(--text, #14283d) !important;
	-webkit-appearance: auto;
	appearance: auto;
}

/* Contact form: inputok kitöltik a sort (desktop fehér csík javítás) */
#ft-arkalkulator[data-ft-module="jelentkezes"] .ft-arkalkulator-contact-form {
	width: 100%;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .ft-arkalkulator-contact-form .checkout-summary {
	width: 100%;
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .contact-table {
	width: 100% !important;
	max-width: 640px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .contact-table tbody {
	display: block;
	width: 100%;
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .contact-table tr.contact-field-row {
	width: 100% !important;
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .contact-table td.contact-value-cell {
	flex: 1 1 0 !important;
	width: auto !important;
	min-width: 0 !important;
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .contact-table input[type=text],
#ft-arkalkulator[data-ft-module="jelentkezes"] .contact-table input[type=email],
#ft-arkalkulator[data-ft-module="jelentkezes"] .contact-table input[type=tel] {
	width: 100% !important;
	max-width: 100% !important;
	display: block !important;
	box-sizing: border-box !important;
	height: 32px !important;
	padding: 4px 10px !important;
	line-height: 1.25 !important;
	font-size: 15px !important;
	margin: 0 !important;
	border-radius: 8px !important;
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .elkuldom-container {
	width: 100% !important;
	max-width: 100% !important;
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .contact-submit-cell {
	width: 100%;
	box-sizing: border-box;
	padding-top: 12px;
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .contact-adatvedelem-checkbox {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	margin: 0 0 14px;
	padding: 10px 12px;
	text-align: left;
	font-size: 13.5px;
	line-height: 1.45;
	color: var(--text, #14283d);
	cursor: pointer;
	background: #f4f8fb;
	border: 1px solid #d7e6f2;
	border-radius: 8px;
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .contact-adatvedelem-checkbox span {
	flex: 1 1 auto;
	min-width: 0;
	white-space: normal !important;
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .contact-adatvedelem-checkbox input[type=checkbox] {
	width: 18px !important;
	height: 18px !important;
	min-width: 18px !important;
	min-height: 18px !important;
	margin: 0 !important;
	padding: 0 !important;
	flex: 0 0 18px;
	accent-color: #e92990;
	cursor: pointer;
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .contact-adatvedelem-checkbox a {
	color: var(--primary, #194371);
	font-weight: 600;
	text-decoration: underline;
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .contact-adatvedelem-hiba {
	display: block;
	text-align: center;
	margin: -4px auto 10px;
	max-width: 640px;
}

/* Mobil – arkalkulator checkout mintájára (WP / BeTheme felülírások ellen) */
@media (max-width: 767px) {
	body.page-id-37 #ft-arkalkulator[data-ft-module="jelentkezes"] {
		margin-top: 24px;
		padding-top: 12px;
		padding-left: 0;
		padding-right: 0;
		overflow-x: hidden;
	}

	body.page-id-37 #ft-arkalkulator[data-ft-module="jelentkezes"] .checkout-panel {
		padding: 12px !important;
		margin-top: 12px;
	}

	body.page-id-37 #ft-arkalkulator[data-ft-module="jelentkezes"] .checkout-actions {
		flex-direction: column !important;
		gap: 10px;
	}

	body.page-id-37 #ft-arkalkulator[data-ft-module="jelentkezes"] .back-edit-button,
	body.page-id-37 #ft-arkalkulator[data-ft-module="jelentkezes"] .checkout-actions .back-home-button {
		width: 100% !important;
		min-width: 0 !important;
	}

	body.page-id-37 #ft-arkalkulator[data-ft-module="jelentkezes"] .checkout-warning-text {
		font-size: 14px;
		line-height: 1.45;
		overflow-wrap: anywhere;
		word-break: break-word;
	}

	body.page-id-37 #ft-arkalkulator[data-ft-module="jelentkezes"] .selected-machines {
		justify-content: flex-start !important;
		gap: 4px !important;
		margin-bottom: 8px !important;
	}

	body.page-id-37 #ft-arkalkulator[data-ft-module="jelentkezes"] .selected-machine-table,
	body.page-id-37 #ft-arkalkulator[data-ft-module="jelentkezes"] .selected-product-table {
		max-width: 100% !important;
		min-width: 0 !important;
		width: 100% !important;
		margin: 0 !important;
	}

	body.page-id-37 #ft-arkalkulator[data-ft-module="jelentkezes"] .selected-machine-name-cell,
	body.page-id-37 #ft-arkalkulator[data-ft-module="jelentkezes"] .selected-product-name {
		font-size: 15px;
		line-height: 1.35;
		overflow-wrap: anywhere;
		word-break: break-word;
	}

	body.page-id-37 #ft-arkalkulator[data-ft-module="jelentkezes"] .checkout-card {
		padding: 14px !important;
		margin-bottom: 10px;
	}

	body.page-id-37 #ft-arkalkulator[data-ft-module="jelentkezes"] .checkout-total {
		white-space: normal;
		line-height: 1.35;
		overflow-wrap: anywhere;
	}

	body.page-id-37 #ft-arkalkulator[data-ft-module="jelentkezes"] .checkout-total-price {
		font-size: 30px !important;
	}

	body.page-id-37 #ft-arkalkulator[data-ft-module="jelentkezes"] .checkout-total-cta {
		font-size: 12px !important;
		white-space: normal !important;
		overflow-wrap: anywhere;
		word-break: break-word;
		line-height: 1.35;
	}

	body.page-id-37 #ft-arkalkulator[data-ft-module="jelentkezes"] .checkout-fee-checkbox {
		justify-content: flex-start !important;
		align-items: center !important;
		text-align: left;
		line-height: 1.35;
	}

	body.page-id-37 #ft-arkalkulator[data-ft-module="jelentkezes"] .ft-arkalkulator-contact-form {
		width: 100%;
		max-width: 100%;
		padding: 0;
	}

	body.page-id-37 #ft-arkalkulator[data-ft-module="jelentkezes"] .contact-table {
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 !important;
	}

	body.page-id-37 #ft-arkalkulator[data-ft-module="jelentkezes"] .contact-table tbody {
		display: block !important;
		width: 100% !important;
	}

	body.page-id-37 #ft-arkalkulator[data-ft-module="jelentkezes"] .contact-table tr.contact-field-row {
		display: flex !important;
		flex-direction: row !important;
		align-items: center !important;
		width: 100% !important;
		box-sizing: border-box !important;
	}

	body.page-id-37 #ft-arkalkulator[data-ft-module="jelentkezes"] .contact-table tr.contact-field-row td {
		display: block !important;
		border: none !important;
		padding: 8px !important;
		box-sizing: border-box !important;
	}

	body.page-id-37 #ft-arkalkulator[data-ft-module="jelentkezes"] .contact-table td.contact-label-cell {
		flex: 0 0 96px !important;
		width: 96px !important;
		max-width: 96px !important;
		font-size: 14px !important;
		padding-right: 8px !important;
		line-height: 32px !important;
	}

	body.page-id-37 #ft-arkalkulator[data-ft-module="jelentkezes"] .contact-table td.contact-value-cell {
		flex: 1 1 auto !important;
		width: auto !important;
		min-width: 0 !important;
	}

	body.page-id-37 #ft-arkalkulator[data-ft-module="jelentkezes"] .contact-table input[type=text],
	body.page-id-37 #ft-arkalkulator[data-ft-module="jelentkezes"] .contact-table input[type=email],
	body.page-id-37 #ft-arkalkulator[data-ft-module="jelentkezes"] .contact-table input[type=tel],
	body.page-id-37 #ft-arkalkulator[data-ft-module="jelentkezes"] .contact-table select.kepzesek-legordulo,
	body.page-id-37 #ft-arkalkulator[data-ft-module="jelentkezes"] .contact-table select#kepzes_valasztas {
		width: 100% !important;
		max-width: none !important;
		min-width: 0 !important;
		height: 32px !important;
		min-height: 32px !important;
		padding: 4px 10px !important;
		line-height: 1.25 !important;
		font-size: 15px !important;
		margin: 0 !important;
		border-radius: 8px !important;
	}

	body.page-id-37 #ft-arkalkulator[data-ft-module="jelentkezes"] .contact-table tr:not(.contact-field-row) {
		display: block !important;
		width: 100% !important;
	}

	body.page-id-37 #ft-arkalkulator[data-ft-module="jelentkezes"] .contact-table tr:not(.contact-field-row) td {
		display: block !important;
		width: 100% !important;
		padding: 8px !important;
	}

	body.page-id-37 #ft-arkalkulator[data-ft-module="jelentkezes"] .contact-note {
		font-size: 14px !important;
		line-height: 1.35;
	}

	body.page-id-37 #ft-arkalkulator[data-ft-module="jelentkezes"] .elkuldom-container,
	body.page-id-37 #ft-arkalkulator[data-ft-module="jelentkezes"] .contact-submit-button {
		width: 100% !important;
		max-width: 100% !important;
	}
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .koszonjuk-panel--doku .koszonjuk-vissza-top {
	margin-top: 0;
	margin-bottom: 20px;
	text-align: left;
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .koszonjuk-panel--doku .koszonjuk-vissza-top .back-home-button {
	width: auto !important;
	min-width: 0 !important;
	max-width: 100%;
	padding: 0 20px;
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .koszonjuk-doku-wrap {
	margin-top: 24px;
	margin-bottom: 0;
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .koszonjuk-doku-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	height: 3.5em;
	margin: 0 auto;
	padding: 0 16px;
	line-height: 1.25;
	text-decoration: none;
	text-align: center;
	box-sizing: border-box;
	cursor: pointer;
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .doku-placeholder-panel .koszonjuk-cim {
	color: var(--primary, #27ae60);
}

/* Dokumentum varázsló */
#ft-arkalkulator[data-ft-module="jelentkezes"] .doku-wizard-panel {
	padding: 24px 20px 28px;
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .doku-wizard-top {
	margin-bottom: 16px;
	display: flex;
	justify-content: flex-start;
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .doku-back-btn {
	width: auto;
	min-width: 0;
	max-width: 100%;
	padding: 0 20px;
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .doku-wizard-progress {
	text-align: center;
	margin-bottom: 12px;
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .doku-wizard-progress-text {
	display: inline-block;
	font-size: 14px;
	font-weight: 600;
	color: var(--muted, #5a7186);
	background: #eef5fb;
	padding: 4px 12px;
	border-radius: 999px;
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .doku-wizard-step-label {
	font-size: 13px;
	font-weight: 600;
	color: var(--muted, #5a7186);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 6px;
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .doku-wizard-step-title {
	font-size: 22px;
	font-weight: 700;
	color: var(--text, #14283d);
	margin: 0 0 8px;
	text-align: center;
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .doku-wizard-step-hint {
	font-size: 14px;
	color: var(--muted, #5a7186);
	text-align: center;
	margin: 0 0 20px;
	line-height: 1.5;
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .doku-slots {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-bottom: 16px;
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .doku-slot {
	background: #f8fbfe;
	border: 1px solid #d7e6f3;
	border-radius: 12px;
	padding: 12px;
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .doku-slot-label {
	font-size: 14px;
	font-weight: 600;
	color: var(--text, #14283d);
	margin-bottom: 8px;
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .doku-slot-sub {
	font-weight: 400;
	color: var(--muted, #5a7186);
	font-size: 12px;
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .doku-slot-preview {
	min-height: 120px;
	border: 1px dashed #bfd6ea;
	border-radius: 10px;
	background: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 8px;
	margin-bottom: 10px;
	overflow: hidden;
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .doku-slot-preview--filled {
	border-style: solid;
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .doku-preview-img {
	max-width: 100%;
	max-height: 140px;
	object-fit: contain;
	border-radius: 6px;
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .doku-preview-pdf {
	font-size: 14px;
	color: var(--muted, #5a7186);
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .doku-remove-btn {
	border: 0;
	background: transparent;
	color: #c0392b;
	font-size: 13px;
	cursor: pointer;
	text-decoration: underline;
	padding: 0;
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .doku-slot-actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .doku-action-btn {
	height: 36px;
	border: 1px solid #bfd6ea;
	border-radius: 8px;
	background: #fff;
	color: var(--text, #14283d);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .doku-camera-btn {
	display: none;
}

@media (max-width: 767px) {
	#ft-arkalkulator[data-ft-module="jelentkezes"] .doku-camera-btn {
		display: block;
	}
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .doku-action-btn:hover:not(:disabled) {
	background: #eef5fb;
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .doku-action-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .doku-slot-status {
	font-size: 12px;
	color: var(--muted, #5a7186);
	margin-top: 6px;
	min-height: 16px;
	word-break: break-word;
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .doku-wizard-error {
	background: #fdecea;
	color: #c0392b;
	border-radius: 8px;
	padding: 10px 12px;
	font-size: 14px;
	margin-bottom: 12px;
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .doku-wizard-nav {
	display: flex;
	flex-direction: row;
	gap: 12px;
	margin-top: 16px;
	margin-bottom: 8px;
	width: 100%;
	align-items: stretch;
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .doku-nav-btn {
	flex: 1 1 0;
	min-width: 0;
	width: 100%;
	box-sizing: border-box;
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .doku-skip-btn {
	height: 3.5em;
	border: 1px solid #bfd6ea;
	border-radius: 12px;
	background: #fff;
	color: var(--text, #14283d);
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .doku-next-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 3.5em;
	padding: 0 16px;
	line-height: 1.25;
	border: none;
	border-radius: 12px;
	background-color: #d4eda3;
	color: #1f4a1a;
	font-size: 17px;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 6px 20px rgba(180, 220, 100, 0.35);
	-webkit-appearance: none;
	appearance: none;
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .doku-next-btn:disabled {
	opacity: 0.65;
	cursor: not-allowed;
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .selected-product-icon {
	max-width: 88px;
	max-height: 88px;
	width: auto;
	height: auto;
	object-fit: contain;
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .selected-product-subtitle {
	margin-top: 6px;
	font-size: 15px;
	font-weight: 500;
	color: var(--muted, #5a7186);
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .koszonjuk-figyelmeztetes {
	display: block;
	color: #9a5b00;
	font-size: 14px;
	line-height: 1.5;
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .doku-slot-preview--loading {
	position: relative;
	min-height: 120px;
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .doku-slot-loader {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 16px;
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .doku-slot-spinner {
	width: 36px;
	height: 36px;
	border: 3px solid #d7e6f3;
	border-top-color: #27ae60;
	border-radius: 50%;
	animation: ft-doku-spin 0.8s linear infinite;
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .doku-slot-loader-text {
	font-size: 14px;
	font-weight: 600;
	color: var(--muted, #5a7186);
}

@keyframes ft-doku-spin {
	to {
		transform: rotate(360deg);
	}
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .doku-wizard-panel {
	padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .doku-wizard-panel.doku-wizard-panel--finishing {
	opacity: 0.85;
	pointer-events: none;
}

#ft-arkalkulator[data-ft-module="jelentkezes"] .doku-wizard-complete {
	padding-top: 12px;
}

@media (max-width: 767px) {
	#ft-arkalkulator[data-ft-module="jelentkezes"] .doku-slots {
		grid-template-columns: 1fr;
	}

	#ft-arkalkulator[data-ft-module="jelentkezes"] .doku-wizard-nav {
		flex-direction: column;
	}

	#ft-arkalkulator[data-ft-module="jelentkezes"] .doku-skip-btn,
	#ft-arkalkulator[data-ft-module="jelentkezes"] .doku-next-btn {
		width: 100% !important;
		max-width: 100% !important;
		flex: 0 0 auto !important;
	}

	#ft-arkalkulator[data-ft-module="jelentkezes"] .doku-back-btn,
	#ft-arkalkulator[data-ft-module="jelentkezes"] .koszonjuk-panel--doku .koszonjuk-vissza-top .back-home-button,
	body.page-id-37 #ft-arkalkulator[data-ft-module="jelentkezes"] .doku-back-btn,
	body.page-id-37 #ft-arkalkulator[data-ft-module="jelentkezes"] .koszonjuk-panel--doku .koszonjuk-vissza-top .back-home-button {
		width: auto !important;
		max-width: 100% !important;
		flex: 0 0 auto !important;
	}
}
