.mini-overlay-quote-form {
	font-size: 18px;
	width: 480px;
	display: none;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	position: fixed;
	z-index: 99;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	background-color: #ffffff;
	padding: 40px 30px 30px;
	-webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

	&.d-flex {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
	}

	&:has(#quote-form-v2) {
		width: 550px;
		padding-top: 20px;
		padding-bottom: 20px;
		@media (max-width: 768px) {
			width: 100%;
			overflow-y: scroll;
			max-height: 100%;
		}
		.overlay-content {
			max-height: 100dvh;
  			overflow-y: scroll;
			@media (max-width: 768px) {
				padding-top: 20px;
			}
		}
	}
}
.mini-overlay-quote-form .overlay-content {
	font-size: var(--base-font-size);

	h2 {
		font-size: 28px;
		margin: 0 0 10px;
		font-weight: 600;
	}

	p {
		font-size: 20px;
		margin-bottom: 30px;
		margin-top: 0;
	}
	padding: unset;

	&:has(#quote-form-v2) {
		font-size: 24px;
		@media (max-width: 768px) {
			font-size: 20px;
		}
		.mini-overlay-quote-form-header {
			flex-shrink: 0;
			padding-bottom: 10px;
		}
		#quote-form-v2  {
			overflow-y: auto;
			.quote-form__header {
				padding: 0;
			}
		}
	}

	#quote-form-v2 {
		width: 100%;
		p {
			font-size: inherit;
			margin-bottom: 0;
		}
		.quote-form-container {
			width: 100%;
		}
	}
}
.mini-overlay-quote-form {
	.closebtn {
		position: absolute;
		top: 10px;
		right: 25px;
		font-size: 32px;
		cursor: pointer;
		color: #0c233c;
		border: none;
		background: transparent;
		height: 35px;
		overflow: hidden;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-align: start;
		-ms-flex-align: start;
		align-items: flex-start;
		padding: 5px;
		line-height: 0.4;
	}
	&:has(#quote-form-v2) {
		.closebtn {
			right: 5px;
		}
	}
}

.mini-overlay-quote-form-header {
	margin-left: -2rem;
}

/* Styles for tablets and smaller (max-width: 768px) */
@media (max-width: 768px) {
	.mini-overlay-quote-form-header {
		margin-left: unset;
	}
}

.btn-mini-quote-form {
	border-radius: 10px;
}

.models-search.quote-modalquote {
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 99;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
}