/* 弹窗遮罩层 */
.modal_overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 1000;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.modal_overlay.modal_show {
	opacity: 1;
}

/* 弹窗容器 */
.modal_dialog {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0.7);
	background: white;
	border-radius: 12px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	min-width: 350px;
	max-width: 500px;
	transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal_overlay.modal_show .modal_dialog {
	transform: translate(-50%, -50%) scale(1);
}

/* 弹窗头部 */
.modal_header {
	padding: 20px 25px 15px;
	border-bottom: 1px solid #eee;
	position: relative;
}

.modal_title {
	font-size: 18px;
	font-weight: 600;
	color: #333;
	margin: 0;
}

.modal_close-btn {
	position: absolute;
	top: 15px;
	right: 20px;
	background: none;
	border: none;
	font-size: 24px;
	color: #999;
	cursor: pointer;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
}

.modal_close-btn:hover {
	background-color: #f5f5f5;
	color: #666;
}

/* 弹窗内容 */
.modal_body {
	padding: 20px 25px;
	line-height: 1.6;
	color: #666;
}

/* 弹窗底部 */
.modal_footer {
	padding: 15px 25px 25px;
	text-align: right;
	border-top: 1px solid #eee;
}

.modal_confirm-btn {
	background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
	color: white;
	border: none;
	padding: 10px 20px;
	border-radius: 6px;
	cursor: pointer;
	font-size: 14px;
	transition: all 0.2s ease;
	margin-left: 10px;
}

.modal_confirm-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(79, 172, 254, 0.3);
}

.modal_cancel-btn {
	background: #f8f9fa;
	color: #666;
	border: 1px solid #ddd;
	padding: 10px 20px;
	border-radius: 6px;
	cursor: pointer;
	font-size: 14px;
	transition: all 0.2s ease;
}

.modal_cancel-btn:hover {
	background: #e9ecef;
	border-color: #ccc;
}

/* 响应式设计 */
@media (max-width: 480px) {
	.modal_dialog {
		min-width:92vw;
	}
}