.u7-quote-dialog[hidden] {
	display: none !important;
}

.u7-quote-dialog {
	position: fixed;
	inset: 0;
	z-index: 100000;
}

.u7-quote-dialog__overlay {
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.85);
}

.u7-quote-dialog__panel {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	width: calc(100% - 32px);
	max-width: 640px;
	max-height: calc(100vh - 120px);
	margin: 100px auto 20px;
	overflow: hidden;
	background: #fff;
	padding: 0;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.u7-quote-dialog__body {
	overflow: auto;
	min-height: 0;
	padding: 48px 24px 24px;
}

.u7-quote-dialog .u7-quote-dialog__close {
	position: absolute !important;
	top: 12px !important;
	right: 12px !important;
	left: auto !important;
	bottom: auto !important;
	z-index: 3;
	margin: 0 !important;
	float: none !important;
	transform: none !important;
	width: auto !important;
	height: auto !important;
	min-width: 0 !important;
	min-height: 44px;
	padding: 8px 10px !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
	color: #000 !important;
	font-size: 16px !important;
	font-weight: 500 !important;
	line-height: 1.2 !important;
	text-transform: none !important;
	cursor: pointer;
}

.u7-quote-dialog .u7-quote-dialog__close:hover,
.u7-quote-dialog .u7-quote-dialog__close:focus,
.u7-quote-dialog .u7-quote-dialog__close:active {
	background: transparent !important;
	color: #000 !important;
	transform: none !important;
	top: 12px !important;
	right: 12px !important;
}

.u7-quote-dialog__title {
	margin: 0 32px 16px 0;
	font-size: 24px;
}

@media (max-width: 480px) {
	.u7-quote-dialog__panel {
		margin-top: 16px;
		max-height: calc(100vh - 32px);
	}
}
