/* Quote success popup - reuses the existing .quote__success visual
   design, now shown as a centered modal with a dimmed backdrop instead
   of an inline swap within the form. */
.quote__success-overlay {
	position: fixed;
	inset: 0;
	z-index: 9999;
	background: rgba(5, 5, 5, 0.72);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	opacity: 0;
	transition: opacity .25s ease;
}
.quote__success-overlay.is-visible {
	opacity: 1;
}
.quote__success-overlay[hidden] {
	display: none;
}

.quote__success-overlay .quote__success {
	position: relative;
	max-width: 460px;
	width: 100%;
	transform: translateY(12px) scale(0.98);
	transition: transform .3s cubic-bezier(0.16,1,0.3,1);
}
.quote__success-overlay.is-visible .quote__success {
	transform: translateY(0) scale(1);
}

.quote__success-close {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	background: transparent;
	border: none;
	color: rgba(255,255,255,0.6);
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	padding: 0.4rem;
	transition: color .2s ease;
}
.quote__success-close:hover {
	color: #fff;
}

body.quote-success-open {
	overflow: hidden;
}
