/*
 * Bloomcare — попап с виджетом GetCourse.
 */

.bc-getcourse-widget {
	position: fixed;
	inset: 0;
	/* Выше mobile header (.site-header z-index: 9999999 в header.css). */
	z-index: 10000001;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 16px;
	background: rgba(28, 36, 33, 0.55);
}

.bc-getcourse-widget[hidden] {
	display: none !important;
}

.bc-getcourse-widget__dialog {
	position: relative;
	width: min(640px, 100%);
	max-height: min(90vh, 900px);
	overflow: auto;
	background: var(--bc-color-surface, #fff);
	border-radius: var(--bc-radius, 16px);
	box-shadow: var(--bc-shadow, 0 4px 24px rgba(0, 0, 0, 0.12));
	padding: 24px;
}

.bc-getcourse-widget__close {
	position: absolute;
	right: 12px;
	top: 8px;
	z-index: 2;
	border: 0;
	background: transparent;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	color: var(--bc-color-muted, #6b7280);
}

@media (max-width: 1023px) {
	.bc-getcourse-widget__close {
		right: 8px;
		top: 8px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
	}
}

.bc-getcourse-widget__mount {
	min-height: 120px;
}

.bc-getcourse-widget__mount iframe {
	display: block;
	width: 100%;
	border: 0;
}

button.site-footer__support {
	appearance: none;
	font: inherit;
	text-align: center;
	cursor: pointer;
}

button.bc-course-purchase-full__cta,
button.bc-course-purchase-installment__cta,
button.bc-article__consult-cta {
	appearance: none;
	font: inherit;
	text-align: center;
	cursor: pointer;
	border: 0;
}

body.bc-getcourse-widget-open {
	overflow: hidden;
}
