.estimate-popup-overlay {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 999999;
	visibility: hidden;
	pointer-events: none;
	display: flex;
	justify-content: flex-end;
}

body.admin-bar .estimate-popup-overlay {
	top: var(--wp-admin--admin-bar--height, 32px);
}
@media screen and (max-width: 782px) {
	body.admin-bar .estimate-popup-overlay {
		top: 46px;
	}
}

.estimate-popup-overlay.active {
	visibility: visible;
	pointer-events: auto;
}

.estimate-popup-backdrop {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.5);
	opacity: 0;
	transition: opacity 0.3s ease;
	z-index: 1;
}

.estimate-popup-overlay.active .estimate-popup-backdrop {
	opacity: 1;
}

.estimate-popup-content {
	position: relative;
	width: 100%;
	max-width: 400px;
	background: #fff;
	height: 100%;
	z-index: 2;
	transform: translateX(100%);
	transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
	box-shadow: -5px 0 20px rgba(0,0,0,0.15);
	display: flex;
	flex-direction: column;
	padding: 30px;
	overflow-y: auto;
}

.estimate-popup-overlay.active .estimate-popup-content {
	transform: translateX(0);
}

.estimate-popup-close {
	background: none;
	border: none;
	font-size: 28px;
	line-height: 1;
	color: #333;
	cursor: pointer;
	align-self: flex-end;
	padding: 5px;
}

.estimate-popup-content h2 {
	margin: 10px 0 25px;
	font-size: 24px;
	color: #062850;
	font-weight: 700;
}

.estimate-popup-content .form-group {
	margin-bottom: 20px;
}

.estimate-popup-content label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	font-size: 14px;
	color: #333;
}

.estimate-popup-content input[type="text"],
.estimate-popup-content input[type="email"],
.estimate-popup-content input[type="tel"] {
	width: 100%;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 16px;
}

.scrolling-interests {
	max-height: 150px;
	overflow-y: auto;
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 10px;
	background: #f9f9f9;
}

.scrolling-interests label {
	display: flex;
	align-items: center;
	font-weight: 400;
	margin-bottom: 10px;
	cursor: pointer;
}
.scrolling-interests label:last-child {
	margin-bottom: 0;
}
.scrolling-interests input[type="checkbox"] {
	margin-right: 10px;
	width: auto;
}

.estimate-popup-content .submit-btn {
	background: #61CE70;
	color: #fff;
	border: none;
	padding: 15px;
	font-size: 16px;
	font-weight: 600;
	border-radius: 4px;
	cursor: pointer;
	width: 100%;
	transition: background 0.2s;
}

.estimate-popup-content .submit-btn:hover {
	background: #4ab359;
}

.estimate-msg {
	margin-top: 15px;
	padding: 10px;
	border-radius: 4px;
	text-align: center;
	font-weight: 500;
}
.estimate-msg.success {
	background: #d4edda;
	color: #155724;
}
.estimate-msg.error {
	background: #f8d7da;
	color: #721c24;
}