/* 投诉悬浮按钮样式 - 替换原来的售后按钮 */
.m-order-history2 {
	position: fixed;
	top: 50%;
	right: 0;
	z-index: 9;
	width: 18px;
	text-align: center;
	color: #fff;
	padding: 28px 5px 8px 6px;
	-webkit-border-top-left-radius: 5px;
	-moz-border-radius-topleft: 5px;
	border-top-left-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
	-moz-border-radius-bottomleft: 5px;
	border-bottom-left-radius: 5px;
	line-height: 16px;
	font-size: 14px;
	background: rgba(220,20,60,.8) url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTggMUMxMS44NjYgMSAxNSA0LjEzNCAxNSA4UzExLjg2NiAxNSA4IDE1UzEgMTEuODY2IDEgOFM0LjEzNCAxIDggMVoiIHN0cm9rZT0iI0ZGRkZGRiIgc3Ryb2tlLXdpZHRoPSIxLjMiLz4KPHA+dGggZD0iTTcgNUg5VjhIN1Y1WiIgZmlsbD0iI0ZGRkZGRiIvPgo8cGF0aCBkPSJNNyAxMUg5VjEzSDdWMTFaIiBmaWxsPSIjRkZGRkZGIi8+Cjwvc3ZnPgo=') no-repeat center 5px;
	-webkit-background-size: 70% 70%;
	-moz-background-size: 70%;
	background-size: 70%;
	cursor: pointer;
	transition: background-color 0.3s ease;
	text-decoration: none;
}

.m-order-history2:hover {
	background-color: rgba(220,20,60,1);
	color: #fff;
}

/* 投诉弹窗样式 */
.complaint-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	z-index: 999;
	display: none;
	align-items: center;
	justify-content: center;
}

.complaint-modal.show {
	display: flex;
}

.complaint-modal-content {
	background: white;
	border-radius: 10px;
	width: 90%;
	max-width: 400px;
	padding: 20px;
	position: relative;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
	animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
	from {
		opacity: 0;
		transform: scale(0.7);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

.complaint-modal-header {
	text-align: center;
	margin-bottom: 20px;
	color: #333;
	font-size: 18px;
	font-weight: bold;
	position: relative;
}

.complaint-modal-close {
	position: absolute;
	top: -10px;
	right: -10px;
	background: #dc143c;
	color: white;
	border: none;
	border-radius: 50%;
	width: 30px;
	height: 30px;
	cursor: pointer;
	font-size: 16px;
	line-height: 1;
	transition: background-color 0.2s;
}

.complaint-modal-close:hover {
	background: #b71c1c;
}

.complaint-form-group {
	margin-bottom: 15px;
}

.complaint-form-label {
	display: block;
	margin-bottom: 5px;
	color: #333;
	font-weight: 500;
}

.complaint-form-input,
.complaint-form-textarea {
	width: 100%;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 5px;
	font-size: 14px;
	box-sizing: border-box;
	transition: border-color 0.2s;
}

.complaint-form-input:focus,
.complaint-form-textarea:focus {
	outline: none;
	border-color: #dc143c;
}

.complaint-form-textarea {
	min-height: 80px;
	resize: vertical;
}

.complaint-form-submit {
	width: 100%;
	background: #dc143c;
	color: white;
	border: none;
	padding: 12px;
	border-radius: 5px;
	font-size: 16px;
	cursor: pointer;
	transition: background-color 0.2s;
}

.complaint-form-submit:hover {
	background: #b71c1c;
}

.complaint-form-submit:disabled {
	background: #ccc;
	cursor: not-allowed;
}

/* 响应式设计 */
@media (max-width: 480px) {
	.complaint-modal-content {
		width: 95%;
		padding: 15px;
	}
	
	.complaint-modal-header {
		font-size: 16px;
	}
}