/* 模态框样式 */
.modal {
	display: none;
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background-color: rgba(0,0,0,0.5);
	backdrop-filter: blur(5px);
}

.modal .modal-content {
	background-color: #ffffff;
	margin: 10% auto;
	padding: 0;
	border: none;
	width: 90%;
	max-width: 550px;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.2);
	animation: modalFadeIn 0.3s ease-out;
	overflow: hidden;
}

@keyframes modalFadeIn {
	from {opacity: 0; transform: translateY(-50px) scale(0.9);}
	to {opacity: 1; transform: translateY(0) scale(1);}
}

.modal .modal-header {
	padding: 12px 30px;
	background: linear-gradient(135deg, #0B83E1 0%, #3F98FD 100%);
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-radius: 12px 12px 0 0;
}

.modal .modal-header h2 {
	margin: 0;
	font-size: 20px;
	font-weight: 600;
	color: white;
	font-family: 'Microsoft YaHei', sans-serif;
}

.modal .close-btn {
	color: white;
	font-size: 24px;
	font-weight: bold;
	background: none;
	border: none;
	cursor: pointer;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: all 0.2s ease;
}

.modal .close-btn:hover,
.modal .close-btn:focus {
	background-color: rgba(255,255,255,0.2);
	text-decoration: none;
	cursor: pointer;
}

.modal .modal-body {
	padding: 30px;
}

.modal .form-content {
	width: 100%;
}

.modal .form-row {
	margin-bottom: 24px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: 100%;
}

.modal .form-row .label {
	margin-bottom: 2px;
	font-weight: 500;
	font-size: 14px;
	color: #333333;
	font-family: 'Microsoft YaHei', sans-serif;
	text-align: left;
}

.modal .form-row .input {
	padding: 14px 16px;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	font-size: 14px;
	width: 100%;
	box-sizing: border-box;
	transition: all 0.3s ease;
	font-family: 'Microsoft YaHei', sans-serif;
	align-self: stretch;
}

.modal .form-row .input:focus {
	outline: none;
	border-color: #0B83E1;
	box-shadow: 0 0 0 3px rgba(11, 131, 225, 0.1);
}

.modal .form-row .input.full-width {
	width: 100%;
}

.modal .form-actions {
	display: flex;
	justify-content: flex-end;
	margin-top: 36px;
	gap: 12px;
}

.modal .btn {
	padding: 12px 24px;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	font-family: 'Microsoft YaHei', sans-serif;
	transition: all 0.3s ease;
	min-width: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.modal .btn-close {
	background-color: #f5f5f5;
	color: #0B83E1;
}

.modal .btn-close:hover {
	background-color: #e0e0e0;
}

.modal .btn-submit {
	background: linear-gradient(135deg, #0B83E1 0%, #3F98FD 100%);
	color: #f5f5f5;
	box-shadow: 0 4px 12px rgba(11, 131, 225, 0.3);
}

.modal .btn-submit:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(11, 131, 225, 0.4);
}
.modal .btn-submit .submit-btn{
	color: #f5f5f5;
}

/* 响应式调整 */
@media screen and (max-width: 600px) {
	.modal .modal-content {
		width: 95%;
		margin: 15% auto;
	}
	
	.modal .modal-header {
		padding: 20px 24px;
	}
	
	.modal .modal-body {
		padding: 24px;
	}
	
	.modal .form-actions {
		flex-direction: column;
	}
	
	.modal .btn {
		width: 100%;
	}
}