/* ============ 全局弹窗 AlertDialog ============ */
.alert-mask {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 2000;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.45);
	display: flex;
	align-items: center;
	justify-content: center;
	animation: alertFadeIn 0.2s ease;
}

@keyframes alertFadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

.alert-box {
	background: #fff;
	border-radius: 12px;
	width: 420px;
	max-width: 90vw;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
	overflow: hidden;
	animation: alertSlide 0.25s ease;
}

@keyframes alertSlide {
	from {
		transform: scale(0.92);
		opacity: 0;
	}

	to {
		transform: scale(1);
		opacity: 1;
	}
}

.alert-header {
	padding: 20px 24px 12px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid #f0f2f5;
}

.alert-title {
	font-size: 17px;
	font-weight: 600;
	color: #303133;
}

.alert-close {
	cursor: pointer;
	font-size: 22px;
	color: #909399;
	line-height: 1;
	transition: color 0.2s;
}

.alert-close:hover {
	color: #303133;
}

.alert-body {
	padding: 24px 24px 32px;
	text-align: center;
	font-size: 15px;
	color: #606266;
	word-break: break-word;
	line-height: 1.6;
	min-height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.alert-footer {
	padding: 0 24px 24px;
	text-align: center;
}

.alert-btn {
	padding: 10px 40px;
	background: var(--primary-green, #009944);
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 15px;
	cursor: pointer;
	transition: background 0.2s;
	font-weight: 500;
}

.alert-btn:hover {
	background: #007a36;
}

@media (max-width: 480px) {
	.alert-box {
		width: 85vw;
	}

	.alert-header {
		padding: 16px 18px 10px;
	}

	.alert-body {
		padding: 18px;
		font-size: 14px;
	}

	.alert-btn {
		padding: 8px 28px;
		font-size: 14px;
	}
}