#ae-toast {
	position: fixed;
	top: 20px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 1080;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	width: auto;
	max-width: min(480px, calc(100vw - 32px));
	pointer-events: none;
}

.ae-toast {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	width: 100%;
	background: #ffffff;
	border-radius: 10px;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
	padding: 14px 16px;
	color: #212529;
	opacity: 1;
	pointer-events: auto;
	transition: opacity 0.3s ease, transform 0.3s ease;
	animation: ae-toast-in 0.25s ease;
}

.ae-toast-icon {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 13px;
	line-height: 1;
	font-weight: 700;
	margin-top: 1px;
}

.ae-toast-body { flex: 1 1 auto; min-width: 0; }

.ae-toast-title {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
	color: #1a1d21;
	word-wrap: break-word;
}

.ae-toast-close {
	flex: 0 0 auto;
	border: 0;
	background: transparent;
	padding: 0;
	margin: -2px -2px 0 0;
	width: 20px;
	height: 20px;
	font-size: 20px;
	line-height: 1;
	color: #9aa0a6;
	cursor: pointer;
	transition: color 0.15s ease;
}
.ae-toast-close:hover { color: #4a4f55; }

.ae-toast-success .ae-toast-icon { background: #28a745; }
.ae-toast-success .ae-toast-icon::before { content: '\2713'; }
.ae-toast-warning .ae-toast-icon { background: #ffc107; color: #212529; }
.ae-toast-warning .ae-toast-icon::before { content: '!'; }
.ae-toast-error   .ae-toast-icon { background: #dc3545; }
.ae-toast-error   .ae-toast-icon::before { content: '\2715'; }

.ae-toast-hide { opacity: 0; transform: translateY(-8px); }

@keyframes ae-toast-in {
	from { opacity: 0; transform: translateY(-12px); }
	to   { opacity: 1; transform: translateY(0); }
}
