/* --- Curriculum Switcher: Legacy Mode Top-Left Positioning --- */
.curriculum-switcher-legacy {
	position: fixed;
	top: 1.5rem;
	left: 1.5rem;
	z-index: 1080;
	pointer-events: auto;
	background: #fff;
	border-radius: 0.5rem;
	box-shadow: 0 2px 8px rgba(0,0,0,0.12);
	padding: 0.75rem 1.25rem;
	min-width: 220px;
	max-width: 90vw;
}
@media (max-width: 575.98px) {
	.curriculum-switcher-legacy {
		top: 0.5rem;
		left: 0.5rem;
		min-width: 0;
		width: 100%;
		max-width: 100vw;
		padding: 0.5rem 0.5rem;
	}
}
/* --- Bootstrap Toasts: Fixed Bottom-Right Stacking (Shared) --- */
.toast-container-fixed {
	position: fixed;
	bottom: 0;
	right: 0;
	z-index: 1080; /* Above modals, below tooltips */
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	/* Bootstrap 4 does not support gap on flex, use margin instead on children */
	padding: 1.5rem 1.5rem 1.5rem 0.5rem;
	pointer-events: none; /* Allow clicks to pass through except on toasts */
}
.toast-container-fixed .toast {
	pointer-events: auto;
	margin-bottom: 0.5rem;
	/* Ensure only toasts above have margin, last toast has no extra space */
	.toast-container-fixed .toast:last-child {
		margin-bottom: 0;
	}
	min-width: 320px;
	max-width: 100vw;
	box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
@media (max-width: 575.98px) {
	.toast-container-fixed {
		right: 0.5rem;
		left: 0.5rem;
		padding: 0.5rem;
		align-items: stretch;
	}
	.toast-container-fixed .toast {
		min-width: 0;
		width: 100%;
	}
}
