/* Frame on the order-pay page (paying from My account). */
.mrkv-uapay-frame__iframe {
	display: block;
	width: 100%;
	min-height: 720px;
	border: 0;
}

.mrkv-uapay-frame__fallback {
	margin-top: 8px;
	font-size: 0.9em;
}

/* Modal on the checkout. */
.mrkv-uapay-modal-open,
.mrkv-uapay-modal-open body {
	overflow: hidden;
}

.mrkv-uapay-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba( 0, 0, 0, 0.6 );
	box-sizing: border-box;
}

.mrkv-uapay-modal__box {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 520px;
	height: min( 760px, 100% );
	padding: 40px 8px 8px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 10px 40px rgba( 0, 0, 0, 0.3 );
	box-sizing: border-box;
}

.mrkv-uapay-modal__close {
	position: absolute;
	top: 4px;
	right: 6px;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #1d2327;
	font-size: 28px;
	line-height: 32px;
	cursor: pointer;
}

.mrkv-uapay-modal__frame {
	flex: 1;
	width: 100%;
	min-height: 0;
	border: 0;
}

.mrkv-uapay-modal__fallback {
	margin: 6px 0 0;
	font-size: 0.85em;
	text-align: center;
}

@media ( max-width: 600px ) {
	.mrkv-uapay-modal {
		padding: 0;
	}

	.mrkv-uapay-modal__box {
		max-width: none;
		height: 100%;
		border-radius: 0;
	}
}
