body.twg-quote-modal-open {
	overflow: hidden;
}

.twg-quote-dialog {
	background: transparent;
	border: 0;
	margin: auto;
	max-height: calc(100dvh - 2rem);
	max-width: 42rem;
	padding: 0;
	width: calc(100% - 2rem);
}

.twg-quote-dialog::backdrop {
	background: rgb(0 0 0 / 65%);
}

.twg-quote-dialog__panel {
	background: #fff;
	border-radius: 0.375rem;
	box-shadow: 0 1rem 3rem rgb(0 0 0 / 30%);
	max-height: calc(100dvh - 2rem);
	overflow: auto;
	padding: clamp(1.25rem, 4vw, 2rem);
	position: relative;
}

.twg-quote-dialog__title {
	margin: 0 3rem 1.5rem 0;
}

.twg-quote-dialog__close {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 50%;
	color: currentColor;
	cursor: pointer;
	display: flex;
	font-size: 2rem;
	height: 2.5rem;
	justify-content: center;
	line-height: 1;
	padding: 0;
	position: absolute;
	right: 0.75rem;
	top: 0.75rem;
	width: 2.5rem;
}

.twg-quote-dialog__close:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}
