@charset "utf-8";
/*
    投诉举报页样式
*/

:root {
	--pm-c: #990000;
	--pm-d: #7a0000;
}

html, body {
	margin: 0;
	padding: 0;
	background: #f4f6f9;
	color: #303133;
	font-size: 14px;
	font-family: arial, "Microsoft YaHei", "PingFang SC", sans-serif;
	line-height: 1.6;
}

a {
	text-decoration: none;
}

.complaint-wrap {
	max-width: 720px;
	margin: 0 auto;
	padding: 40px 16px 60px;
}

.complaint-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 26px;
}
.complaint-logo img {
	width: 50px;
	height: 50px;
	margin-right: 10px;
}
.complaint-logo span {
	font-size: 22px;
	font-weight: bold;
	color: var(--pm-c);
}

.complaint-header {
	text-align: center;
	margin-bottom: 32px;
}
.complaint-header h1 {
	margin: 0 0 10px;
	font-size: 28px;
	font-weight: 600;
	color: #303133;
}
.complaint-header p {
	margin: 0;
	color: #909399;
	font-size: 14px;
}

.complaint-form {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 8px;
	padding: 28px 32px 32px;
	box-shadow: 0 2px 12px rgba(0,0,0,.04);
}

.form-group {
	margin-bottom: 24px;
}

.form-label {
	display: block;
	margin-bottom: 10px;
	font-size: 15px;
	font-weight: 600;
	color: #303133;
}
.form-label.required::before {
	content: "* ";
	color: #f56c6c;
}

.form-hint {
	margin: -6px 0 10px;
	font-size: 13px;
	color: #909399;
}

.type-item {
	width: 23%;
	display: inline-flex;
	align-items: center;
	margin: 0 0 6px;
	cursor: pointer;
}
.type-item input {
	width: 14px;
	height: 14px;
	margin: 0 6px 0 0;
	flex: none;
	accent-color: var(--pm-c);
	cursor: pointer;
}
.type-item span {
	border-radius: 4px;
	transition: color .15s;
}
.type-item:hover span {
	color: var(--pm-c);
}

.complaint-form input[type="text"],
.complaint-form textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 10px 14px;
	border: 1px solid #dcdfe6;
	border-radius: 4px;
	font-size: 14px;
	font-family: inherit;
	color: #303133;
	background: #fff;
	transition: border-color .15s;
}
.complaint-form input[type="text"]:focus,
.complaint-form textarea:focus {
	outline: none;
	border-color: var(--pm-c);
}
.complaint-form textarea {
	resize: vertical;
	min-height: 160px;
}

.form-actions {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-top: 8px;
	padding-top: 8px;
}

.btn-primary {
	display: inline-block;
	padding: 12px 36px;
	background: var(--pm-c);
	color: #fff !important;
	border: none;
	border-radius: 4px;
	font-size: 15px;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	transition: background .15s;
}
.btn-primary:hover:not(:disabled) {
	background: var(--pm-d);
}
.btn-primary:disabled {
	opacity: .65;
	cursor: not-allowed;
}

.btn-link {
	color: #909399;
	font-size: 14px;
}
.btn-link:hover {
	color: var(--pm-c);
}

.form-error {
	display: none;
	margin: 8px 0 0;
	font-size: 13px;
	color: #f56c6c;
}
.form-error.show {
	display: block;
}

/*提交结果弹窗*/
.complaint-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
}
.complaint-modal-mask {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,.45);
}
.complaint-modal-box {
	position: relative;
	width: 90%;
	max-width: 400px;
	padding: 36px 28px 28px;
	background: #fff;
	border-radius: 8px;
	text-align: center;
	box-shadow: 0 8px 32px rgba(0,0,0,.15);
}
.complaint-modal-icon {
	width: 56px;
	height: 56px;
	margin: 0 auto 16px;
	line-height: 56px;
	font-size: 28px;
	color: #fff;
	background: var(--pm-c);
	border-radius: 50%;
}
.complaint-modal-box p {
	margin: 0 0 24px;
	font-size: 15px;
	color: #303133;
	line-height: 1.6;
}

/*移动端样式*/
@media (max-width: 600px) {
	.complaint-wrap {
		padding: 0 0 40px;
	}
	.complaint-logo {
		margin: 20px 0 0;
	}
	.complaint-logo span {
		font-size: 18px;
	}
	.complaint-header {
		margin-bottom: 0;
	}
	.complaint-header h1 {
		font-size: 15px;
		padding: 16px;
		margin: 0;
		border-bottom: 1px solid #eee;
	}
	.complaint-header p {
		display: none;
	}
	.complaint-form {
		border: 0;
		border-radius: 0;
		padding: 20px 16px 24px;
		box-shadow: none;
	}
	.type-item {
		width: 46%;
		margin-bottom: 10px;
	}
	.type-item span {
		font-size: 13px;
	}
	.form-actions {
		flex-direction: column;
		align-items: stretch;
		gap: 14px;
	}
	.btn-primary {
		width: 100%;
	}
	.btn-link {
		text-align: center;
	}
}
