/* ── Toast messages — modern redesign ─────────────────── */

.toast-container {
	width: auto;
	max-width: 320px;
	min-width: 180px;
	z-index: 99999;
}

.toast-item {
	display: flex;
	align-items: center;
	gap: 10px;
	height: auto;
	border-radius: 50px;
	padding: 11px 20px;
	font-family: "Helvetica Neue", Arial, sans-serif;
	font-size: 13px;
	font-weight: 600;
	border: none;
	box-shadow: 0 6px 24px rgba(0,0,0,.22);
	opacity: 1;
	position: relative;
	margin: 0 0 8px 0;
	color: #fff;
	background: #333;
}

.toast-item p {
	text-align: center;
	margin: 0;
	padding: 0;
	text-shadow: none;
	flex: 1;
	line-height: 1.4;
}

/* Hide old PNG icons and close button */
.toast-item-image,
.toast-item-close {
	display: none;
}

/* Toast types */
.toast-type-notice {
	background: #2489ce;
	color: #fff;
	border: none;
}

.toast-type-success {
	background: #27ae60;
	color: #fff;
	border: none;
}

.toast-type-warning {
	background: #f39c12;
	color: #fff;
	border: none;
}

.toast-type-error {
	background: #e74c3c;
	color: #fff;
	border: none;
}

/* Positions */
.toast-position-top-left {
	position: fixed;
	left: 16px;
	top: 60px;
}

.toast-position-top-center {
	position: fixed;
	top: 60px;
	left: 50%;
	transform: translateX(-50%);
	margin-left: 0;
}

.toast-position-top-right {
	position: fixed;
	top: 60px;
	right: 16px;
}

.toast-position-middle-left {
	position: fixed;
	left: 16px;
	bottom: 80px;
	top: auto;
}

.toast-position-middle-center {
	position: fixed;
	bottom: 80px;
	top: auto;
	left: 50%;
	transform: translateX(-50%);
	margin-left: 0;
	margin-top: 0;
}

.toast-position-middle-right {
	position: fixed;
	right: 16px;
	bottom: 80px;
	top: auto;
	margin-left: 0;
	margin-top: 0;
}
