/* HubSpot Popup Button - styles
   All classes are prefixed "hspb-" to avoid collisions with theme/plugin CSS. */

.hspb-modal-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	z-index: 99999;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
}

.hspb-modal-overlay.active {
	display: flex;
}

.hspb-modal-box {
	background: #fff;
	max-width: 600px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	position: relative;
	border-radius: 8px;
	padding: 30px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.hspb-modal-close {
	position: absolute;
	top: 8px;
	right: 14px;
	background: none;
	border: none;
	font-size: 28px;
	cursor: pointer;
	line-height: 1;
	color: #333;
	padding:5px 10px 5px 10px;
}

.hspb-modal-close:hover {
	color: #000;
}

.hspb-loading {
	text-align: center;
	padding: 40px;
	color: #666;
	font-size: 14px;
}

/* Only affects scrolling while the popup itself is open */
body.hspb-modal-open {
	overflow: hidden;
}
