
/* Only the Hakalot testimonial dialog. The shared form remains unchanged outside it. */
#znk-hk-video-dialog:not(.hk-watch-with-form) .hk-watch-enquiry, #znk-hk-video-dialog:not(.hk-watch-with-form) .hk-watch-note {
	display: none;
}

#znk-hk-video-dialog.hk-watch-with-form {
	width: min(1240px, calc(100% - 40px));
	max-width: 1240px;
	max-height: calc(100dvh - 40px);
	border-radius: 24px;
	background: #17294f;
	padding: 0;
	color: #243d76;
	font-family: ZnkHakalotHeebo, Arial, sans-serif;
	overscroll-behavior: contain;
}

#znk-hk-video-dialog.hk-watch-with-form * {
	box-sizing: border-box;
}

#znk-hk-video-dialog.hk-watch-with-form .hk-video-top {
	position: sticky;
	top: 0;
	z-index: 3;
	background: #17294f;
	padding: 12px 22px;
	min-height: 64px;
	gap: 16px;
}

#znk-hk-video-dialog.hk-watch-with-form .hk-video-top h2 {
	color: #fff !important;
	font-family: inherit;
	font-weight: 700;
	font-size: 20px;
	line-height: 1.3;
	margin: 0;
}

#znk-hk-video-dialog.hk-watch-with-form .hk-video-close {
	min-height: 42px;
	background: transparent;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, .33);
	border-radius: 30px;
	padding: 8px 15px;
	font-size: 15px;
	white-space: nowrap;
}

#znk-hk-video-dialog.hk-watch-with-form .hk-watch-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 388px;
	align-items: stretch;
}

#znk-hk-video-dialog.hk-watch-with-form .hk-watch-cinema {
	background: #17294f;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	padding: 24px;
}

#znk-hk-video-dialog.hk-watch-with-form .hk-video-screen {
	width: 100%;
	height: auto;
	aspect-ratio: 16/9;
	max-height: none;
	border-radius: 12px;
	overflow: hidden;
	background: #000;
}

#znk-hk-video-dialog.hk-watch-with-form .hk-video-screen iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

#znk-hk-video-dialog.hk-watch-with-form .hk-watch-note {
	margin: 20px 0 0;
	text-align: center;
	color: #fff;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.5;
}

#znk-hk-video-dialog.hk-watch-with-form .hk-watch-enquiry {
	position: relative;
	background: #f2ecfc;
	padding: 28px 26px 24px;
	text-align: right;
	min-width: 0;
}

#znk-hk-video-dialog.hk-watch-with-form .hk-watch-eyebrow {
	display: block;
	color: #536488;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.5;
	border-right: 4px solid #ed087c;
	padding-right: 9px;
	margin-bottom: 14px;
}

#znk-hk-video-dialog.hk-watch-with-form #hk-watch-enquiry-title {
	color: #243d76 !important;
	font-size: 31px;
	line-height: 1.15;
	font-weight: 800;
	margin: 0 0 12px;
	letter-spacing: -.5px;
}

#znk-hk-video-dialog.hk-watch-with-form .hk-watch-intro {
	font-size: 16px;
	line-height: 1.55;
	margin: 0 0 20px;
	color: #435578;
}

#znk-hk-video-dialog .hk-watch-form-slot .elementor-widget-form {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: block !important;
}

#znk-hk-video-dialog .hk-watch-form-slot .elementor-widget-container {
	padding: 0 !important;
	margin: 0 !important;
	background: none !important;
}

#znk-hk-video-dialog .hk-watch-form-slot .elementor-form-fields-wrapper {
	display: flex !important;
	flex-direction: column !important;
	gap: 12px !important;
	margin: 0 !important;
}

#znk-hk-video-dialog .hk-watch-form-slot .elementor-field-group {
	width: 100% !important;
	max-width: none !important;
	padding: 0 !important;
	margin: 0 !important;
	display: block !important;
	flex-basis: auto !important;
}

#znk-hk-video-dialog .hk-watch-form-slot .elementor-field-type-hidden {
	display: none !important;
}

#znk-hk-video-dialog .hk-watch-form-slot .elementor-field-label:not([for="form-field-policy"]) {
	position: static !important;
	clip: auto !important;
	clip-path: none !important;
	width: auto !important;
	height: auto !important;
	overflow: visible !important;
	display: block !important;
	color: #243d76 !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	margin: 0 0 5px !important;
	padding: 0 !important;
}

#znk-hk-video-dialog .hk-watch-form-slot input:not([type=checkbox]):not([type=hidden]), #znk-hk-video-dialog .hk-watch-form-slot select {
	height: 48px !important;
	min-height: 48px !important;
	width: 100% !important;
	border: 1px solid #cbd0e1 !important;
	border-radius: 10px !important;
	background: #fff !important;
	color: #243d76 !important;
	padding: 10px 13px !important;
	font-family: inherit !important;
	font-size: 16px !important;
	line-height: 1.3 !important;
	box-shadow: none !important;
}

#znk-hk-video-dialog .hk-watch-form-slot input::placeholder {
	color: #727d94 !important;
	opacity: 1 !important;
}

#znk-hk-video-dialog .hk-watch-form-slot input[type=tel] {
	direction: ltr;
	text-align: right;
}

#znk-hk-video-dialog .hk-watch-extra {
	width: 100%;
	color: #536488;
	font-size: 13px;
}

#znk-hk-video-dialog .hk-watch-extra summary {
	cursor: pointer;
	min-height: 32px;
	line-height: 32px;
	text-decoration: underline;
	text-underline-offset: 4px;
}

#znk-hk-video-dialog .hk-watch-extra[open] .elementor-field-group {
	margin: 8px 0 !important;
}

#znk-hk-video-dialog .hk-watch-form-slot .elementor-field-type-acceptance {
	order: 8;
	display: block !important;
}

#znk-hk-video-dialog .hk-watch-form-slot .elementor-field-type-acceptance > .elementor-field-label {
	display: none !important;
}

#znk-hk-video-dialog .hk-watch-form-slot .elementor-field-option {
	display: flex !important;
	align-items: flex-start !important;
	gap: 8px !important;
}

#znk-hk-video-dialog .hk-watch-form-slot input[type=checkbox] {
	appearance: auto !important;
	position: static !important;
	opacity: 1 !important;
	display: block !important;
	flex: 0 0 18px;
	width: 18px !important;
	height: 18px !important;
	margin: 3px 0 0 !important;
	accent-color: #243d76;
}

#znk-hk-video-dialog .hk-watch-form-slot .elementor-field-option label {
	font-size: 11px !important;
	line-height: 1.55 !important;
	color: #56617c !important;
	font-weight: 400 !important;
	text-align: right !important;
}

#znk-hk-video-dialog .hk-watch-form-slot .elementor-field-option a {
	color: #243d76 !important;
	text-decoration: underline !important;
}

#znk-hk-video-dialog .hk-watch-form-slot .elementor-field-type-submit {
	order: 9;
}

#znk-hk-video-dialog .hk-watch-form-slot button[type=submit] {
	width: 100% !important;
	min-height: 54px !important;
	height: auto !important;
	border-radius: 30px !important;
	background: #ffe15a !important;
	color: #243d76 !important;
	border: 0 !important;
	border-bottom: 4px solid #d5b73c !important;
	padding: 12px 14px !important;
	font-family: inherit !important;
	font-size: 19px !important;
	line-height: 1.3 !important;
	font-weight: 800 !important;
	box-shadow: none !important;
}

#znk-hk-video-dialog .hk-watch-form-slot .elementor-button-text {
	color: inherit !important;
}

#znk-hk-video-dialog .hk-watch-form-slot .elementor-message {
	font-size: 15px !important;
	line-height: 1.5 !important;
	padding: 12px !important;
	background: #fff !important;
	color: #243d76 !important;
	border-radius: 8px;
	margin-top: 12px !important;
}

#znk-hk-video-dialog :is(button,a,input,select,summary):focus-visible {
	outline: 3px solid #df0875 !important;
	outline-offset: 3px !important;
}

body.hk-watch-is-open #znk-cpop-dock {
	visibility: hidden !important;
	pointer-events: none !important;
}

@media (max-width:800px) {
	#znk-hk-video-dialog.hk-watch-with-form {
		width: calc(100% - 16px);
		max-height: calc(100dvh - 16px);
		border-radius: 18px;
	}
	
	#znk-hk-video-dialog.hk-watch-with-form .hk-watch-layout {
		grid-template-columns: minmax(0, 1fr);
	}
	
	#znk-hk-video-dialog.hk-watch-with-form .hk-video-top {
		padding: 8px 14px;
		min-height: 56px;
	}
	
	#znk-hk-video-dialog.hk-watch-with-form .hk-video-top h2 {
		font-size: 17px !important;
	}
	
	#znk-hk-video-dialog.hk-watch-with-form .hk-watch-cinema {
		padding: 0 12px 12px;
	}
	
	#znk-hk-video-dialog.hk-watch-with-form .hk-watch-note {
		display: none;
	}
	
	#znk-hk-video-dialog.hk-watch-with-form .hk-watch-enquiry {
		padding: 23px 22px 26px;
	}
	
	#znk-hk-video-dialog.hk-watch-with-form #hk-watch-enquiry-title {
		font-size: 30px;
	}
	
	#znk-hk-video-dialog.hk-watch-with-form .hk-watch-intro {
		font-size: 16px;
		margin-bottom: 18px;
	}
}

@media (prefers-reduced-motion:no-preference) {
	#znk-hk-video-dialog .hk-watch-form-slot button[type=submit] {
		transition: background .15s ease;
	}
	
	#znk-hk-video-dialog .hk-watch-form-slot button[type=submit]:hover {
		background: #ffdb37 !important;
	}
}
