.rfc-customerPreviewModal .modalWrapper,
.rfc-customerPreviewModal.lyteModal,
.modalWrapper.rfc-customerPreviewModal,
.modalWrapper.rfc-customerPreviewModal .lyteModal {
	border-radius: 16px !important;
	border-top-left-radius: 16px !important;
	border-top-right-radius: 16px !important;
	overflow: hidden !important;
}

/* Keep centered even when translate mutates content height after open */
.modalWrapper.rfc-customerPreviewModal .lyteModal,
.rfc-customerPreviewModal.lyteModal {
	right: auto !important;
	top: 50% !important;
	left: 50% !important;
	transform: translate(-50%, -50%) !important;
	max-height: calc(100vh - 48px);
	overflow: auto;
}

.modalWrapper.rfc-customerPreviewModal {
	max-height: none;
	overflow: hidden;
}

.rfc-customerPreviewModal lyte-modal-content,
.rfc-customerPreviewModal .lyteModal-content,
.modalWrapper.rfc-customerPreviewModal .lyteModalContent,
.modalWrapper.rfc-customerPreviewModal lyte-modal-content {
	padding: 0 !important;
	border-top-left-radius: 16px;
	border-top-right-radius: 16px;
	overflow: hidden;
	max-height: calc(100vh - 48px);
}

.modalWrapper.rfc-customerPreviewModalClose .lyteModalClose,
.rfc-customerPreviewModalClose .lyteModalClose {
	top: 20px !important;
	right: 24px !important;
	width: 11px !important;
	height: 11px !important;
	transform: scale(1) !important;
	z-index: 6;
	margin: 0;
	position: absolute !important;
}
