/* 居中弹窗样式 */
.modal-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 10000;
	justify-content: center;
	align-items: center;
}

.modal-box {
	width: 90%;
	max-width: 500px;
	background: white;
	border-radius: 20px;
	box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
	overflow: hidden;
	animation: fadeIn 0.3s ease-out;
}
.alert-trigger{
	cursor: pointer;
}

/* 弹窗头部 */
.modal-header {
	padding: 12px 15px 12px 25px;
	background: #f8f9fa;
	border-bottom: 1px solid #eee;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.modal-title {
	font-weight: bold;
	color: #333;
	font-size: 1.2rem;
}

.close-btn {
	background: none;
	border: none;
	font-size: 32px;
	color: #888;
	cursor: pointer;
	line-height: 1;
	padding: 0 8px;
}

.close-btn:hover {
	color: #555;
}

/* 弹窗内容 */
.modal-body {
	padding: 25px 25px;
	color: #555;
	line-height: 1.75;
	font-size: 16px;
}

.modal-body span{
	font-weight: bold;
	color: red;
}

/* 动画效果 */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* 移动端适配 */
@media (max-width: 576px) {

	.modal-box {
		width: 90%;
	}
}