/* Paradise / listing — install price quote modal */

.ps-quote-modal[hidden] {
	display: none !important;
}

.ps-quote-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.ps-quote-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(13, 27, 42, 0.55);
}

.ps-quote-modal__panel {
	position: relative;
	width: 100%;
	max-width: 440px;
	max-height: min(92vh, 560px);
	overflow: auto;
	background: #fff;
	border-radius: 16px;
	padding: 28px 24px 24px;
	box-shadow: 0 24px 60px rgba(13, 27, 42, 0.25);
}

.ps-quote-modal__close {
	position: absolute;
	top: 10px;
	right: 12px;
	border: 0;
	background: none;
	font-size: 28px;
	line-height: 1;
	color: #54606e;
	cursor: pointer;
	padding: 4px 8px;
}

.ps-quote-modal__close:hover {
	color: #243c54;
}

.ps-quote-modal__title {
	margin: 0 0 6px;
	font-family: 'Space Grotesk', system-ui, sans-serif;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.2;
	color: #243c54;
}

.ps-quote-modal__sub {
	margin: 0 0 20px;
	font-size: 14px;
	line-height: 1.5;
	color: #54606e;
}

.ps-quote-modal__field {
	display: block;
	margin-bottom: 14px;
}

.ps-quote-modal__label {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 700;
	color: #243c54;
}

.ps-quote-modal__input {
	display: block;
	width: 100%;
	box-sizing: border-box;
	height: 46px;
	padding: 10px 14px;
	border: 1px solid #d4dde8;
	border-radius: 8px;
	font-size: 16px;
	font-family: 'Montserrat', system-ui, sans-serif;
	color: #243c54;
	background: #fff;
}

.ps-quote-modal__input:focus {
	outline: 2px solid rgba(69, 95, 181, 0.35);
	border-color: #455fb5;
}

.ps-quote-modal__submit {
	display: block;
	width: 100%;
	margin-top: 8px;
	border: 0;
	cursor: pointer;
	font-family: 'Space Grotesk', system-ui, sans-serif;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.ps-quote-modal__success {
	margin: 0;
	padding: 16px 0 4px;
	font-size: 15px;
	line-height: 1.5;
	color: #243c54;
	text-align: center;
}

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

body.ps-quote-modal-open .mgc-cta-sticky-wrap,
body.ps-quote-modal-open .mgc-cta-sticky-wrap.mobile-fixed {
	display: none !important;
}

@media (max-width: 768px) {
	.ps-quote-modal {
		padding: 12px;
		align-items: flex-end;
	}

	.ps-quote-modal__panel {
		border-radius: 16px 16px 0 0;
		max-height: 92vh;
		padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
	}
}
