html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

/* 旋转动画 */
@keyframes rotating {
    from { transform: rotate(0); }
    to { transform: rotate(360deg); }
}

/* 文字渐变动画 */
@keyframes text-fade {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/*首页底部*/
.footer_bottom {
	width: 100%;
	height: 40px;
	background: #e8f9ff
}

.footer_bottom_box {
	width: 1200px;
	margin: 0 auto;
	height: 40px;
	line-height: 40px;
	text-align: center
}

.footer_bottom_box a,
.footer_bottom_box span {
	font-size: 13px;
	color: #333;
	margin-left: 15px
}

.footer_bottom_box img {
	box-sizing: border-box;
	vertical-align: middle
}

/* 间距类 */
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mr-2 { margin-right: 8px; }
.mt30 { margin-top: 30px; }
.mt40 { margin-top: 40px; }

/* 文本溢出 */
.ellipsis-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 删除图标 */
.delete-icon {
    cursor: pointer;
    color: #909399;
    padding: 4px;
    border-radius: 50%;
}
.delete-icon:hover {
    background-color: #dcdfe6;
    color: #f56c6c;
}
/* 附件项 */
.attachment-item {
    display: block; /* 改为块级元素，独占一行 */
    padding: 8px;
    margin-top: 10px;
    background-color: #f5f7fa;
    border-radius: 4px;
    transition: background-color .3s;
    width: 100%; /* 确保宽度填满容器 */
    box-sizing: border-box; /* 包含padding和border在内的宽度计算 */
}
 
/* 删除图标对齐调整 */
.attachment-item .delete-icon {
    float: right; /* 图标靠右浮动 */
    cursor: pointer;
}
 
.file-name2 {
    display: inline-block;
    max-width: calc(100% - 30px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
 
.attachment-item::after {
    content: "";
    display: table;
    clear: both;
}
 
/* 文件列表容器 */
.el-form-item .el-form-item__content > div {
    width: 100%;
}

/* 分页容器 */
.pagination-wrapper {
    padding: 30px 0;
    display: flex;
    justify-content: center;
}

/*忽略下拉菜单警告*/
.el-dropdown__popper {
    &[aria-hidden="true"] {
        display: none !important;
        pointer-events: none !important;
    }
}

/*uniedit富文本编辑器*/
.uniedit-container {
	width: 100%;
	margin: 20px auto;
	border: 1px solid #e4e7ed;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: auto;
}

.toolbar-group {
	padding: 8px;
	background: #f8f9fa;
	border-bottom: 1px solid #ebeef5;
}

.toolbar-row {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	padding: 4px 0;
}

.tool-group {
	display: flex;
	align-items: center;
	gap: 4px;
	position: relative;
}

.tool-group.divider::after {
	content: "|";
	color: #dcdfe6;
	margin-left: 8px;
}

.tool-item {
	padding: 6px 12px;
	border-radius: 4px;
	font-size: 14px;
	color: #606266;
	cursor: pointer;
	transition: all 0.2s;
	user-select: none;
}

.tool-item:hover {
	background: #ecf5ff;
}

.editor-content {
	min-height: 400px;
	padding: 20px;
	line-height: 1.6;
	outline: none;
	overflow-y: auto;
}

.editor-content:focus {
	box-shadow: inset 0 0 0 1px #409eff;
}

/* 确保空编辑器时有最小高度 */
.editor-content:empty::before {
    content: attr(placeholder);
    color: #aaa;
    display: inline-block;
    width: 100%;
    height: 1em;
}

.color-picker {
	padding: 10px;
}

.color-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 8px;
	margin-bottom: 12px;
}

.color-item {
	width: 32px;
	height: 32px;
	border-radius: 4px;
	cursor: pointer;
	transition: transform 0.2s;
}

.color-item:hover {
	transform: scale(1.1);
}

/*防止图片预览穿透*/
.el-table .el-table__cell {
    position: static !important;
}

/*打印*/
.print-container {
    position: relative;
    display: inline-block;
}

.print-button {
    margin-left:5px;
    background: rgba(255, 255, 255, 0.9);
}

.docx-preview {
	background: #f8f9fa;
	border: 1px solid #ddd;
	border-radius: 4px;
	min-height: 300px;
}

.loading-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 40px 0;

	.is-loading {
		animation: rotating 2s linear infinite;
	}
}

.error-message {
	margin: 20px;
}

/* 单图模式隐藏上传按钮 */
.hide-upload .el-upload {
    display: none !important;
}

	.header {
		display: flex;
		flex-direction: column;
		align-items: center
	}

	.footer {
		width: 100%;
		background: #fff;
		padding: 20px 0;
		overflow: hidden
	}

	.footer p {
		font-size: 12px;
		color: #333;
		line-height: 20px;
		text-align: center
	}

	.c-center {
		width: 100%;
		height: calc(100vh - 186px);
		position: relative;
		background: #72a0fe \9
	}
	
    .logo-container {
        width: 100%;
        padding-top: 30px;
        text-align: center;
    }
	/*** 动态配置logo样式 **/
    .full-width-logo {
        max-width: 100%;
        max-height: 100px;
        object-fit: contain;
    }
    
    .logo-full {
        width: 100%;
        height: auto;
        max-height: 100px;
        object-fit: cover;
    }
    
    .logo-original {
        width: auto;
        height: auto;
        max-height: 100px;
        object-fit: contain;
    }
	
	.searchs {
        display: flex; justify-content: center; align-items: center; width: 100%;
	}

	.cen-form,
	.cen-form2 {
		min-height: 560px;
		background: #fff;
		margin: auto;
		padding-bottom: 50px;
		position: relative;
	}

	.cen-form {
		width: 900px
	}

	.cen-form2 {
		width: 1200px
	}

	.ckhead {
		width: 100%;
		border-bottom: 1px solid #e3ebff;
		background: #f7faff;
		color: #333;
		font-size: 24px;
		text-align: center;
		padding: 15px 0 12px
	}

	.ckhead span {
		font-size: 16px;
		color: gray
	}

	.ckfoot {
		width: 100%;
		border-bottom: 1px solid #e3ebff;
		background: #f8f8f8;
		color: #333;
		font-size: 12px;
		position: absolute;
		bottom: 0;
		left: 0;
		padding: 10px 0;
		line-height: 30px
	}

	.form {
		padding-top: 70px;
		width: 490px;
		margin: auto
	}

	.ckbd {
		height: 40px;
		line-height: 40px;
		margin-bottom: 10px
	}

	.ckleft {
		float: left;
		color: #666;
		text-align: right;
		min-width: 120px
	}

	.ckright,
	.cipnut {
		float: left;
		width: 310px;
		height: 40px
	}

    .card-container {
        display: flex;
        justify-content: center;
        margin-top: 30px;
    }
    
	.cipnut {
		height: 37px;
		border: 1px solid #ddd;
		border-radius: 3px;
		padding-left: 20px
	}

	.inquire {
		width: 310px;
		height: 40px;
		margin-left: 120px;
		background: #1879D2;
		color: #fff;
		font-size: 16px;
		border: 0;
		border-radius: 3px;
		cursor: pointer
	}

	.inquire:hover {
		background: #0056b3
	}

	.floating-left,
	.floating-right {
		position: fixed;
		top: 5px;
		z-index: 90
	}

	.floating-left {
		left: 5px
	}

	.floating-right {
		right: 10px
	}
	
.card-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    padding: 0 20px;
}
.data-card {
    cursor: pointer;
    transition: transform 0.3s;
    border-radius: 8px;
}
.data-card:hover {
    transform: translateY(-5px);
}
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.card-title {
    color: #303133;
    font-size: 16px;
    margin: 0;
    flex: 1;
}
.status-tag {
    font-size: 12px;
    margin-left: 10px;
}
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}
.meta-info {
    color: #909399;
    font-size: 12px;
}

.smart-pagination .btn-prev,
.smart-pagination .btn-next {
    border-radius: 6px !important;
}

	@media (max-width:750px) {
		html {
			font-size: 4.5%
		}

		body {
			font-size: 14px
		}

		.body {
			overflow-x: hidden;
			overflow-y: auto;
			height: calc(100vh - 125px);
			min-width: 100vw;
			width: 100vw
		}

		.body::-webkit-scrollbar {
			display: none
		}

		.header {
			height: 64px
		}

		.header .top-main {
			width: 70vw
		}

		.c-center {
			min-height: 630px
		}

		.footer {
			height: auto;
			padding: 0
		}

		.met20 {
			margin-top: 20px
		}

		.header img {
			max-width: 100%
		}

		.ckhead {
			border-radius: 10px 10px 0 0;
			display: flex;
			justify-content: center;
			flex-direction: column;
			font-size: 16px;
			line-height: inherit
		}

		.ckhead p {
			line-height: 24px
		}

		.ckhead span {
			font-size: 14px;
			line-height: 28px
		}

		.cen-form {
			width: 90%;
			border-radius: 10px
		}

		.form {
			width: 100%;
			padding-top: 20px
		}

		.ckbd {
			height: auto;
			padding-left: 15%;
			font-size: 14px
		}

		.ckleft {
			float: initial;
			text-align: left
		}

		.ckright {
			float: initial
		}

		.cipnut {
			padding-left: 5px;
			width: 80%
		}

		.inquire {
			margin-left: 0;
			width: 80%
		}

		.footer .mid {
			width: auto;
			display: flex;
			align-items: center;
			justify-content: center;
			flex-wrap: wrap
		}

		.footer .fofl,
		.footer .fofr {
			width: auto;
			float: left;
			padding-top: 10px
		}

		.ckfoot {
			padding: 0
		}

		.footer_bottom {
			height: 85px
		}

		.footer_bottom_box {
			height: 85px;
			line-height: 22px;
			width: auto;
			display: flex;
			flex-direction: column;
			align-items: center;
			justify-content: center
		}

		.footer_bottom_box span {
			margin-left: 0
		}
	}

	@media (max-width:360px) {
		.nav-result li {
			padding: 0 6px
		}
	}

	@media (max-width:320px) {
		.nav-result li {
			padding: 0 6px
		}

		.ckbd {
			padding-left: 8%
		}

		.ckfoot {
			height: auto;
			line-height: 20px;
			padding: 10px 20px
		}
	}

	::-webkit-scrollbar {
		width: 8px
	}

	::-webkit-scrollbar-track {
		background: #f5f5f5
	}

	::-webkit-scrollbar-thumb {
		background: #aaa;
		border-radius: 4px
	}

	::-webkit-scrollbar-corner {
		display: none
	}

	@supports (-moz-appearance:none) {
		::-moz-scrollbar {
			width: 8px
		}

		::-moz-scrollbar-track {
			background: #f5f5f5
		}

		::-moz-scrollbar-thumb {
			background: #aaa;
			border-radius: 4px
		}
	}

	.scrollbar-demo-item {
		display: flex;
		align-items: center;
		justify-content: center;
		height: 40px;
		margin: 10px;
		text-align: center;
		border-radius: 4px;
		cursor: pointer;
		transition: background-color 0.3s, border-color 0.3s;
		background: var(--el-color-primary-light-9);
		color: var(--el-color-primary)
	}

	.scrollbar-demo-item:hover {
		color: #fff;
		background: #97a6eb;
		border-color: #bbb
	}

	.el-descriptions__title {
		color: #409eff
	}

	.content {
		max-width: 1200px;
		margin: 30px auto;
		background: #fff;
		border-radius: 8px;
		box-shadow: 0 2px 10px #0000001a;
		padding: 20px
	}

	@media (max-width:768px) {
		.content {
			margin: 0;
			padding: 10px 20px;
			border-radius: 0
		}
	}

	a {
		text-decoration: none;
		color: #3498db;
		font-weight: 700
	}

	a:hover {
		text-decoration: underline
	}

	.blog-detail {
		margin-top: 20px;
		line-height: 1.5;
		text-align: left
	}

	.blog-detail p {
		text-align: left
	}

	.meta {
		font-size: .9em;
		color: #777
	}

	.ewm {
		padding: 30px;
		text-align: center
	}

	.footer-text {
		color: gray;
		font-size: 12px;
		margin-top: 10px
	}

	.card-list {
		display: grid;
		gap: 16px;
		padding: 8px 0
	}

	.list-card {
		cursor: pointer;
		transition: transform .2s, box-shadow .2s;
		background: #e6f7ff;
		border-radius: 8px;
		box-shadow: 0 4px 8px #0000001a
	}

	.list-card:hover {
		transform: translateY(-2px);
		box-shadow: 0 6px 12px #00000033
	}

	.card-header {
		display: flex;
		justify-content: space-between;
		align-items: center;
		margin-bottom: 12px
	}

	.title {
		font-size: 16px;
		font-weight: 500;
		max-width: 70%;
		overflow: hidden;
		text-overflow: ellipsis
	}

	.meta-info {
		display: flex;
		align-items: center;
		color: #999
	}

	.pagination-container {
		margin-top: 24px;
		text-align: center
	}

	.notice-overlay {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: #00000099;
		display: flex;
		justify-content: center;
		align-items: center;
		z-index: 900;
		transition: opacity .3s
	}

	.notice-modal {
		background: #fff;
		padding: 25px 30px;
		border-radius: 15px;
		width: 85%;
		max-width: 950px;
		text-align: left;
		box-shadow: 0 4px 12px #0000001a;
		transition: transform .3s;
		opacity: 0.95;
		text-indent: 2em;
	}

	.notice-title {
		font-size: 20px;
		font-weight: 600;
		margin-bottom: 15px;
		text-align: center;
		color: #333
	}

	.notice-text {
		font-size: 16px;
		color: #555;
		margin-bottom: 25px;
		white-space: pre-line
	}

	.notice-button {
		width: 100%;
		padding: 12px;
		background: #007bff;
		border: 0;
		color: #fff;
		font-size: 16px;
		font-weight: 700;
		border-radius: 8px;
		cursor: pointer;
		transition: background-color .3s, transform .2s
	}

	.notice-button:hover {
		background: #0056b3;
		transform: scale(1.05)
	}

	.contact-button {
		display: flex;
		flex-direction: column;
		align-items: center;
		background: #2f78ff;
		color: #fff;
		border-radius: 50px;
		padding: 15px 20px;
		box-shadow: 0 3px 15px #00000033;
		position: fixed;
		right: 20px;
		bottom: 20px;
		z-index: 100;
		transition: background-color .3s, transform .3s;
		cursor: pointer
	}

	.contact-button:hover {
		background: #0056b3;
		transform: translateY(-5px)
	}

	.icons-text {
		margin-top: 8px;
		font-size: 18px;
		text-align: center
	}
	
	.cxdiv {
	    display: flex; justify-content: center; width: 100%; margin-top: 20px;
	}
	
	.cxbutton {
	    width:180px;height:40px;font-size:17px;
	}
	

/*审批流程*/
.approver {
    font-size: 14px;
    font-weight: 500;
    color: #3E3E3E;
}

.comment {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.no-comment {
    font-size: 14px;
    color: #999;
    margin-top: 5px;
}

	.approval-history {
		border-radius: 8px;
		box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
	}

	.approval-history-title {
		display: flex;
		align-items: center;
		font-size: 16px;
		color: #303133;
	}

	.approval-history-title i {
		margin-right: 8px;
		font-size: 18px;
		color: #409EFF;
	}

	.timeline-item {
		padding: 10px 0;
	}

	.record-card {
		background: #f8f9fa;
		border-radius: 6px;
		padding: 16px;
		margin: 8px 0;
		transition: all 0.3s;
		border-left: 4px solid;
	}

	.record-card.approved {
		border-color: #67C23A;
		background: linear-gradient(to right, #f0f9eb 10%, #f8f9fa 100%);
	}

	.record-card.rejected {
		border-color: #F56C6C;
		background: linear-gradient(to right, #fef0f0 10%, #f8f9fa 100%);
	}

	.record-header {
		display: flex;
		justify-content: space-between;
		align-items: center;
		margin-bottom: 12px;
	}

	.status-wrapper {
		display: flex;
		align-items: center;
		gap: 15px;
	}

	.status-tag {
		font-weight: 500;
		letter-spacing: 0.5px;
	}

	.status-tag i {
		margin-right: 4px;
	}

	.approver-name {
		color: #606266;
		font-size: 14px;
	}

	.approver-name i {
		margin-right: 5px;
		color: #909399;
	}

	.step-info {
		color: #909399;
		font-size: 13px;
	}

	.step-info i {
		margin-right: 4px;
	}
	
	.todo-list-container {
		max-width: 1200px;
		margin: 20px auto;
		padding: 0 20px;
	}

	.list-item {
		margin-bottom: 15px;
		transition: transform 0.3s;

		&:hover {
			transform: translateY(-3px);
		}
	}

	.item-header {
		display: flex;
		align-items: center;
		margin-bottom: 15px;

		.status-tag {
			margin-right: 12px;
		}

		.form-name {
			flex: 1;
			font-weight: 500;
			font-size: 16px;
			color: #333;
		}

		.time {
			color: #999;
			font-size: 0.9em;
		}
	}

	.meta-grid {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
		gap: 15px;
		margin-bottom: 12px;

		.meta-item {
			.label {
				display: block;
				color: #666;
				font-size: 0.9em;
				margin-bottom: 4px;
			}

			.value {
				font-weight: 500;
				color: #333;
			}
		}
	}

	.item-actions {
		margin-top: 15px;
		text-align: right;
	}

	/* 商品详情 */
	.detail-container,
	.list-container {
		max-width: 1200px;
		margin: 30px auto;
		background: #fff;
		border-radius: 8px;
		box-shadow: 0 2px 10px #0000001a;
		padding: 20px
	}

	.detail-container .detail-header,
	.list-container .detail-header {
		display: flex;
		align-items: center;
		margin-bottom: 24px;
	}

	.detail-container .detail-header .back-icon,
	.list-container .detail-header .back-icon {
		cursor: pointer;
		font-size: 24px;
		color: var(--el-color-primary);
		transition: transform 0.2s;
	}

	.detail-container .detail-header .back-icon:hover,
	.list-container .detail-header .back-icon:hover {
		transform: translateX(-4px);
	}

	.detail-container .detail-header .title,
	.list-container .detail-header .title {
		margin: 0;
		font-size: 28px;
		color: #333;
		line-height: 1.3;
		padding-left: 12px;
	}

	.detail-container .meta-info,
	.list-container .meta-info {
		margin-bottom: 20px;
	}

	.detail-container .meta-info .el-tag,
	.list-container .meta-info .el-tag {
		padding: 8px 12px;
		border-radius: 16px;
	}

	.detail-container .image-wrapper,
	.list-container .image-wrapper {
		border-radius: 12px;
		overflow: hidden;
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
		margin-bottom: 32px;
	}

	.detail-container .image-wrapper .product-image,
	.list-container .image-wrapper .product-image {
		width: 100%;
		height: 480px;
		transition: transform 0.3s;
	}

	.detail-container .image-wrapper .product-image:hover,
	.list-container .image-wrapper .product-image:hover {
		transform: scale(1.02);
	}

	.detail-container .image-wrapper .image-fallback,
	.list-container .image-wrapper .image-fallback {
		display: flex;
		align-items: center;
		justify-content: center;
		height: 100%;
		background: #f8f9fa;
	}

	.detail-container .image-wrapper .image-fallback .image-icon,
	.list-container .image-wrapper .image-fallback .image-icon {
		font-size: 48px;
		color: var(--el-text-color-placeholder);
		margin-right: 12px;
	}

	.detail-container .image-wrapper .image-fallback .image-text,
	.list-container .image-wrapper .image-fallback .image-text {
		color: var(--el-text-color-secondary);
	}

	.detail-container .description,
	.list-container .description {
		line-height: 1.8;
		font-size: 16px;
		color: #444;
		margin-bottom: 40px;
	}

	.detail-container .description img,
	.list-container .description img {
		max-width: 100%;
		border-radius: 8px;
		margin: 16px 0;
	}

	.detail-container .action-card,
	.list-container .action-card {
		background: #f8f9fa;
		border-radius: 12px;
		padding: 24px;
		margin: 32px 0;
	}

	.detail-container .action-card .stats-group,
	.list-container .action-card .stats-group {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 16px;
		margin-bottom: 24px;
	}

	.detail-container .action-card .stats-group .stat-tag,
	.list-container .action-card .stats-group .stat-tag {
		font-size: 15px;
		padding: 10px 18px;
	}

	.detail-container .action-card .purchase-btn,
	.list-container .action-card .purchase-btn {
		width: 100%;
		height: 48px;
		font-size: 18px;
	}

	.detail-container .action-card .purchase-btn .btn-icon,
	.list-container .action-card .purchase-btn .btn-icon {
		font-size: 20px;
		margin-right: 8px;
	}

	.detail-container .hidden-content,
	.list-container .hidden-content {
		background: #fff;
		border: 1px solid var(--el-border-color);
		border-radius: 8px;
		padding: 24px;
		margin: 32px 0;
	}

	.detail-container .hidden-content .content-title,
	.list-container .hidden-content .content-title {
		color: var(--el-color-primary);
		margin: 0 0 16px;
	}

	.detail-container .hidden-content .content-text,
	.list-container .hidden-content .content-text {
		white-space: pre-wrap;
		word-break: break-all;
		line-height: 1.6;
		margin: 0;
		color: #666;
	}

	.detail-container .qrcode-section,
	.list-container .qrcode-section {
		text-align: center;
		margin: 40px 0;
	}

	.detail-container .qrcode-section .qrcode-card,
	.list-container .qrcode-section .qrcode-card {
		display: inline-block;
		padding: 24px;
		background: #fff;
		border-radius: 12px;
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	}

	.detail-container .qrcode-section .qrcode-tip,
	.list-container .qrcode-section .qrcode-tip {
		margin: 16px 0 0;
		text-align: center;
		color: var(--el-text-color-secondary);
	}

	.detail-container .footer-actions,
	.list-container .footer-actions {
		text-align: center;
		padding: 40px 0 20px;
	}

	.detail-container .footer-actions .back-btn,
	.list-container .footer-actions .back-btn {
		width: 200px;
		padding: 12px 24px;
	}

	/* 列表容器扩展样式 */
	.list-container {
		padding-top: 32px;
	}

	.list-container .product-col {
		margin-bottom: 24px;
	}

	.list-container .product-card {
		background: #f1f7f9;
		border-radius: 12px;
		overflow: hidden;
		transition: transform 0.3s, box-shadow 0.3s;
		height: 100%;
	}

	.list-container .product-card:hover {
		transform: translateY(-4px);
		box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
	}

	.list-container .product-card .card-image {
		position: relative;
		height: 240px;
		cursor: pointer;
	}

	.list-container .product-card .card-image .el-image {
		width: 100%;
		height: 100%;
	}

	.list-container .product-card .card-image .badges {
		position: absolute;
		top: 12px;
		right: 12px;
		display: flex;
		flex-direction: column;
		gap: 8px;
	}

	.list-container .product-card .card-image .badges .stock-tag {
		order: 2;
	}

	.list-container .product-card .card-image .badges .points-tag {
		order: 1;
	}

	.list-container .product-card .card-body {
		padding: 16px;
	}

	.list-container .product-card .card-body .title {
		margin: 0 0 12px;
		font-size: 16px;
		color: #333;
		cursor: pointer;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		overflow: hidden;
		line-height: 1.4;
		min-height: 44px;
	}

	.list-container .product-card .card-body .title:hover {
		color: var(--el-color-primary);
	}

	.list-container .product-card .card-body .meta-group {
		display: flex;
		gap: 8px;
		flex-wrap: wrap;
		margin-bottom: 16px;
	}

	.list-container .product-card .card-body .meta-group .el-tag {
		padding: 4px 10px;
	}

	.list-container .product-card .card-body .action-area {
		display: flex;
		gap: 8px;
		margin-top: 12px;
	}

	.list-container .product-card .card-body .action-area .el-button {
		flex: 1;
	}

	.pagination-wrap {
		padding: 22px 0;
		text-align: center;
	}
	
	/*预约表单*/
	.card-container .reservation-section {
		margin-bottom: 24px;
		background: #fff;
		border-radius: 8px;
		padding: 20px;
		box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.06);
	}

	.card-container .reservation-section .section-header {
		display: flex;
		align-items: center;
		margin-bottom: 20px;
		padding-bottom: 12px;
		border-bottom: 1px solid #ebeef5;
	}

	.card-container .reservation-section .section-header .el-icon {
		font-size: 18px;
		margin-right: 8px;
		color: #409EFF;
	}

	.card-container .reservation-section .section-header .title {
		font-size: 16px;
		font-weight: 600;
		color: #303133;
	}

	.card-container .reservation-section .section-header .tip-icon {
		margin-left: 8px;
		color: #909399;
		cursor: help;
	}

	.card-container .reservation-section .grid-container {
		margin: -8px;
	}

	.card-container .reservation-section .grid-container .el-col {
		padding: 8px;
	}

	.card-container .reservation-section .reservation-card {
		border: 1px solid #ebeef5;
		border-radius: 6px;
		background: #fff;
		cursor: pointer;
		transition: all 0.3s;
		position: relative;
		overflow: hidden;
	}

	.card-container .reservation-section .reservation-card:hover:not(.disabled) {
		transform: translateY(-3px);
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
		border-color: #409EFF;
	}

	.card-container .reservation-section .reservation-card.active {
		border-color: #409EFF;
		background: rgba(64, 158, 255, 0.05);
	}

	.card-container .reservation-section .reservation-card.active::after {
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		width: 3px;
		height: 100%;
		background: #409EFF;
	}

	.card-container .reservation-section .reservation-card.disabled {
		cursor: not-allowed;
		opacity: 0.6;
		background: #f5f7fa;
	}

	.card-container .reservation-section .reservation-card.disabled * {
		pointer-events: none;
	}

	.card-container .reservation-section .reservation-card .card-content {
		padding: 16px;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	.card-container .reservation-section .reservation-card .card-content .main-info {
		flex: 1;
	}

	.card-container .reservation-section .reservation-card .card-content .main-info .date,
	.card-container .reservation-section .reservation-card .card-content .main-info .time-range {
		font-size: 15px;
		font-weight: 500;
		color: #303133;
		margin-bottom: 4px;
	}

	.card-container .reservation-section .reservation-card .card-content .main-info .week,
	.card-container .reservation-section .reservation-card .card-content .main-info .duration {
		font-size: 12px;
		color: #909399;
	}

	.card-container .reservation-section .reservation-card .card-content .status-indicator {
		flex-shrink: 0;
		margin-left: 12px;
	}

	/* 时段特殊样式 */
	.card-container .reservation-section .reservation-card.time-slot .card-content {
		padding: 14px 16px;
	}

	.card-container .reservation-section .reservation-card.time-slot .card-content .time-range {
		font-weight: 600;
	}

/* 新增登录样式 */
.login-methods {
  display: flex;
  border-bottom: 1px solid #eee;
  margin: 0 20px;
}

.method-tab {
  flex: 1;
  text-align: center;
  padding: 12px 0;
  cursor: pointer;
  color: #999;
  font-weight: 500;
}

.method-tab.active {
  color: #409EFF;
  border-bottom: 2px solid #409EFF;
  margin-bottom: -1px;
}

.third-party-login {
  margin: 25px 20px 0;
}

.divider {
  position: relative;
  text-align: center;
  margin: 20px 0;
}

.divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  border-top: 1px solid #eee;
  z-index: 1;
}

.divider-text {
  position: relative;
  background: white;
  padding: 0 15px;
  color: #999;
  font-size: 14px;
  z-index: 2;
}

.third-party-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.wechat-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  padding: 10px 15px;
  background: white;
  border: 1px solid #07C163;
  border-radius: 4px;
  color: #07C163;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
}

.wechat-login-btn:hover {
  background: #f0fff9;
  border-color: #06a858;
}

.wechat-login-btn img {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}

.sms-btn {
  padding: 0 12px;
  background: #409EFF;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  min-width: 100px;
}

.sms-btn:disabled {
  background: #a0cfff;
  cursor: not-allowed;
}

.global-loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-content {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

/* 媒体元素响应式处理 */
.media-container video,
.media-container iframe {
    max-width: 100% !important; /* 限制最大宽度 */
    height: auto !important;    /* 高度自适应 */
    display: block;             /* 避免行内元素间隙 */
    margin: 10px auto;          /* 居中显示 */
}

/* 响应式视频容器 */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 宽高比 */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe,
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

.admin-container {
    height: 100%;
    margin: 0;
    padding: 0;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
 
.aside-menu {
    background: linear-gradient(to bottom, #001529, #0A2463);
    transition: width 0.3s ease;
    border-right: none;
    padding: 10px;
    border-radius: 8px;
}

/* 骨架屏样式 */
.el-skeleton {
    padding: 20px 0;
}
.el-skeleton__item {
    height: 40px;
    margin-bottom: 10px;
    background: rgba(255,255,255,0.1);
}
 
.logo-area {
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    color: white;
    font-size: 16px;
    letter-spacing: 1px;
}
 
.logo {
    width: 30px;
    margin-right: 10px;
}
 
.logo-area span {
    white-space: nowrap;
}
 
.vertical-menu {
    border-right: none;
    background: transparent;
}
 
.el-menu-item,
.el-sub-menu__title {
    color: rgba(255, 255, 255, 0.85);
    padding: 12px 20px !important;
    transition: all 0.3s ease;
    font-size: 14px;
    line-height: 1.5;
}
 
.el-menu-item:hover,
.el-sub-menu__title:hover {
    color: #fff !important;
    background: #1890ff !important;
    transform: scale(1.02);
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}
 
.el-menu--inline {
    background: rgba(0, 37, 41, 0.9);
    border-radius: 6px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}
 
.el-menu--inline .el-menu-item {
    color: rgba(255, 255, 255, 0.85);
    padding: 10px 18px !important;
}
 
.el-menu--inline .el-menu-item:hover {
    color: #fff !important;
    background: #1890ff !important;
    transform: scale(1.02);
}

.main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
    padding: 0 20px;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 01.);
}
 
.header-left {
    display: flex;
    align-items: center;
}

.header-right {
    display: flex;
    justify-content: flex-end;
}
 
.breadcrumb {
    margin-left: 20px;
    font-size: 14px;
}
 
.user-info {
    display: flex;
    align-items: center;
    cursor: pointer;
}
 
.el-avatar {
    margin-right: 10px;
}
 
.main-content {
    background: #f0f2f5;
    padding: 24px;
    border-radius: 8px;
}

.tabs-container {
    background-color: #fff;
    margin: 10px 10px 0 10px;
}

.readxlsx {
    padding: 10px;
    width: 100%;
}

.word-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 4px;
    background-color: var(--el-color-primary-light-9);
    transition: all 0.3s;
}

.word-link:hover {
    background-color: var(--el-color-primary-light-7);
}


@keyframes rotating {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}
    
.crudtabel .el-table__cell .cell {
    padding: 0 6px !important; /* crudtabel表格内容减小左右边距 */
}

/*导出进度条*/
	.export-container {
		display: inline-block;
	}

	.export-container .export-button {
		padding: 8px 15px;
		margin-left: 10px;
	}

	.export-container .export-button .el-icon {
		margin-right: 6px;
	}

	.progress-container {
		padding: 20px;
	}

	.progress-container .el-progress {
		margin: 15px 0;
	}

	.progress-container .el-progress .percentage-text {
		font-weight: bold;
		color: #409eff;
	}

	.progress-container .el-progress .percentage-text .el-icon {
		margin-left: 5px;
	}

	.progress-container .progress-tips {
		margin-top: 15px;
		display: flex;
		align-items: center;
		justify-content: center;
		color: #666;
	}

	.progress-container .progress-tips .el-icon {
		margin-right: 8px;
		font-size: 16px;
	}

	.progress-container .progress-tips .loading-icon {
		color: #409eff;
		animation: rotating 2s linear infinite;
	}

	.progress-container .progress-tips .success-icon {
		color: #67c23a;
	}

    /*证书模板*/
	.field-tip {
		color: #666;
		margin-bottom: 15px;
	}

	.field-item {
		display: flex;
		align-items: center;
		margin: 10px 0;
		padding: 10px;
		background: #f8f8f8;
		border-radius: 4px;
	}

	.field-name {
		flex: 1;
		min-width: 100px;
	}

	.field-coordinates {
		display: flex;
		gap: 10px;
	}

	.footer-actions {
		margin-top: 20px;
		text-align: center;
	}

	.preview-image {
		width: 100%;
		height: 100%;
		object-fit: contain;
	}
	
	.config-container {
		display: grid;
		grid-template-columns: 1fr 300px;
		gap: 20px;
		height: 70vh;
	}

	.canvas-wrapper {
		position: relative;
		background-size: contain;
		background-repeat: no-repeat;
		background-position: center;
	}

	.field-element {
	    box-sizing: border-box;
	    user-select: none;
		position: absolute;
		cursor: move;
		border: 1px dashed transparent;
		transition: all 0.2s;
		transform-style: flat;
	}

	.field-element.active {
		border-color: #409eff;
		box-shadow: 0 0 8px rgba(64, 158, 255, 0.3);
		z-index: 100;
	}

	.resize-handle {
		position: absolute;
		background: #409eff;
		cursor: nwse-resize;
		border-radius: 2px;
		opacity: 0;
		transition: opacity 0.2s;
        right: -8px;
        bottom: -8px;
        width: 16px;
        height: 16px;
	}

	.field-element:hover .resize-handle {
		opacity: 1;
	}

    .position-inputs {
        display: flex;
        flex-direction: column; /* 设置为垂直排列 */
        gap: 10px;
    }
	
	.field-element {
		position: absolute;
		padding: 4px 8px;
		border: 1px dashed #ccc;
		background: rgba(255, 255, 255, 0.9);
		transition: all 0.2s;
		user-select: none;
	}

	.field-element:hover {
		border-color: #409eff;
		box-shadow: 0 2px 12px rgba(64, 158, 255, 0.1);
	}

	.field-element.active {
		border: 2px solid #409eff;
		z-index: 1000;
		box-shadow: 0 2px 12px rgba(64, 158, 255, 0.2);
	}

	.resize-handle {
		position: absolute;
		right: -6px;
		bottom: -6px;
		width: 12px;
		height: 12px;
		background: #409eff;
		border-radius: 50%;
		cursor: nwse-resize;
		opacity: 0;
		transition: opacity 0.2s;
	}

	.canvas-container {
		border: 1px solid transparent;
		border-radius: 4px;
		background: #f8f9fa;
		position: relative;
		overflow: auto;
	}
	
	/*富文本编辑器*/
    .blocks-container {
		display: flex;
		flex-direction: column;
		background-color: #ffffff;
		border: 2px solid #dadada;
	}

	.block-container {
		display: flex;
		justify-content: space-between;
		align-items: flex-start;
		margin-bottom: 5px;
	}

	.media-block {
		flex-grow: 1;
		margin-right: 10px;
	}

	.block-actions {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 5px;
	}

	.image-preview {
		width: 100%;
		min-height: 200px;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.image-error {
		color: #f56c6c;
		padding: 20px;
	}

	.toolbar {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 12px 0;
		border-top: 1px solid #ebeef5;
		margin-top: 20px;
	}
	
	.main-actions {
	    display: flex; justify-content: flex-start; align-items: center;gap: 10px;padding: 0 10px;
	}
	
    .media-img,
	.media-video {
		width: 300px;
		margin: auto;
	}

	.history-actions {
		display: flex;
		align-items: center;
		gap: 12px;
	}

	.history-btn {
		padding: 10px 16px;
		background-color: #d9e7ff80;
        color: #121213;
		color: #121213;
	}

	.clear-btn {
		padding: 10px 16px;
	}
    
    /* 小尺寸模式 */
    .small {
        width: 60px;
        height: 60px;
    }
        
    .preview-wrapper .preview-content {
        width: 100%;
        height: 100%;
        position: relative;
    }
    
    .preview-wrapper .preview-content .preview-image {
        width: 100%;
        height: 100%;
        object-fit: fill;
    }
    
    .upload-trigger {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
    }
    
    .preview-wrapper .upload-trigger .camera-icon {
        font-size: 36px;
        color: #ddd;
    }
    
    .preview-wrapper .upload-trigger .tip-text {
        font-size: 14px;
        color: #999;
        margin-top: 8px;
    }
    
    .preview-wrapper .delete-btn {
        position: absolute;
        right: 8px;
        top: 8px;
        background: rgba(0, 0, 0, 0.5);
        padding: 6px;
        border-radius: 50%;
        color: white;
        z-index: 2;
    }
    
    .image-grid {
        max-height: 60vh;
        overflow-y: auto;
    }
    
    .image-grid .grid-container {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 12px;
        padding-bottom: 16px;
        border: 2px solid #f2f0f0;
    }
    
    .image-grid .grid-container .grid-item {
        position: relative;
        aspect-ratio: 1;
        border-radius: 6px;
        overflow: hidden;
        background: #f8f8f8;
        cursor: pointer;
    }
    
    .image-grid .grid-container .grid-item .thumbnail {
        width: 100%;
        height: 100%;
        object-fit: fill;
    }
    
    .image-grid .grid-container .grid-item.selected {
        box-shadow: 0 0 0 3px var(--primary-color);
    }
    
    .image-grid .grid-container .grid-item .item-actions {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        display: flex;
        justify-content: space-between;
        padding: 6px;
    }
    
    .image-grid .grid-container .grid-item .item-actions .selected-mark {
        width: 24px;
        height: 24px;
        background: var(--primary-color);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .image-grid .grid-container .grid-item .item-actions .delete-action {
        width: 24px;
        height: 24px;
        background: var(--danger-color);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .image-grid .loading-text {
        text-align: center;
        padding: 16px;
        color: #999;
        font-size: 14px;
    }
    
    .dialog-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px;
    }
    
    .dialog-header .header-left {
        display: flex;
        align-items: center;
        gap: 16px;
    }
    
    .dialog-header .header-left .title {
        font-size: 18px;
        font-weight: 500;
    }
    
    .dialog-header .close-icon {
        cursor: pointer;
        padding: 4px;
    }
    
    .dialog-header .close-icon:hover {
        color: var(--primary-color);
    }
    
    .image-picker-dialog {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        position: fixed;
        bottom: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 12px 12px 0 0;
    }
    
    .image-picker-dialog .el-dialog__header {
        padding: 0;
    }
    
    .image-picker-dialog .el-dialog__body {
        padding: 0 16px 16px;
    }
    
/*网页模板*/
	.main-layout {
		display: grid;
		grid-template-columns: 1fr 400px;
		gap: 20px;
		margin-bottom: 20px;
	}

	.config-group {
		margin-bottom: 24px;
		padding: 16px;
		border: 1px solid #ebeef5;
		border-radius: 4px;
	}

	.group-title {
		margin: 0 0 16px 0;
		color: #606266;
		font-size: 14px;
	}
	
	.preview-card {
		height: calc(100vh - 190px);
	}
	
	.mobile-preview {
        width: 375px; /* 移动设备标准宽度 */
        min-height: 600px;
        overflow: hidden;
        background: white;
        position: relative;
        box-shadow: 0 0 20px rgba(0,0,0,0.1);
    }

	.preview-header {
	    position: relative;
	    width:100%;
	}
    
    /*图片选择*/
	.preview-wrapper {
		padding: 10px;
		background-size: cover;
		background-position: center;
        width: 120px;
        height: 120px;
        border: 2px dashed #e5e5e5;
        border-radius: 8px;
        background: #f8f8f8;
        overflow: hidden;
        position: relative;
        cursor: pointer;
	}

    .preview-title {
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s;
    }
     
    /* 颜色背景模式下的样式 */
    .header-color-mode .preview-title {
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

	.preview-btn {
		margin: 20px auto;
		white-space: nowrap;
	}
	
.example-prompts {
    margin-top: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 4px;
}

.prompt-title {
    color: #666;
    font-size: 12px;
    margin-bottom: 8px;
}

.prompt-tag {
    margin-right: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.prompt-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.generated-preview {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #ebeef5;
    border-radius: 4px;
}

.field-tag {
    margin-right: 10px;
    margin-bottom: 10px;
}

.birthday {
    --el-input-bg-color: rgba(255,255,0,0.3) !important; /* 半透明黄色背景 */
    --el-input-text-color: #ff0000 !important;
}

.birthday :deep(.el-input__wrapper) {
    background: var(--el-input-bg-color);
    box-shadow: 0 0 0 1px var(--el-input-border-color) !important;
}

.birthday :deep(.el-input__inner) {
    color: var(--el-input-text-color);
    font-weight: bold; /* 可添加额外样式 */
}

/*文件管理器*/
.file-manager-container {
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,.1);
}

.action-bar {
    margin-bottom: 20px;
}

.breadcrumb2 {
    padding: 10px 5px;
    margin-bottom: 15px;
    background: #f5f7fa;
    border-radius: 4px;
    font-size: 15px;
}

.file-table {
    margin: 20px 0;
}

.file-item {
    display: flex;
    align-items: center;
    padding: 5px 0;
}

.file-icon {
    font-size: 24px;
    margin-right: 12px;
}

.file-name {
    font-size: 14px;
    margin-right: 8px;
}

.preview-media {
    text-align: center;
}
.preview-player {
    max-width: 100%;
    max-height: 70vh;
}
.preview-image {
    max-height: 70vh;
}

/*文本预览*/
.preview-text {
    background: #f5f0e6; /* 羊皮纸底色 */
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    max-width: 900px; /* 最佳阅读宽度 */
    margin: 20px auto;
    padding: 30px 15px;
}

/* 文本内容样式 */
.text-content pre {
    font-family: "思源宋体", "Noto Serif SC", serif;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #3a3a3a;
    white-space: pre-wrap;
    word-wrap: break-word;
    text-align: justify;
    margin: 0;
    padding: 0 15px;
    /* 首行缩进解决方案 */
    display: block;
    text-indent: 2em;  /* 全局缩进 */
    hanging-punctuation: first; /* 标点悬挂 */
}

/* 智能段落检测 */
.text-content pre {
    counter-reset: paragraph;
}

/* 段落生成规则 */
.text-content pre br + :not(br):before {
    display: block;
    content: "";
    margin-top: 0.8em;
    text-indent: 2em;
}

/* 处理空段落 */
.text-content pre br[data-empty]:after {
  content: "\A\A";
  white-space: pre;
}

/* 代码高亮 */
/* 代码预览容器样式 */
.text-content div[class^="language-"] {
    white-space: pre-wrap !important;
    word-wrap: break-word !important;
    word-break: break-all !important;
    overflow-x: auto;
    padding: 1em;
    border-radius: 6px;
    display: block;
    font-family: Monaco, Consolas, "Courier New", monospace;
}

/* 修复行内元素换行问题 */
.text-content span.hljs-tag,
.text-content span.hljs-keyword,
.text-content span.hljs-meta {
    white-space: pre-wrap !important;
    word-break: break-word !important;
    display: inline-block; /* 关键属性 */
}
pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{color:#abb2bf;background:#282c34}.hljs-comment,.hljs-quote{color:#5c6370;font-style:italic}.hljs-doctag,.hljs-formula,.hljs-keyword{color:#c678dd}.hljs-deletion,.hljs-name,.hljs-section,.hljs-selector-tag,.hljs-subst{color:#e06c75}.hljs-literal{color:#56b6c2}.hljs-addition,.hljs-attribute,.hljs-meta .hljs-string,.hljs-regexp,.hljs-string{color:#98c379}.hljs-attr,.hljs-number,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-pseudo,.hljs-template-variable,.hljs-type,.hljs-variable{color:#d19a66}.hljs-bullet,.hljs-link,.hljs-meta,.hljs-selector-id,.hljs-symbol,.hljs-title{color:#61aeee}.hljs-built_in,.hljs-class .hljs-title,.hljs-title.class_{color:#e6c07b}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}.hljs-link{text-decoration:underline}

.approver {
    font-size: 14px;
    font-weight: 500;
    color: #3E3E3E;
}

.comment {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.no-comment {
    font-size: 14px;
    color: #999;
    margin-top: 5px;
}

.message-notice {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    margin: 10px 10px 5px 0;
    cursor: pointer;
    transition: background-color 0.3s;
    border-radius: 50%;
}
.message-notice:hover {
    background-color: rgba(64, 158, 255, 0.1);
}

.notice-icon {
    color: #606266;
    transition: color 0.3s;
}

.notice-icon:hover {
    color: #409EFF;
}

.message-trigger {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
}

/* 消息弹窗样式 */
.message-popover {
    padding: 0 !important;
}

.message-box {
    padding: 12px;
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-bottom: 1px solid #eee;
}

.message-item {
    padding: 12px;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
    transition: background 0.3s;
}

.message-item.unread {
    background: #f8f9fa;
}

.message-item:hover {
    background: #f5f7fa;
}

.message-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.message-time {
    font-size: 12px;
    color: #909399;
}

.message-body {
    margin-top: 8px;
    font-size: 13px;
    color: #606266;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: all 0.3s;
}

/* 当鼠标悬停在消息项时显示完整内容 */
.message-item:hover .message-body {
    overflow: visible;
    text-overflow: clip;
    -webkit-line-clamp: unset;
    display: block;
    white-space: normal;
}

/* 可选：添加悬停背景色变化 */
.message-item:hover {
    background-color: #f5f7fa;
    cursor: pointer;
}

.empty-message {
    text-align: center;
    padding: 20px;
    color: #909399;
}

.message-footer {
    padding: 12px;
    border-top: 1px solid #eee;
    text-align: center;
}

.message-item {
    padding: 12px;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
    transition: all 0.3s;
}

/* 未读消息样式 */
.message-item.unread {
    background-color: #f8fbff;
    border-left: 3px solid #409EFF;
}

/* 已读消息文字颜色 */
.message-item:not(.unread) .message-title,
.message-item:not(.unread) .message-time,
.message-item:not(.unread) .message-body {
    color: #909399;
}

/* 未读消息文字颜色 */
.message-item.unread .message-title {
    color: #303133;
    font-weight: 500;
}
.message-item.unread .message-time {
    color: #409EFF;
}

.message-item.unread .message-body {
    color: #606266;
}

/* 首页diy */
.template-editor {
    display: flex;
    flex-direction: column;
    margin-top: -30px;
    height: 100%;
    overflow-y: hidden;
}

.template-editor .editor-main {
    flex: 1;
    display: flex;
}

/* 增加拖拽操作区域灵敏度 */
.template-editor .canvas-container {
    min-height: 80vh;
    position: relative;
    z-index: 1;  /* 确保层级高于其他元素 */
}

.template-editor .ghost-style {
    opacity: 0.6;
    transform: scale(0.95);
    transition: all 0.3s;
}
.template-editor .editor-main .title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 16px;
    color: #333;
}

/* 防止拖拽过程中文本选中 */
.template-editor .component-library *,
.template-editor .canvas-component * {
    user-select: none;
    -webkit-user-drag: none;
}

.template-editor .editor-main .component-library {
    height: calc(100vh - 190px) !important;
    max-height: calc(100vh - 190px) !important;
    overflow-y: auto !important;
    width: 300px !important;
    padding: 10px 10px 26px 10px !important;
    margin-top: 10px !important;
    background-color: #f9f9f9 !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    box-sizing: border-box !important;
}

.template-editor .toolbar-left {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    min-width: 200px;
}

.template-editor .toolbar-center {
    flex: 1;
    text-align: center;
    color: #606266;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.template-editor .toolbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.template-selector .el-button {
    min-width: 120px;
}

/* 下拉菜单项样式 */
.template-dropdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 4px 0;
}

/* 操作按钮样式 */
.toolbar-right .el-button {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* 撤销重做按钮组 */
.undo-redo {
    margin-left: 8px;
}

.undo-redo .el-button {
    padding: 8px 12px;
}

.statistics-preview {
    min-height: 200px;
}

.stat-item {
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15) !important;
}

.rank-table {
    transition: all 0.3s ease;
}

.rank-table:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* 可选：美化滚动条 */
.template-editor .component-library::-webkit-scrollbar {
    width: 6px;
}

.template-editor .component-library::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.template-editor .component-library::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.template-editor .component-library::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.template-editor .property-panel {
    padding: 5px 16px;
    line-height: 2em;
    border: 1px solid #eee;
    height: calc(100vh - 190px);
    overflow-y: auto;
}

.template-editor .canvas-area {
    flex: 1;
    padding: 10px 20px;
    position: relative;
    border: 2px dashed #eee;
    max-width: 480px;
    margin: 0 auto;
    height: calc(100vh - 190px);
    overflow-y: auto;
}

.template-editor .canvas-container {
    min-height: 100%;
    background: white;
}

.template-editor .canvas-component {
    position: relative;
    margin: 8px 0;
    border: 1px solid #ebeef5;
    transition: all 0.3s;
}

.template-editor .canvas-component.active {
    border-color: #409eff;
    box-shadow: 0 0 4px rgba(64,158,255,.3);
}

.template-editor .component-tools {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(255,255,255,.9);
    padding: 4px;
    border-radius: 4px;
}

.template-editor .config-item {
    margin-bottom: 16px;
}
.template-editor .config-item label {
    display: block;
    margin-bottom: 8px;
    color: #666;
}

.component-properties {
    display: flex;
    flex-direction: column;
    min-height: 600px;
}

/* 组件预览样式 */
.template-editor .notice-preview {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f7fa;
}

.template-editor .carousel-preview {
    position: relative;
    height: 150px;
    border: 1px dashed #e0e0e0;
    padding: 10px;
    border-radius: 4px;
}

.template-editor .carousel-preview :hover {
    border-color: #409eff;
    background-color: #f5f7fa;
}

.template-editor .menu-grid {
    min-height: 100px;
}

.template-editor .search-preview {
    padding: 12px;
}

.template-editor .component-item {
    display: flex;
    align-items: center;
    padding: 12px;
    margin: 8px 0;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    cursor: grab;
    transition: transform 0.2s ease;
}

.template-editor .component-item:hover {
  transform: translateY(-4px);
}

.template-editor .chosen-style {
    cursor: move;
    box-shadow: 0 2px 12px rgba(0,0,0,.1);
}

/* 这里影响幻灯，所以加了前缀 */
.template-editor .el-carousel__item {
    position: relative;
    top: 0;
    left: 0;
}

.template-editor .carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 添加拖拽视觉效果 */
.template-editor .ghost-item {
    opacity: 0.5;
    background: #f0f0f0;
    border: 2px dashed #409eff;
}

.template-editor .chosen-item {
    background: #f5f7fa;
    cursor: grabbing;
}

/* 空状态提示 */
.template-editor .empty-prompt {
    text-align: center;
    color: #909399;
    padding: 40px 0;
}

.template-editor .empty-prompt .prompt-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

/* 网格菜单样式 */
.template-editor .menu-grid .grid-container {
    display: grid;
    width: 100%;
}

/* win8菜单样式 */
.custom-grid-preview {
    width: 100%;
    min-height: 200px;
}

.custom-grid-preview .image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f7fa;
    border: 1px dashed #dcdfe6;
    border-radius: 8px;
    color: #c0c4cc;
}

.custom-grid-preview .placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    color: #e6a23c;
    gap: 8px;
}

.template-editor .grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px;
    transition: all 0.3s;
}

.template-editor .grid-item span {
    margin-top: 4px;
    font-size: 12px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 100%;
}

.template-editor .grid-item:hover {
    background: #f5f7fa;
    border-radius: 4px;
}

/* 菜单项管理样式 */
.template-editor .menu-management {
    border: 1px solid #ebeef5;
    border-radius: 4px;
    margin-top: 12px;
}

.template-editor .menu-items-list {
    margin-top: 12px;
}

.template-editor .menu-item {
    display: flex;
    align-items: center;
    padding: 8px;
    margin: 4px 0;
    background: #f8f9fa;
    border-radius: 4px;
    transition: all 0.3s;
}

.template-editor .menu-item:hover {
    background: #f1f3f5;
    transform: translateX(4px);
}

.template-editor .menu-item .drag-handle {
    cursor: move;
    margin-right: 8px;
    color: #909399;
}

/* 空状态提示 */
.template-editor .placeholder {
    text-align: center;
    color: #909399;
    padding: 20px;
    border: 1px dashed #dcdfe6;
    border-radius: 4px;
}

/* 操作工具栏 */
.template-editor .component-tools {
    position: absolute;
    top: 4px;
    right: 4px;
    display: none;
    background: rgba(255,255,255,0.9);
    padding: 4px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.template-editor .canvas-component:hover .component-tools {
    display: flex;
}

/* 拖拽视觉反馈 */
.template-editor .ghost-item {
    opacity: 0.5;
    background: #f5f5f5;
    border: 2px dashed #409eff;
}

.template-editor .chosen-item {
    cursor: grabbing;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.date-slot-item, .time-slot-item {
    margin-bottom: 12px;
    padding: 8px;
    border: 1px solid #ebeef5;
    border-radius: 4px;
}

/* 可编辑单元格样式 */
.editable-cell {
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.3s;
}

.editable-cell:hover {
    background-color: #f5f7fa;
    box-shadow: 0 0 0 1px #409eff inset;
}

/* 行内编辑器样式 */
.inline-editor {
    display: flex;
    align-items: center;
    height: 100%;
}

.inline-editor .el-input,
.inline-editor .el-select,
.inline-editor .el-date-editor {
    width: 100%;
}

.last-breadcrumb {
    font-weight: 600;
    color: var(--el-color-primary);
}

.field-mapping {
    border: 1px solid #ebeef5;
    border-radius: 4px;
    padding: 10px;
    max-height: 300px;
    overflow-y: auto;
}
.mapping-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 8px;
    border-bottom: 1px solid #f0f0f0;
}
.source-field {
    font-weight: bold;
    width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mapping-arrow {
    margin: 0 15px;
    color: #606266;
}
.status {
    margin-left: 10px;
    font-size: 14px;
}
.status.success {
    color: #67C23A;
}
.status.error {
    color: #F56C6C;
}

.json-display {
    margin-top: 15px;
    padding: 15px;
    border-radius: 4px;
    background-color: #f0fff4; /* 淡绿色背景 */
    border: 1px solid #e1f0da;
    max-height: 300px;
    overflow: auto;
    font-family: monospace;
    white-space: pre-wrap;
}

/* 修复wangeditor中h1比h2小 */
:-webkit-any(article,aside,nav,section) h1 {
    display: block;
    font-size: 2em;
    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
}

.json-display pre {
    margin: 0;
}

/* 确保图表容器始终可见且具有尺寸 */
.chart-container {
    width: 100% !important;
    height: 400px !important;
    min-height: 400px;
}

/* 排名图表容器 */
.rank-chart-container {
    width: 100% !important;
    height: 350px !important;
    min-height: 350px;
}

.error-field {
    border: 1px solid #F56C6C;
    border-radius: 4px;
    padding: 0 5px;
}

.kv-input-group {
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    padding: 10px;
    background-color: #f8f9fa;
}

.kv-pair {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.kv-input {
    flex: 1;
}

.kv-separator {
    margin: 0 8px;
    color: #606266;
}

.kv-remove-btn {
    margin-left: 8px;
    width: 32px;
}

.kv-add-btn {
    margin-top: 10px;
    width: 100%;
}

	/** 项目表单自定义布局 **/
	.layout-container {
		display: flex;
		flex-direction: column;
		height: 100%;
		background-color: #fff;
	}

	/* 工具栏 */
	.layout-container .layout-toolbar {
		display: flex;
		align-items: center;
		padding: 10px 15px;
		background: #f5f7fa;
		border-bottom: 1px solid #e4e7ed;
		margin-bottom: 15px;
		gap: 10px;
		flex-wrap: wrap;
	}

	/* 设计区域 */
	.layout-container .design-area {
		display: flex;
		flex: 1;
		gap: 20px;
		height: calc(100% - 60px);
		min-height: 500px;
	}

	/* 自由布局网格 */
	.layout-container .free-layout-grid {
		flex: 1;
		padding: 15px;
		border: 1px dashed #dcdfe6;
		border-radius: 4px;
		background-color: #fafafa;
		overflow-y: auto;
		position: relative;
	}

	/* 行样式 */
	.layout-container .le-row {
		position: relative;
		margin-bottom: 20px;
		padding: 15px;
		border: 1px solid #ebeef5;
		border-radius: 4px;
		background: #fff;
		transition: all 0.3s;
	}

	.layout-container .le-row:hover {
		box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
	}

	/* 列样式 */
	.layout-container .le-col {
		position: relative;
		min-height: 60px;
	}

	/* 字段项 */
	.layout-container .field-item {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        position: relative;
	}

	.layout-container .field-item:hover {
		border-color: #c0c4cc;
		box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
	}

	.layout-container .field-item.selected {
		border-color: #409eff;
		background-color: #ecf5ff;
		box-shadow: 0 0 0 2px rgba(64, 158, 255, 0.3);
	}

	.layout-container .field-item.field-title {
        display: flex;
        align-items: center;
        justify-content: var(--text-align); /* 根据textAlign动态调整 */
        padding: 8px;
        min-height: 40px; /* 确保有最小高度 */
	}

	/* 删除图标 */
	.layout-container .delete-icon2 {
		position: absolute;
        left: 0px;
        top: -5px;
		color: #f56c6c;
		cursor: pointer;
		background: white;
		border-radius: 50%;
		padding: 2px;
	}

	/* 操作按钮组 */
	.col-actions,
	.placeholder-actions {
		position: absolute;
		right: 5px;
		bottom: 5px;
		opacity: 0.6;
		transition: opacity 0.3s;
		display: flex;
		gap: 5px;
	}

	.field-item:hover .col-actions,
	.placeholder:hover .placeholder-actions {
		opacity: 1;
	}

	/* 占位符 */
	.layout-container .placeholder {
		height: 45px;
		margin-top: 8px;
		display: flex;
		align-items: center;
		justify-content: center;
		border: 1px dashed #c0c4cc;
		border-radius: 4px;
		background-color: #fafafa;
		color: #909399;
		cursor: pointer;
		transition: all 0.3s;
		position: relative;
	}

	.layout-container .placeholder:hover {
		border-color: #409eff;
		color: #409eff;
		background-color: #ecf5ff;
	}

	.layout-container .placeholder.drag-over {
		border-color: #409eff;
		background-color: #ecf5ff;
		box-shadow: 0 0 8px rgba(64, 158, 255, 0.3);
	}

	/* 行操作按钮 */
	.layout-container .row-actions {
		position: absolute;
		right: 10px;
		top: 10px;
	}

	/* 字段面板 */
	.layout-container .fields-panel {
		width: 280px;
		border: 1px solid #e4e7ed;
		border-radius: 4px;
		overflow: hidden;
		display: flex;
		flex-direction: column;
		background: #fff;
	}

	/* 面板标题 */
	.layout-container .panel-title {
		padding: 12px 15px;
		background: #f5f7fa;
		border-bottom: 1px solid #e4e7ed;
		display: flex;
		align-items: center;
		gap: 8px;
		font-size: 14px;
		font-weight: 500;
		color: #606266;
	}

	/* 字段列表 */
	.layout-container .field-list {
		padding: 0 10px;
		overflow-y: auto;
	}

	/* 字段面板中的字段项 */
	.field-list .field-item {
		padding: 0px 12px;
		min-height: 40px;
	}

	/* 空状态 */
	.layout-container .empty-layout,
	.layout-container .empty-fields {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		color: #909399;
		padding: 40px 0;
		text-align: center;
		background: rgba(245, 247, 250, 0.5);
		border: 2px dashed #dcdfe6;
		border-radius: 8px;
	}

	.layout-container .empty-layout p,
	.layout-container .empty-fields p {
		margin-top: 10px;
		font-size: 14px;
	}
	
    .layout-container .title-content {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 50px;
        width: 100%;
        box-sizing: border-box;
        text-align: inherit;
    }

	/* 输入框适配 */
	.field-item .el-input {
		flex: 1;
	}

	.field-item .el-input .el-input__wrapper {
		background: transparent;
		box-shadow: none !important;
		padding: 0 5px;
	}

	/* 操作图标样式 */
	.col-actions .el-icon,
	.placeholder-actions .el-icon {
		padding: 4px;
		border-radius: 4px;
		background: rgba(255, 255, 255, 0.8);
		box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
		cursor: pointer;
		transition: all 0.2s;
	}

	.col-actions .el-icon:hover,
	.placeholder-actions .el-icon:hover {
		background: #fff;
		transform: scale(1.1);
	}

/* 输入框和label水平对齐 */	
.centered-label .el-form-item__label{
    line-height: 35px;
}

/* bgsx按钮设置 */	
.button-config-container {
    margin-top: 20px;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    padding: 15px;
}
.button-config-header {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #409EFF;
}
.button-config-table {
    width: 100%;
    margin-bottom: 15px;
}
.button-config-table th {
    background-color: #f5f7fa;
    padding: 10px;
    text-align: left;
    font-weight: normal;
    color: #606266;
}
.button-config-table td {
    padding: 10px;
    border-bottom: 1px solid #e6e6e6;
}
.page-title {
    font-weight: bold;
    background-color: #f0f9eb !important;
}

.el-scrollbar .el-scrollbar__bar {
    height: 12px !important;
}

.field-selection {
    display: flex;
    justify-content: space-between;
}

/* 可编辑单元格样式 */
.editable-cell {
    position: relative;
    min-height: 32px;
    padding: 4px 8px;
    border: 1px solid transparent;
    border-radius: 4px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.editable-cell:hover {
    background-color: #f0f7ff;
    border-color: #409eff;
    box-shadow: 0 0 0 2px rgba(64, 158, 255, 0.1);
}

/* 空内容时的提示 */
.edit-hint {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #909399;
    font-size: 12px;
}

.edit-hint .el-icon {
    font-size: 14px;
}

/* 有内容时的编辑覆盖层 */
.edit-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(64, 158, 255, 0.1);
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.editable-cell:hover .edit-overlay {
    display: flex;
}

.edit-overlay .el-icon {
    color: #409eff;
    font-size: 16px;
    background: white;
    padding: 4px;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 行内编辑输入框样式 */
.inline-editor {
    width: 100%;
}

.inline-editor .el-input,
.inline-editor .el-select,
.inline-editor .el-date-editor {
    width: 100%;
}

/* 在样式中添加对展开字段的视觉区分 */
.mapping-item.nested-field {
    background-color: #f0f9ff;
    border-left: 3px solid #409EFF;
}

.nested-field .source-field {
    color: #67C23A;
    font-weight: 500;
}

/* pc菜单管理弹窗 */
    .icon-selector {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px;
        border: 1px dashed #dcdfe6;
        border-radius: 4px;
        cursor: pointer;
        transition: all 0.3s;
    }

    .icon-selector:hover {
        border-color: #409eff;
        background-color: #f5f7fa;
    }

    .icon-text {
        font-size: 12px;
        color: #606266;
    }

    .selector-display {
        padding: 8px;
        border: 1px dashed #dcdfe6;
        border-radius: 4px;
        cursor: pointer;
        font-size: 12px;
        transition: all 0.3s;
        min-height: 32px;
        display: flex;
        align-items: center;
    }

    .selector-display:hover {
        border-color: #409eff;
        background-color: #f5f7fa;
    }

    .icon-dialog-content {
        display: flex; flex-direction: column; max-height: 500px;
    }

    .icon-grid {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 8px;
        max-height: 350px;
        overflow-y: auto;
        padding: 8px 0;
    }

    .icon-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 12px 8px;
        border: 1px solid #e4e7ed;
        border-radius: 4px;
        cursor: pointer;
        transition: all 0.3s;
    }

    .icon-item:hover {
        border-color: #409eff;
        background-color: #f0f9ff;
    }

    .icon-item.active {
        border-color: #409eff;
        background-color: #ecf5ff;
    }

    .icon-name {
        margin-top: 4px;
        font-size: 10px;
        color: #909399;
        text-align: center;
        word-break: break-all;
    }
    
    /**物流**/
    .logistics-container {
        min-height: 400px;
        max-height: 60vh;
        overflow-y: auto;
    }
    
    .logistics-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
        padding: 16px;
        background: #f8f9fa;
        border-radius: 6px;
        border-left: 4px solid #409eff;
    }
    
    .company-info, .status-info {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .company-info .label, .status-info .label {
        font-weight: 600;
        color: #606266;
    }
    
    .timeline-title {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 16px;
        color: #303133;
        padding-left: 8px;
    }
    
    .logistics-timeline {
        padding: 0 16px;
    }
    
    .trace-content {
        font-size: 14px;
        line-height: 1.5;
        color: #303133;
        padding: 4px 0;
    }
    
    .logistics-loading {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 200px;
        color: #909399;
        gap: 12px;
    }
    
    .logistics-empty, .logistics-error {
        height: 200px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .logistics-field {
        cursor: pointer;
        padding: 4px 8px;
        border-radius: 4px;
        transition: background-color 0.2s;
    }
    
    .logistics-field:hover {
        background-color: #f5f7fa;
    }
    
    .logistics-field .tracking-number {
        font-size: 12px;
        color: #909399;
        margin-top: 2px;
    }
    
.formula-dialog .formula-editor-container {
    display: flex;
    gap: 20px;
    overflow: hidden;
}

.formula-dialog .left-tools-section {
    width: 280px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow-y: auto;
    padding-right: 5px;
}

.formula-dialog .editor-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 300px;
}

.formula-dialog .right-fields-section {
    width: 250px;
    display: flex;
    flex-direction: column;
}

.formula-dialog .editor-section h4 {
    margin: 0 0 10px 0;
}

.formula-dialog .tools-column {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 10px;
    flex-shrink: 0;
}

.formula-dialog .tools-column h5 {
    margin: 0 0 10px 0;
    font-size: 14px;
}

.formula-dialog .fields-list,
.formula-dialog .functions-list {
    min-height: 120px;
    max-height: none;
}

/* 字段项样式 */
.formula-dialog .field-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    margin: 4px 0;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.formula-dialog .field-item:hover {
    background-color: #f5f7fa;
}

.formula-dialog .field-item.text-field {
    border-left-color: #f56c6c;
    background-color: #fef0f0;
}

.formula-dialog .field-item.numeric-field {
    border-left-color: #67c23a;
    background-color: #f0f9eb;
}

.formula-dialog .field-item.date-field {
    border-left-color: #e6a23c;
    background-color: #fdf6ec;
}

.formula-dialog .field-warning {
    color: #f56c6c;
    margin-left: 5px;
    font-size: 12px;
}

/* 函数项样式 */
.formula-dialog .function-item {
    position: relative;
    padding: 8px;
    margin: 4px 0;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.formula-dialog .function-item:hover {
    background-color: #f5f7fa;
    border-left-color: #409eff;
}

.formula-dialog .function-item.with-auto-fill {
    border-left-color: #67c23a;
}

.formula-dialog .func-name {
    font-weight: bold;
    color: #409eff;
    font-family: 'Courier New', monospace;
}

.formula-dialog .func-desc {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

.formula-dialog .auto-fill-hint {
    font-size: 11px;
    color: #67c23a;
    margin-top: 2px;
}

/* 示例样式 */
.formula-dialog .examples .example-item {
    padding: 5px;
    margin: 2px 0;
    background-color: #f8f9fa;
    border-radius: 3px;
    font-size: 12px;
    cursor: pointer;
    border-left: 3px solid #409eff;
}

.formula-dialog .examples .example-item:hover {
    background-color: #e9ecef;
}

.formula-dialog .editor-actions {
    margin-top: 10px;
    text-align: right;
}

/* 滚动条样式 */
.formula-dialog .fields-list {
    max-height: 400px;
    overflow-y: auto;
}

.formula-dialog .functions-list {
    max-height: 200px;
    overflow-y: auto;
}

/* 运算符按钮组样式 */
.formula-dialog .operators {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.source-data-dialog .table-container {
    max-height: 500px;
    overflow: auto;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.source-data-dialog .pagination-container {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
    padding: 10px 0;
}

.status-field-info {
    background-color: #f0f9ff;
    border: 1px solid #91d5ff;
    border-radius: 4px;
    padding: 8px;
    margin-top: 5px;
}

.rule-text-input {
    border-left: 3px solid #67c23a;
}

.simple-field-mapping {
    border: 1px solid #ebeef5;
    border-radius: 6px;
    overflow: hidden;
}

.field-row {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    background: white;
}

.field-row:last-child {
    border-bottom: none;
}

.field-row.required {
    background: #f0f9ff;
}

.field-label {
    flex: 1;
    display: flex;
    align-items: center;
    margin: 0 5px;
    gap: 8px;
    font-weight: 500;
    color: #303133;
}

.field-select {
    width: 220px;
    flex-shrink: 0;
}

.loading-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 20px;
    text-align: center;
    justify-content: center;
    color: #909399;
    background: #f8f9fa;
    border-radius: 4px;
    margin: 12px 0;
}

/* 镇村接访版预览样式 */
.visit-reception-preview-simple {
    border: 1px solid #e4e7ed;
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.preview-header {
    background: #2c7be5;
    color: white;
    padding: 12px;
    text-align: center;
    font-weight: 600;
}

.preview-content {
    flex: 1;
    padding: 12px;
    background: #f5f5f5;
}

.preview-tabs {
    display: flex;
    background: white;
    border-radius: 6px;
    margin-bottom: 12px;
    overflow: hidden;
}

.preview-tab {
    flex: 1;
    text-align: center;
    padding: 8px;
    font-size: 12px;
    color: #666;
}

.preview-tab.active {
    background: #f0f7ff;
    color: #2c7be5;
    font-weight: 500;
}

.preview-records {
    background: white;
    border-radius: 6px;
    padding: 12px;
}

.preview-record {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 12px;
    margin-bottom: 12px;
}

.preview-record:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.preview-record-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.preview-record-title {
    font-weight: 500;
    font-size: 15px;
}

.preview-record-status {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.preview-record-status.completed {
    background: #f0f9ff;
    color: #67c23a;
}

.preview-record-info {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.preview-toolbar {
    display: flex;
    background: white;
    border-top: 1px solid #f0f0f0;
    padding: 8px;
}

.preview-toolbar-item {
    flex: 1;
    text-align: center;
    padding: 4px;
    color: #666;
    font-size: 12px;
}

.preview-toolbar-item.active {
    color: #2c7be5;
}

.preview-icon {
    font-size: 17px;
    margin-bottom: 2px;
}

.preview-label {
    font-size: 12px;
}

.toolbar-config {
    border: 1px solid #e4e7ed;
    border-radius: 4px;
    padding: 12px;
    background-color: #f8f9fa;
}

.toolbar-item {
    margin-bottom: 15px;
}

.toolbar-item:last-child {
    margin-bottom: 0;
}

/* 右键菜单样式 */
.context-menu {
    position: fixed;
    background: white;
    border: 1px solid #e4e7ed;
    border-radius: 4px;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
    z-index: 9999;
    min-width: 120px;
    padding: 4px 0;
}

.context-menu-item {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 14px;
    color: #606266;
    transition: background-color 0.2s;
}

.context-menu-item:hover {
    background-color: #f5f7fa;
}

.context-menu-item .el-icon {
    margin-right: 8px;
    font-size: 14px;
}

.context-menu-item:not(:last-child) {
    border-bottom: 1px solid #f0f0f0;
}

.statistics-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.statistic-card {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #e4e7ed;
    background: #fff;
}

.statistic-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.statistic-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    margin-right: 12px;
    font-size: 24px;
}

.statistic-content {
    flex: 1;
}

.statistic-label {
    font-size: 14px;
    color: #606266;
    margin-bottom: 4px;
}

.statistic-count {
    font-size: 24px;
    font-weight: bold;
    color: #303133;
}

/* 颜色主题 */
.statistic-primary .statistic-icon {
    background: #ecf5ff;
    color: #409eff;
}

.statistic-success .statistic-icon {
    background: #f0f9eb;
    color: #67c23a;
}

.statistic-warning .statistic-icon {
    background: #fdf6ec;
    color: #e6a23c;
}

.statistic-danger .statistic-icon {
    background: #fef0f0;
    color: #f56c6c;
}

.statistic-info .statistic-icon {
    background: #f4f4f5;
    color: #909399;
}

/* 统计卡片激活状态样式 */
.statistic-active {
    border: 2px solid #409EFF;
    box-shadow: 0 2px 8px rgba(64, 158, 255, 0.3);
    transform: translateY(-2px);
}