/**
 * Fake bottom-right live class reminder (enrolled learners).
 */

.live-class-toast-stack {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 1090;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 10px;
	pointer-events: none;
	max-width: min(360px, calc(100vw - 32px));
}

.live-class-toast {
	pointer-events: auto;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 16px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid rgba(25, 97, 100, 0.18);
	box-shadow: 0 12px 40px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	cursor: pointer;
	color: inherit;
	outline: none;
	transform: translateX(120%);
	opacity: 0;
	transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

.live-class-toast.is-visible {
	transform: translateX(0);
	opacity: 1;
}

.live-class-toast.is-hiding {
	transform: translateX(120%);
	opacity: 0;
}

.live-class-toast__pulse {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: linear-gradient(135deg, #196164 0%, #2d9d9a 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.live-class-toast__pulse::after {
	content: "";
	position: absolute;
	inset: -4px;
	border-radius: 12px;
	border: 2px solid rgba(25, 97, 100, 0.45);
	animation: live-class-pulse 1.8s ease-out infinite;
}

@keyframes live-class-pulse {
	0% {
		transform: scale(0.85);
		opacity: 0.9;
	}
	70% {
		transform: scale(1.15);
		opacity: 0;
	}
	100% {
		transform: scale(1.15);
		opacity: 0;
	}
}

.live-class-toast__pulse i {
	font-size: 20px;
	color: #fff;
	position: relative;
	z-index: 1;
}

.live-class-toast__body {
	min-width: 0;
	flex: 1;
}

.live-class-toast__kicker {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #196164;
	margin-bottom: 2px;
}

.live-class-toast__course {
	font-size: 14px;
	font-weight: 600;
	color: #0f172a;
	line-height: 1.3;
	margin-bottom: 2px;
}

.live-class-toast__module {
	font-size: 13px;
	font-weight: 400;
	color: #475569;
	line-height: 1.35;
}

.live-class-toast__action {
	font-size: 12px;
	font-weight: 600;
	color: #196164;
	margin-top: 6px;
}

.live-class-toast__close {
	flex-shrink: 0;
	border: 0;
	background: transparent;
	color: #94a3b8;
	font-size: 18px;
	line-height: 1;
	padding: 0;
	margin: -4px -4px 0 0;
	cursor: pointer;
}

.live-class-toast__close:hover {
	color: #0f172a;
}

@media (max-width: 575.98px) {
	.live-class-toast-stack {
		right: 10px;
		bottom: 10px;
		max-width: calc(100vw - 20px);
	}
}
