/* Unified form notifications + privacy checkbox */

.mkl-form-notify {
	position: fixed;
	inset: 0;
	/* Above site quiz / brief / aeo modals (~200100) */
	z-index: 210000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.mkl-form-notify[hidden] {
	display: none !important;
}

.mkl-form-notify__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(26, 16, 48, 0.55);
}

.mkl-form-notify__dialog {
	position: relative;
	width: min(420px, 100%);
	padding: 28px 28px 24px;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 18px 50px rgba(35, 25, 73, 0.28);
	text-align: center;
	font-family: "TTNorms Regular", "TTNorms Medium", Arial, Helvetica, sans-serif;
	color: #2a2742;
}

.mkl-form-notify__close {
	position: absolute;
	top: 10px;
	right: 12px;
	border: 0;
	background: transparent;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	color: #7a7596;
}

.mkl-form-notify__icon {
	width: 56px;
	height: 56px;
	margin: 4px auto 14px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	font-weight: 700;
	color: #fff;
	background: #631080;
}

.mkl-form-notify.is-error .mkl-form-notify__icon {
	background: #b42318;
}

.mkl-form-notify__title {
	margin: 0 0 8px;
	font-family: "TTNorms Medium", "TTNorms Bold", Arial, Helvetica, sans-serif;
	font-size: 22px;
	line-height: 1.25;
	color: #231971;
}

.mkl-form-notify__text {
	margin: 0 0 20px;
	font-size: 16px;
	line-height: 1.45;
	white-space: pre-line;
	color: #3d3958;
}

.mkl-form-notify__btn {
	appearance: none;
	border: 0;
	border-radius: 999px;
	padding: 12px 22px;
	min-width: 140px;
	cursor: pointer;
	font-family: "TTNorms Medium", Arial, Helvetica, sans-serif;
	font-size: 15px;
	color: #fff;
	background: linear-gradient(180deg, #9c088b 0%, #6b1488 100%);
}

.mkl-form-notify__btn:hover {
	filter: brightness(1.05);
}

.mkl-form-privacy-wrap {
	margin: 12px 0 14px;
}

.mkl-form-privacy {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	text-align: left;
	font-size: 13px;
	line-height: 1.4;
	color: #3d3958;
	cursor: pointer;
	font-family: "TTNorms Regular", Arial, Helvetica, sans-serif;
}

.mkl-form-privacy input {
	margin-top: 2px;
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	accent-color: #631080;
}

.mkl-form-privacy a {
	color: #631080;
	text-decoration: underline;
}

.mkl-form-privacy a:hover {
	opacity: 0.85;
}

/* Keep legacy success blocks usable when we hide the form */
.mkl-ai-cta__success[hidden],
.mkl-aeo-modal__success[hidden],
.mkl-lead-form__success[hidden] {
	display: none !important;
}

/* Page quizzes: step-by-step via .active (same model as brief modal) */
.widget-form2[data-isquiz="true"] .swiper-container {
	overflow: hidden;
	height: auto !important;
}

.widget-form2[data-isquiz="true"] .swiper-wrapper {
	display: block;
	height: auto !important;
	transform: none !important;
}

.widget-form2[data-isquiz="true"] .swiper-slide {
	display: none;
	width: 100% !important;
	height: auto !important;
	float: none !important;
	position: relative;
	transform: none !important;
}

.widget-form2[data-isquiz="true"] .swiper-slide.active {
	display: block;
}

.widget-form2[data-isquiz="true"] .mkl-form-privacy-wrap {
	margin: 8px 0 16px;
	max-width: 100%;
}
