.bts-webinar-popup {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.bts-webinar-popup.is-open {
	display: flex;
}

.bts-webinar-popup[hidden] {
	display: none !important;
}

.bts-webinar-popup__overlay {
	position: absolute;
	inset: 0;
	background: rgba(18, 18, 18, 0.72);
}

.bts-webinar-popup__dialog {
	position: relative;
	z-index: 1;
	width: min(900px, 100%);
	max-height: 90vh;
}

.bts-webinar-popup__close {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #ffffff;
	color: #121212;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
	cursor: pointer;
}

.bts-webinar-popup__close:hover,
.bts-webinar-popup__close:focus-visible {
	background: #ffd100;
	outline: 2px solid #5e2355;
	outline-offset: 2px;
}

.bts-webinar-popup__link {
	display: block;
	line-height: 0;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.bts-webinar-popup__link img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 85vh;
	object-fit: contain;
	background: #5e2355;
}

.bts-webinar-popup .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

body.bts-webinar-popup-open {
	overflow: hidden;
}

@media (max-width: 767px) {
	.bts-webinar-popup {
		padding: 16px;
	}

	.bts-webinar-popup__close {
		top: 8px;
		right: 8px;
		width: 36px;
		height: 36px;
	}
}
