.modal.mkl-aeo-modal-portal {
	position: fixed !important;
	top: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	z-index: 200000;
	display: none;
	text-align: center;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
}

body.mkl-modal-open {
	overflow: hidden !important;
	overscroll-behavior: none;
}

html.mkl-modal-open {
	overflow: hidden !important;
}

/* Chrome/Safari: hidden → visible/unset on <html> kills wheel scrolling. */
html:not(.mkl-modal-open) {
	overflow-y: auto;
}

.modal.mkl-aeo-modal-portal.active {
	display: flex !important;
	align-items: center;
	justify-content: center;
	padding: 24px 16px;
	box-sizing: border-box;
}

.modal.mkl-aeo-modal-portal > .modal-back {
	display: none;
	position: fixed !important;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 0;
	background: rgba(0, 0, 0, 0.55);
	pointer-events: auto;
}

.modal.mkl-aeo-modal-portal.active > .modal-back {
	display: block;
}

.modal.mkl-aeo-modal-portal > .modal-dialog {
	position: relative;
	z-index: 1;
	display: block;
	text-align: initial;
	margin: 0 auto !important;
	max-width: 95vw;
	width: 480px;
	flex: 0 1 auto;
	max-height: calc(100vh - 48px);
}

.mkl-aeo-modal__content {
	position: relative;
	background: #fff;
	border-radius: 14px;
	padding: 28px 24px 32px;
	box-sizing: border-box;
	max-height: calc(100vh - 48px);
	overflow-y: auto;
}

.mkl-aeo-modal__close {
	position: absolute;
	top: 10px;
	right: 12px;
	z-index: 2;
	border: 0;
	background: transparent;
	color: #631080;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	padding: 4px 8px;
}

.mkl-aeo-modal__title {
	margin: 0 0 20px;
	font-family: "TTNorms Medium", sans-serif;
	font-size: 22px;
	line-height: 1.3;
	color: #231971;
}

.mkl-aeo-modal__field {
	margin-bottom: 14px;
}

.mkl-aeo-modal__field label {
	display: block;
	margin-bottom: 6px;
	font-family: "TTNorms Regular", sans-serif;
	font-size: 16px;
	color: #2a2742;
}

.mkl-aeo-modal__field input {
	width: 100%;
	box-sizing: border-box;
	padding: 12px 14px;
	border: 1px solid #d5d0e8;
	border-radius: 8px;
	font-family: "TTNorms Regular", sans-serif;
	font-size: 18px;
	color: #2a2742;
}

.mkl-aeo-modal__submit {
	display: inline-block;
	width: 100%;
	margin-top: 8px;
	padding: 14px 20px;
	border: 0;
	border-radius: 8px;
	background: #231971;
	color: #fff;
	font-family: "TTNorms Medium", sans-serif;
	font-size: 18px;
	cursor: pointer;
}

.mkl-aeo-modal__submit:disabled {
	opacity: 0.7;
	cursor: wait;
}

.mkl-aeo-modal__success {
	margin-top: 12px;
	font-family: "TTNorms Regular", sans-serif;
	font-size: 16px;
	line-height: 1.5;
	color: #2a2742;
	white-space: pre-line;
}
