.hbl-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.75);
	z-index: 100000;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
}

.hbl-overlay.is-open {
	display: flex;
}

.hbl-modal {
	position: relative;
	background: #fff;
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
	max-width: 100%;
	max-height: 100%;
	display: flex;
}

.hbl-iframe {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
	background: #fff;
}

.hbl-close {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 36px;
	height: 36px;
	line-height: 1;
	font-size: 24px;
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 50%;
	cursor: pointer;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hbl-close:hover {
	background: #fff;
}

.hbl-loading {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-family: sans-serif;
	color: #555;
	text-align: center;
	max-width: 80%;
}

.hbl-fallback {
	position: absolute;
	bottom: 12px;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(255, 255, 255, 0.95);
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 4px;
	padding: 6px 14px;
	font-family: sans-serif;
	font-size: 13px;
	z-index: 2;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	display: none;
}

.hbl-fallback.is-visible {
	display: block;
}

.hbl-fallback a {
	text-decoration: none;
	color: #2271b1;
}

.hbl-fallback a:hover {
	text-decoration: underline;
}

body.hbl-lock-scroll {
	overflow: hidden;
}

.hbl-trigger {
	cursor: pointer;
}
