.global-notification-container {
	position: fixed;
	padding: 1rem;
	z-index: 1090;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	pointer-events: none;
	&.bottom-right {
		bottom: 0;
		right: 0;
	}
	&.bottom-left {
		bottom: 0;
		left: 0;
	}
	&.top-right {
		top: 0;
		right: 0;
	}
	&.top-left {
		top: 0;
		left: 0;
	}
	&.top-center {
		top: 0;
		left: 50%;
		transform: translateX(-50%);
	}
	&.bottom-center {
		bottom: 0;
		left: 50%;
		transform: translateX(-50%);
	}
	.toast {
		width: 350px;
		max-width: 100%;
		font-size: 0.875rem;
		pointer-events: auto;
		background-color: var(--global-modal-body-bg, #fff);
		color: var(--global-modal-body-color, #212529);
		background-clip: padding-box;
		border: 1px solid var(--global-modal-border-color, rgba(0, 0, 0, 0.175));
		box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
		border-radius: 0.375rem;
		backdrop-filter: blur(10px);
		display: none;
		opacity: 0;
		transition:
			transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
			opacity 0.3s ease;
		&.show {
			opacity: 1;
			transform: translate(0, 0) !important;
		}
	}
	&.bottom-right .toast,
	&.top-right .toast {
		transform: translateX(110%);
	}
	&.bottom-left .toast,
	&.top-left .toast {
		transform: translateX(-110%);
	}
	&.bottom-center .toast {
		transform: translateY(110%);
	}
	&.top-center .toast {
		transform: translateY(-110%);
	}
	.toast-header {
		display: flex;
		align-items: center;
		padding: 0.5rem 0.75rem;
		background-clip: padding-box;
		border-bottom: 1px solid var(--global-modal-header-border-color, rgba(0, 0, 0, 0.05));
		border-top-left-radius: calc(0.375rem - 1px);
		border-top-right-radius: calc(0.375rem - 1px);
		strong {
			font-weight: 600;
		}
	}
	.toast-body {
		padding: 0.75rem;
		word-wrap: break-word;
	}
	.timer-pause-btn {
		background: transparent;
		border: 1px solid currentColor;
		color: inherit;
		cursor: pointer;
		opacity: 0.65;
		padding: 0.15em 0.4em;
		font-size: 0.75em;
		border-radius: 0.25rem;
		display: flex;
		align-items: center;
		gap: 0.25rem;
		white-space: nowrap;
		transition:
			opacity 0.2s,
			background-color 0.2s;
		&:hover {
			opacity: 1;
			background-color: rgba(128, 128, 128, 0.15);
		}
		span {
			font-size: 0.9em;
		}
	}
	.btn-close {
		box-sizing: content-box;
		width: 1em;
		height: 1em;
		padding: 0.25em 0.25em;
		color: #000;
		background: transparent
			url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e")
			center/1em auto no-repeat;
		border: 0;
		border-radius: 0.375rem;
		opacity: 0.5;
		cursor: pointer;
		&:hover {
			color: #000;
			text-decoration: none;
			opacity: 0.75;
		}
		&:focus {
			outline: 0;
			box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
			opacity: 1;
		}
	}
	.btn-close-white {
		filter: invert(1) grayscale(100%) brightness(200%);
	}
	.d-flex {
		display: flex !important;
	}
	.align-items-center {
		align-items: center !important;
	}
	.flex-grow-1 {
		flex-grow: 1 !important;
	}
	.flex-shrink-0 {
		flex-shrink: 0 !important;
	}
	.me-auto {
		margin-right: auto !important;
	}
	.me-2 {
		margin-right: 0.5rem !important;
	}
	.gap-2 {
		gap: 0.5rem !important;
	}
	.pe-2 {
		padding-right: 0.5rem !important;
	}
	.text-muted {
		color: #6c757d !important;
	}
	.toast.type-primary .toast-header {
		color: #dde9ff;
		background-color: #5082e4;
		border-bottom-color: #5082e4;
	}
	.toast.type-secondary .toast-header {
		color: #abb6c2;
		background-color: #6d7885;
		border-bottom-color: #6d7885;
	}
	.toast.type-success .toast-header {
		color: #dffad5;
		background-color: #359d1b;
		border-bottom-color: #359d1b;
	}
	.toast.type-danger .toast-header {
		color: #ffe6e0;
		background-color: #e52100;
		border-bottom-color: #e52100;
	}
	.toast.type-warning .toast-header {
		color: #f9f0ca;
		background-color: #b78a19;
		border-bottom-color: #b78a19;
	}
	.toast.type-info .toast-header {
		color: #d6f8ff;
		background-color: #00a3e9;
		border-bottom-color: #00a3e9;
	}
	.toast.type-light .toast-header {
		color: #2f3337;
		background-color: #e9ebed;
		border-bottom-color: #e9ebed;
	}
	.toast.type-dark .toast-header {
		color: #e9ebed;
		background-color: #2f3337;
		border-bottom-color: #2f3337;
	}
	:is(.type-primary, .type-secondary, .type-success, .type-danger, .type-dark) .toast-header .text-muted {
		color: rgba(255, 255, 255, 0.75) !important;
	}
	.toast.type-primary:not(:has(.toast-header)) {
		border-left: 4px solid #5082e4;
	}
	.toast.type-secondary:not(:has(.toast-header)) {
		border-left: 4px solid #6d7885;
	}
	.toast.type-success:not(:has(.toast-header)) {
		border-left: 4px solid #359d1b;
	}
	.toast.type-danger:not(:has(.toast-header)) {
		border-left: 4px solid #e52100;
	}
	.toast.type-warning:not(:has(.toast-header)) {
		border-left: 4px solid #b78a19;
	}
	.toast.type-info:not(:has(.toast-header)) {
		border-left: 4px solid #00a3e9;
	}
	.toast.type-dark:not(:has(.toast-header)) {
		border-left: 4px solid #2f3337;
	}
}
