/* nzdNotify (js/nzd-notify.js) - the shared notification modal and toasts, replacing the old
   #realtimealert slider bar (.stslider* in css/nzd4*.css) and games.css's own .games-toast*. */

/* ---- toasts: self-dismissing, non-blocking ---- */

/* z-index above Bootstrap's own modals (1050) in case one happens to be open underneath.
   Spans the full width (rather than left:50% + translateX, which would cap a toast's width at
   half the viewport) and centres the toasts inside it; the container itself never catches
   clicks. */
.nzd-toast-container {
	position: fixed;
	top: 80px;
	left: 0;
	right: 0;
	z-index: 1080;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	pointer-events: none;
}

.nzd-toast {
	display: flex;
	align-items: center;
	gap: 10px;
	background: rgba(20, 20, 20, 0.92);
	color: #fff;
	padding: 10px 18px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	max-width: min(90vw, 420px);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
	opacity: 0;
	transform: translateY(-8px);
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.nzd-toast.show {
	opacity: 1;
	transform: translateY(0);
}

/* Plain toasts let clicks fall through to the page underneath; ones with a link/button or a
   dismiss need to catch them. */
.nzd-toast-interactive {
	pointer-events: auto;
}

.nzd-toast-body {
	text-align: left;
}

.nzd-toast-icon {
	flex: 0 0 auto;
	color: orange;
}

.nzd-toast a,
.nzd-toast-action {
	color: orange;
	text-decoration: underline;
	cursor: pointer;
	background: none;
	border: 0;
	padding: 0;
	font: inherit;
	white-space: nowrap;
}

.nzd-toast em {
	color: #ff6b6b;
	font-style: normal;
	font-weight: 700;
}

.nzd-toast-close {
	flex: 0 0 auto;
	background: none;
	border: 0;
	padding: 0 0 0 4px;
	color: #bbb;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}

.nzd-toast-close:hover {
	color: #fff;
}

/* ---- the shared modal ---- */

.nzd-notify-icon {
	margin-right: 8px;
	color: orange;
}

.nzd-notify-text {
	white-space: pre-line;
}

.nzd-notify-detail {
	margin-top: 6px;
	font-size: 13px;
	color: #777;
	word-break: break-word;
}

.nzd-notify-footerlink {
	font-size: 12px;
	color: #888;
	text-decoration: underline;
}

.nzd-notify-block-btn {
	display: block;
	width: 100%;
	margin-bottom: 8px;
}

.nzd-notify-block-btn:last-child {
	margin-bottom: 0;
}
