/* ==========================================================
   Pegasus · Chatpro Toast
   info=蓝 / success=绿 / error=红
   ========================================================== */

.toast-stack {
	position: fixed;
	top: 20px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 9999;
	display: flex;
	flex-direction: column;
	gap: 10px;
	pointer-events: none;
}

.toast {
	min-width: 220px;
	max-width: 380px;
	padding: 14px 22px;
	border-radius: 10px;
	color: #ffffff;
	font-size: 15px;
	line-height: 1.45;
	font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", -apple-system, system-ui, sans-serif;
	background: #2563eb;
	box-shadow: 0 12px 28px rgba(15, 23, 42, .25);
	display: flex;
	align-items: center;
	gap: 10px;
	opacity: 0;
	transform: translateY(-8px);
	transition: opacity .22s ease, transform .22s ease;
	pointer-events: auto;
}

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

.toast .toast-ico {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .25);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	flex-shrink: 0;
}

/* 默认 info - 蓝色 */
.toast.toast-info { background: #2563eb; }

/* 成功 - 绿色 */
.toast.toast-success { background: #16a34a; }

/* 失败 - 红色 */
.toast.toast-error { background: #dc2626; }

@media (max-width: 480px) {
	.toast { min-width: 0; width: calc(100vw - 32px); margin: 0 auto; }
}
