.rich-text-preview {
	min-height: 32px;
	padding: 4px 11px;
	border: 1px solid #d9d9d9;
	border-radius: 6px;
	background-color: #fff;
	cursor: pointer;
	transition: all 0.2s;
	line-height: 1.5715;
	display: flex;
	overflow: auto;

	&:hover {
		border-color: #40a9ff;
	}

	&:focus {
		border-color: #40a9ff;
		box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
		outline: 0;
	}

	// 空内容时的样式
	&:empty::before {
		content: '点击编辑内容';
		color: #bfbfbf;
	}

	// 处理富文本内容的样式
	:deep(p) {
		margin: 0;
		line-height: 1.5715;
	}

	:deep(.gapfilling-span) {
		color: #ff4d4f !important;
		border-bottom: 3px double #ff4d4f !important;
		padding: 0 30px !important;
		margin: 0 5px !important;
	}

	// 确保富文本内容正确显示
	:deep(*) {
		max-width: 100%;
	}
}

.question-item-label {
	margin-top: 10px;
	margin-bottom: 10px !important;
	display: flex;
}
.question-item-content-input {
	margin-left: 8px;
	width: 60%;
	height: 32px;
	border-radius: 6px;
	margin-right: 8px;
}
.question-item-span {
	vertical-align: middle;
	font-size: 14px;
	color: #606266;
	font-weight: 700;
	box-sizing: border-box;
	margin-left: 10px;
}
.question-item-rate {
	line-height: 2.5;
}
.question-item-remove {
	margin-left: 20px;
	margin-top: 3px;
}
