#webinarPopup.popup {
	display: flex;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(11, 21, 35, 0.73);
	z-index: 1000;
	justify-content: center;
	align-items: center;
}

#webinarPopup .popup-wrapper {
	background-color: #0F2340;
	background-image: url(https://sudexpcentr.ru/wp-content/uploads/2026/05/Group-4.png);
	width: 100%;
	max-width: 808px;
	max-height: 462px;
	padding: 50px;
	position: relative;
	display: flex;
	flex-direction: row-reverse;
	gap: 30px;
	animation: webinar-popup-appear 0.5s ease-out;
	background-size: contain;
	background-position: right;
	background-repeat: no-repeat;
	margin: 0 20px;
	border-radius: 0;
	overflow: hidden;
}

@keyframes webinar-popup-appear {
	from {
		opacity: 0;
		transform: translateY(-50px) scale(0.9);
	}

	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

#webinarPopup .popup__header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}

#webinarPopup .popup__body-content {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 30px;
}

#webinarPopup .popup__header-info {
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

#webinarPopup .popup__header-free {
	display: none;
}

#webinarPopup .popup__date,
#webinarPopup .popup__time {
	font-weight: 500;
	font-size: 31px;
	line-height: 1;
	color: #fff;
}

#webinarPopup .popup__time-line {
	width: 2px;
	height: 40px;
	background: #f3bc83;
}

#webinarPopup .popup__details {
	display: flex;
	flex-direction: column;
	gap: 2px;
	max-width: 620px;
	margin-top: 6px;
}

#webinarPopup .popup__label {
	margin: 0;
	font-weight: 700;
	font-size: 31px;
	line-height: 1.05;
	text-transform: uppercase;
	color: #fff;
}

#webinarPopup .popup__title {
	font-weight: 600;
	font-size: 31px;
	line-height: 1.05;
	color: #f3bc83;
	margin: 0;
	letter-spacing: -0.2px;
}

#webinarPopup .popup__description {
	margin-top: 8px;
	max-width: 500px;
	font-weight: 400;
	font-size: 18px;
	line-height: 120%;
	letter-spacing: -0.02em;
	color: #fff;
	margin-bottom: 0;
}

#webinarPopup .popup__strip {
	width: calc(100% + 40px);
	margin-left: -50px;
	padding: 14px 50px;
	background: linear-gradient(90deg, #fff 50%, rgba(255, 255, 255, 0) 100%);
	font-weight: 600;
	font-size: 18px;
	line-height: 120%;
	letter-spacing: -0.02em;
	color: #0f2340;
	text-align: left;
}

#webinarPopup .popup__btn {
	border-radius: 34px;
	padding: 14px 20px;
	background: #f3bc83;
	font-weight: 600;
	font-size: 20px;
	line-height: 110%;
	letter-spacing: -0.02em;
	text-align: center;
	color: #0f2340;
	text-decoration: none;
	width: fit-content;
	transition: transform .2s ease, filter .2s ease;
}

#webinarPopup .popup__btn:hover {
	transform: translateY(-2px);
	filter: brightness(1.02);
}

#webinarPopup .popup__close {
	background-color: transparent;
	border: none;
	width: fit-content;
	position: absolute;
	right: 5px;
	padding: 0;
	top: 5px;
	cursor: pointer;
}

@media (max-width: 1024px) {
	#webinarPopup .popup-wrapper {
		max-width: 92vw;
		max-height: fit-content;
		padding: 32px 24px 28px;
		background-size: contain;
	}

	#webinarPopup .popup__header {
		justify-content: flex-end;
	}

	#webinarPopup .popup__date,
	#webinarPopup .popup__time {
		font-size: 30px;
	}

	#webinarPopup .popup__time-line {
		height: 30px;
	}

	#webinarPopup .popup__label {
		font-size: 28px;
	}

	#webinarPopup .popup__title {
		font-size: 35px;
		letter-spacing: 0;
	}

	#webinarPopup .popup__description {
		font-size: 20px;
	}

	#webinarPopup .popup__strip {
		width: 100%;
		margin-left: 0;
		padding: 12px 18px;
		font-size: 22px;
	}

	#webinarPopup .popup__btn {
		font-size: 24px;
		padding: 14px 28px;
	}

	#webinarPopup .popup__close {
		right: 0;
		top: 0;
	}
}

@media (max-width: 640px) {
	#webinarPopup .popup-wrapper {
		max-height: none;
		margin: 0 12px;
		padding: 20px;
		gap: 14px;
		background-position: right center;
	}

	#webinarPopup .popup__body-content {
		gap: 14px;
	}

	#webinarPopup .popup__header {
		justify-content: flex-end;
	}

	#webinarPopup .popup__header-info {
		gap: 6px;
	}

	#webinarPopup .popup__date,
	#webinarPopup .popup__time {
		font-size: 18px;
	}

	#webinarPopup .popup__time-line {
		height: 18px;
	}

	#webinarPopup .popup__label {
		font-size: 18px;
	}

	#webinarPopup .popup__title {
		font-size: 20px;
	}

	#webinarPopup .popup__description {
		margin-top: 6px;
		font-size: 13px;
		max-width: 100%;
	}

	#webinarPopup .popup__strip {
		font-size: 13px;
		padding: 8px 10px;
		width: 100%;
		line-height: 1.25;
	}

	#webinarPopup .popup__btn {
		font-size: 15px;
		padding: 10px 16px;
		width: 100%;
	}
}
