/* 自定义JS对话框样式 */
.custom-js-content {
    padding: 20px 0;
}

.js-help-info {
    margin-bottom: 20px;
}

.js-help-info .el-alert {
    border-radius: 8px;
}

.js-help-info p {
    margin: 8px 0;
    font-size: 14px;
    line-height: 1.6;
}

.js-help-info code {
    background: #f5f7fa;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 13px;
    color: #e6a23c;
}

.js-editor-container {
    position: relative;
}

.js-editor-container .el-textarea__inner {
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    background-color: #fafafa;
    border: 1px solid #dcdfe6;
}

.js-editor-container .el-textarea__inner:focus {
    background-color: #fff;
    border-color: #409eff;
}

/* 顶部工具栏 */
.top-toolbar {
    padding: 15px;
    background: #f5f7fa;
    border-bottom: 1px solid #e4e7ed;
    display: flex;
    gap: 10px;
}

/* 主要内容区域 */
.main-content {
    display: flex;
    height: calc(100vh - 120px);
    gap: 1px;
}

/* 右侧预览区 */
.portal-preview {
    flex: 1;
    background: #fff;
    border-left: 1px solid #e4e7ed;
    overflow-y: auto;
    position: relative;
    /* 确保整个预览区都可以接收拖拽 */
    min-height: 100vh;
}

.preview-header {
    padding: 15px;
    background: #f8f9fa;
    border-bottom: 1px solid #e4e7ed;
    font-weight: bold;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 10;
    /* 确保标题区域也可以接收拖拽 */
    pointer-events: auto;
}

.preview-content {
    padding: 20px;
    min-height: calc(100vh - 200px);
    position: relative;
    /* 确保内容区域可以接收拖拽 */
    pointer-events: auto;
}

.empty-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 400px;
    color: #909399;
    font-size: 16px;
    border: 2px dashed #dcdfe6;
    border-radius: 6px;
    transition: all 0.3s ease;
    margin: 20px 0;
    background: #fafbfc;
    gap: 15px;
}

.empty-preview:hover {
    border-color: #409eff;
    background: #f0f9ff;
    color: #409eff;
}

.empty-icon i {
    font-size: 48px;
    color: #c0c4cc;
    transition: all 0.3s ease;
}

.empty-preview:hover .empty-icon i {
    color: #409eff;
    transform: scale(1.1);
}

.empty-text {
    font-size: 16px;
    font-weight: 500;
    margin: 10px 0;
}

.empty-status {
    margin-top: 15px;
}

.status-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid;
}

.status-tag.available {
    background: #e1f5fe;
    color: #0277bd;
    border-color: #b3e5fc;
}

.status-tag.used {
    background: #fff3e0;
    color: #f57c00;
    border-color: #ffcc02;
}

/* 预览模块样式 */
.preview-module {
    position: relative;
    margin-bottom: 25px;
    border: 1px solid #e4e7ed;
    border-radius: 6px;
    overflow: hidden;
    cursor: move;
    transition: all 0.3s ease;
    min-height: 120px;
    /* 确保拖拽事件可以正常工作 */
    pointer-events: auto;
}

.preview-module:hover {
    border-color: #409eff;
    box-shadow: 0 4px 20px rgba(64, 158, 255, 0.2);
    transform: translateY(-2px);
}

.preview-module:hover .module-overlay {
    opacity: 1;
    visibility: visible;
    /* 悬停时启用指针事件，但不在拖拽时 */
    pointer-events: auto;
}

/* 拖拽时强制隐藏overlay，确保拖拽事件不被阻止 */
.preview-module.dragging,
.preview-module.dragging .module-overlay {
    opacity: 0.7 !important;
    pointer-events: none !important;
    transform: scale(0.95) !important;
}

.preview-module.dragging .module-overlay {
    visibility: hidden !important;
}

.module-content {
    position: relative;
    z-index: 1;
    /* 内容区允许指针事件，但优先级低于拖拽 */
    pointer-events: auto;
}

.module-content-course {
    position: relative;
    z-index: 1;
    /* 内容区允许指针事件，但优先级低于拖拽 */
    pointer-events: auto;
    height: 550px;
}

.module-content-map {
    position: relative;
    z-index: 1;
    /* 内容区允许指针事件，但优先级低于拖拽 */
    pointer-events: auto;
    height: 500px;
}

.module-content-elite {
    position: relative;
    z-index: 1;
    /* 内容区允许指针事件，但优先级低于拖拽 */
    pointer-events: auto;
    height: auto;
}

/* 当模块处于拖拽状态时，内容区禁用指针事件 */
.preview-module.dragging .module-content {
    pointer-events: none;
}

/* 当模块处于拖拽状态时，内容区禁用指针事件 */
.preview-module.dragging .module-content-course {
    pointer-events: none;
}

/* 模块内容区域的图标样式 */
.module-content-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #409eff;
    flex-shrink: 0;
}

.module-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 2;
    flex-direction: column;
    gap: 15px;
    backdrop-filter: blur(2px);
    padding: 20px;
    box-sizing: border-box;
    /* 默认禁用指针事件，避免干扰拖拽 */
    pointer-events: none;
}

.module-title {
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 5px;
}

.module-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    width: 100%;
    pointer-events: auto; /* 恢复按钮的指针事件 */
}

.module-actions .el-button {
    flex: 0 0 auto;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: none;
    white-space: nowrap;
    min-width: 100px;
    max-width: 120px;
    height: 36px;
}

.preview-module .module-actions .el-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.preview-module .module-actions .el-button.el-button--primary {
    background: linear-gradient(45deg, #409eff, #66b3ff);
    color: white;
}

.preview-module .module-actions .el-button.el-button--primary:hover {
    background: linear-gradient(45deg, #337ecc, #409eff);
}

.preview-module .module-actions .el-button.el-button--danger {
    background: linear-gradient(45deg, #f56c6c, #ff8a8a);
    color: white;
}

.preview-module .module-actions .el-button.el-button--danger:hover {
    background: linear-gradient(45deg, #e6393a, #f56c6c);
}

.preview-module .module-actions .el-button i {
    margin-right: 4px;
    font-size: 12px;
}

/* 模块操作按钮响应式设计（仅限预览模块） */
@media (max-width: 1200px) {
    .preview-module .module-actions {
        gap: 8px;
    }

    .preview-module .module-actions .el-button {
        padding: 6px 12px;
        font-size: 12px;
        min-width: 80px;
        max-width: 100px;
        height: 32px;
    }

    .preview-module .module-actions .el-button i {
        margin-right: 3px;
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    .preview-module .module-actions {
        gap: 6px;
    }

    .preview-module .module-actions .el-button {
        padding: 4px 8px;
        font-size: 11px;
        min-width: 70px;
        max-width: 80px;
        height: 28px;
    }

    .preview-module .module-actions .el-button i {
        margin-right: 2px;
        font-size: 10px;
    }
}

/* Banner模块样式 */
.banner-demo {
    position: relative;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
}

.banner-gradient {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.banner-content h2 {
    font-size: 28px;
    margin: 0 0 10px 0;
    font-weight: bold;
}

.banner-content p {
    margin: 5px 0;
    opacity: 0.9;
    line-height: 1.6;
}

/* 轮播图文字背景样式 */
.banner-text-background {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-text-background:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #667eea 100%);
    transform: scale(1.02);
}

.banner-text-content {
    padding: 40px 20px;
    max-width: 80%;
}

.banner-text-content h3 {
    font-size: 28px;
    margin: 0 0 15px 0;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-text-content p {
    font-size: 16px;
    margin: 0 0 10px 0;
    opacity: 0.9;
    line-height: 1.6;
}

.banner-text-content .click-tip {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    font-size: 12px;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.banner-text-content .click-tip:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* 分类模块样式 */
.category-demo {
    background: #f8f9fa;
}

.category-header {
    text-align: center;
    margin-bottom: 20px;
}

.category-header h3 {
    font-size: 24px;
    color: #303133;
    margin: 0 0 8px 0;
    border-left: 0 !important;
}

.category-header p {
    color: #909399;
    margin: 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.category-inline {
    display: inline-flex;
    gap: 20px;
    width: 100%;
    overflow: hidden;
}

.category-single {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.inline-viewport {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.inline-viewport .inline-track {
    display: inline-flex;
    will-change: transform;
    transition: transform .16s linear;
}

.inline-viewport .inline-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    width: 34px;
    height: 60px;
    border-radius: 6px;
    cursor: pointer;
    color: #333;
    opacity: 0.35;
    transition: opacity .2s;
}

.inline-viewport .inline-nav.prev {
    left: 6px;
}

.inline-viewport .inline-nav.next {
    right: 6px;
}

.inline-viewport:hover .inline-nav {
    opacity: 1;
}

.more-link {
    font-size: 12px;
    font-weight: 400;
    margin-left: 8px;
    color: #409eff;
    text-decoration: none;
    float: right;
}

/* 为副标题应用毛笔字体 - 只应用于特定的副标题元素 */
.preview-header p,
.category-header p,
.map-header p,
.talent-header p,
.showcase-header p,
p.subtitle {
    font-family: "华文行楷", "STXingkai", "楷体", "KaiTi", "华文楷体", "STKaiti", "方正舒体", "FZShuTi", "华文新魏", "STXinwei", serif !important;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    letter-spacing: 1px;
}

.category-inline .category-card {
    flex: 1 1 calc(20% - 16px); /* 动态适应，5 列布局 */
    min-width: 300px; /* 可选：防止卡片过窄 */
    box-sizing: border-box;
}

.inline-track .category-card {
    min-width: 300px; /* 可选：防止卡片过窄 */
}

.category-card {
    background: white;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
    min-width: 260px;
    min-height: 230px;
    max-height: 360px;
}


.card-thumb {
    width: 100%;
    height: 157px;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden; /* 关键：隐藏超出部分 */
    display: block; /* 确保容器是块级元素 */
}

.card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 保持比例并覆盖容器 */
    display: block; /* 消除图片下方的间隙 */
}

.category-card:hover {
    /*transform: translateY(-8px);*/
    transform: scale(1.02);
}

.category-card.pink {
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
    color: white;
}

.category-card.blue {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    color: #333;
}

.category-card.green {
    background: linear-gradient(135deg, #d299c2 0%, #fef9d7 100%);
    color: #333;
}

.category-card.orange {
    background: linear-gradient(135deg, #89f7fe 0%, #66a6ff 100%);
    color: white;
}

.category-card i {
    font-size: 32px;
    margin-bottom: 15px;
    display: block;
}

.category-card h4 {
    margin: 10px 0;
    font-size: 18px;
}

.category-card p {
    margin: 0;
    font-size: 12px;
    opacity: 0.9;
    line-height: 1.4;
    padding: 0 10px 0 10px;
}

/* 课程列表样式 */
.course-demo {
    padding: 30px;
    background: #f8f9fa;
}

.course-header {
    text-align: center;
    margin-bottom: 25px;
}

.course-header h3 {
    font-size: 22px;
    color: #303133;
    margin: 0 0 8px 0;
}

.course-header p {
    color: #909399;
    margin: 0;
}

.course-list {
    max-width: 800px;
    margin: 0 auto;
}

.course-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.course-card-small {
    padding: 20px 15px;
    border-radius: 8px;
    text-align: center;
    color: white;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.course-card-small:hover {
    transform: translateY(-5px);
}

.course-card-small.pink {
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
}

.course-card-small.purple {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.course-card-small.orange {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.course-card-small.gray {
    background: linear-gradient(135deg, #e0c3fc 0%, #9bb5ff 100%);
}

.course-card-small i {
    font-size: 24px;
    margin-bottom: 8px;
    display: block;
}

.course-card-small span {
    font-size: 14px;
    font-weight: bold;
}

/* 课程网格样式 */
.course-grid-demo {
    padding: 30px;
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-header h3 {
    font-size: 24px;
    color: #303133;
    margin: 0 0 8px 0;
}

.section-header p {
    color: #909399;
    margin: 0;
}

.course-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.course-card-large {
    background: white;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
    color: white;
}

.course-card-large:hover {
    transform: translateY(-8px);
}

.course-card-large.cyan {
    background: linear-gradient(135deg, #89f7fe 0%, #66a6ff 100%);
}

.course-card-large.green {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.course-card-large.pink {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.course-card-large.red {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

.course-card-large i {
    font-size: 32px;
    margin-bottom: 15px;
    display: block;
}

.course-card-large h4 {
    margin: 10px 0;
    font-size: 18px;
}

.course-card-large p {
    margin: 0;
    font-size: 12px;
    opacity: 0.9;
    line-height: 1.4;
}

/* 地图模块样式 */
.map-demo {
    padding: 30px 0 30px 0;
    background: #f8f9fa;
}

.map-visual {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.map-points {
    position: relative;
    width: 100%;
    height: 100%;
}

.map-point {
    position: absolute;
    background: white;
    color: #409eff;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* 左侧模块列表 */
.module-list {
    width: 360px;
    background: #fff;
    border-right: 1px solid #e4e7ed;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.list-header {
    padding: 18px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #e4e7ed;
    font-weight: 600;
    text-align: center;
    color: #303133;
    font-size: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.list-content {
    padding: 15px;
    flex: 1;
    overflow-y: auto;
}

.module-item {
    display: flex;
    flex-direction: column;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #e4e7ed;
    border-radius: 6px;
    cursor: move;
    transition: all 0.3s ease;
    background: #fff;
    position: relative;
    min-width: 0;
    /* 确保拖拽功能正常工作 */
    pointer-events: auto;
}

.module-item:hover {
    border-color: #409eff;
    transform: translateX(3px);
    box-shadow: 0 4px 12px rgba(64, 158, 255, 0.15);
}

/* 拖拽时的视觉反馈 */
.module-item.dragging {
    opacity: 0.6;
    transform: scale(0.95) translateX(2px);
}

/* 拖拽时隐藏操作按钮，避免干扰 */
.module-item.dragging .module-actions {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

/* 确保左侧模块的操作按钮不阻止拖拽 */
.module-list .module-actions {
    /* 降低z-index，确保拖拽事件优先级更高 */
    position: relative;
    z-index: 1;
    pointer-events: auto;
}

/* 拖拽开始时，完全禁用所有按钮交互 */
.module-item.dragging,
.module-item.dragging * {
    pointer-events: none !important;
    cursor: grabbing !important;
}

/* 但保持拖拽元素本身可拖拽 */
.module-item[draggable="true"] {
    pointer-events: auto;
    cursor: grab;
}

.module-item[draggable="true"]:active {
    cursor: grabbing;
}

/* 优化拖拽灵敏度 - 减少按钮干扰 */
.module-list .module-actions .el-button {
    /* 确保按钮不会阻止父元素的拖拽事件 */
    position: relative;
    z-index: 2;
}

/* 当鼠标按下时，暂时禁用按钮的pointer-events */
.module-item:active .module-actions {
    pointer-events: none;
}

/* 鼠标释放后恢复 */
.module-item .module-actions {
    transition: opacity 0.1s ease;
}

.module-item.module-used {
    background: #f0f9ff;
    border-color: #b3d8ff;
    opacity: 0.7;
}

/* 模块信息行 */
.module-info-row {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.module-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 6px;
    margin-right: 12px;
    font-size: 18px;
    color: #409eff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.module-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.module-name {
    font-weight: 600;
    margin-bottom: 4px;
    color: #303133;
    font-size: 17px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.module-type {
    font-size: 12px;
    color: #909399;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 左侧模块列表的按钮样式 */
.module-list .module-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-top: 4px;
}

/* 添加模块状态标签 */
.module-status {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
    background: #e1f5fe;
    color: #0277bd;
    border: 1px solid #b3e5fc;
}

.module-status.used {
    background: #fff3e0;
    color: #f57c00;
    border-color: #ffcc02;
}

.module-list .module-actions .el-button {
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 500;
    flex: unset;
    height: 28px;
    white-space: nowrap;
    min-width: 50px;
    border-radius: 4px;
    margin: 0;
    text-align: center;
    line-height: 1.2;
    transition: all 0.3s ease;
}

.module-list .module-actions .el-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.module-list .module-actions .el-button.el-button--danger {
    background-color: #f56c6c;
    border-color: #f56c6c;
    color: white;
}

.module-list .module-actions .el-button.el-button--danger:hover {
    background-color: #f56c6c;
    border-color: #f56c6c;
    opacity: 0.8;
}

/* 模块悬停时的操作按钮样式（预览区域） */
.preview-module .module-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    width: 100%;
}

.preview-module .module-actions .el-button {
    flex: 0 0 auto;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: none;
    white-space: nowrap;
    min-width: 100px;
    max-width: 120px;
    height: 36px;
}

/* 右键菜单 */
.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;
}

.menu-item {
    padding: 8px 12px;
    cursor: pointer;
    transition: background 0.2s;
}

.menu-item:hover {
    background: #f5f7fa;
}

.menu-item.danger {
    color: #f56c6c;
}

.menu-item.danger:hover {
    background: #fef0f0;
}

/* 样式设置对话框 - 参考edit.html风格 */
.el-dialog__body {
    padding: 20px 25px;
    overflow-x: hidden;
}

/* 样式标签按钮组 */
.style-tab-buttons {
    display: flex !important;
    gap: 6px;
    margin-bottom: 20px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    overflow-y: hidden;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: #c1c1c1 transparent;
    min-height: 60px;
    max-height: 60px;
}

/* Webkit浏览器滚动条样式 */
.style-tab-buttons::-webkit-scrollbar {
    height: 6px;
}

.style-tab-buttons::-webkit-scrollbar-track {
    background: transparent;
}

.style-tab-buttons::-webkit-scrollbar-thumb {
    background-color: #c1c1c1;
    border-radius: 3px;
}

.style-tab-buttons::-webkit-scrollbar-thumb:hover {
    background-color: #a8a8a8;
}

.style-tab-buttons .el-button {
    flex: 0 0 auto !important;
    height: 32px !important;
    font-weight: 500;
    white-space: nowrap !important;
    min-width: 80px !important;
    max-width: 90px !important;
    font-size: 12px !important;
    padding: 6px 10px !important;
    line-height: 1.2 !important;
    text-overflow: ellipsis;
    overflow: hidden;
    border-radius: 4px;
    transition: all 0.3s ease;
    margin: 0 !important;
}

.style-tab-buttons .el-button:last-child {
    flex: 0 0 auto !important;
    min-width: 80px !important;
    max-width: 90px !important;
    margin-left: 10px !important;
    background-color: #f56c6c !important;
    border-color: #f56c6c !important;
    color: white !important;
}

/* 样式表单内容 */
.style-form-content {
    min-height: 300px;
    padding: 10px;
}

.style-section {
    background: #fff;
    border-radius: 6px;
    padding: 20px;
}

.section-title {
    margin: 0 0 20px 0;
    padding: 0 0 10px 0;
    border-bottom: 2px solid #409eff;
    color: #409eff;
    font-weight: 600;
    font-size: 16px;
}

/* 表单样式 */
.el-form--inline .el-form-item {
    margin-right: 20px;
    margin-bottom: 18px;
    display: inline-block;
    vertical-align: top;
    width: calc(50% - 10px);
}

.el-form-item__label {
    font-weight: 500;
    color: #606266;
    font-size: 14px;
}

/* 数字输入框样式 - 参考edit.html */
.el-input-number {
    width: 100% !important;
}

.el-input-number .el-input__inner {
    text-align: left !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* 颜色选择器 */
.el-color-picker {
    vertical-align: middle;
}

.el-color-picker__trigger {
    width: 40px;
    height: 32px;
    border-radius: 4px;
}

/* 单选按钮组样式 */
.el-radio-group {
    display: flex;
    gap: 15px;
}

.el-radio {
    margin-right: 0;
    white-space: nowrap;
}

/* 对话框底部按钮 */
.dialog-footer {
    text-align: right;
}

.dialog-footer .el-button {
    margin-left: 10px;
    padding: 10px 20px;
    font-size: 14px;
}

/* 单选按钮组 */
.el-radio-group {
    width: 100%;
}

.el-radio {
    margin-right: 20px;
    white-space: nowrap;
}

/* 下拉选择框 */
.el-select {
    width: 100%;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .main-content {
        flex-direction: column;
        height: auto;
    }

    .module-list {
        width: 100%;
        max-height: 300px;
        order: 2;
    }

    .portal-preview {
        height: 500px;
        order: 1;
        border-left: none;
        border-bottom: 1px solid #e4e7ed;
    }

    .module-item {
        padding: 12px;
    }

    .module-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .module-list .module-actions .el-button {
        height: 28px;
        font-size: 11px;
        padding: 4px 8px;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .course-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .preview-module .module-actions {
        gap: 8px;
    }

    .preview-module .module-actions .el-button {
        padding: 6px 12px;
        font-size: 12px;
        min-width: 80px;
        max-width: 100px;
        height: 32px;
    }

    .preview-module .module-actions .el-button i {
        margin-right: 3px;
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    .category-grid {
        grid-template-columns: 1fr;
    }

    .course-cards {
        grid-template-columns: 1fr;
    }

    .course-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 拖拽指示器 */
.drop-indicator {
    height: 6px;
    background: linear-gradient(90deg, #409eff, #66b3ff);
    border-radius: 3px;
    position: relative;
    margin: 15px 0;
    opacity: 0.9;
    animation: pulse-indicator 1.5s infinite;
    box-shadow: 0 2px 8px rgba(64, 158, 255, 0.3);
}

.drop-indicator.top {
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    z-index: 10;
    margin: 0;
}

.drop-indicator.bottom {
    position: absolute;
    bottom: -12px;
    left: 0;
    right: 0;
    z-index: 10;
    margin: 0;
}

.drop-indicator.final {
    position: relative;
    width: 100%;
    margin: 20px 0;
}

@keyframes pulse-indicator {
    0% {
        opacity: 0.6;
        transform: scaleY(1);
    }
    50% {
        opacity: 1;
        transform: scaleY(1.2);
    }
    100% {
        opacity: 0.6;
        transform: scaleY(1);
    }
}

/* 拖拽状态样式 */
.preview-module.dragging {
    opacity: 0.6;
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(64, 158, 255, 0.3);
    border: 2px dashed #409eff;
    z-index: 1000;
    position: relative;
}

/* 提高右侧拖拽灵敏度 - 扩大拖拽可感区域 */
.preview-module {
    position: relative;
    margin-bottom: 25px;
    border: 1px solid #e4e7ed;
    border-radius: 6px;
    overflow: hidden;
    cursor: move;
    transition: all 0.3s ease;
    min-height: 120px;
    /* 确保拖拽事件可以正常工作 */
    pointer-events: auto;

    /* 扩大可拖拽区域 */
    padding: 0;
}

/* 增加拖拽灵敏度 - 伪元素扩大可点击区域 */
.preview-module::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    z-index: -1;
    pointer-events: auto;
}

.preview-module:hover {
    border-color: #409eff;
    box-shadow: 0 4px 20px rgba(64, 158, 255, 0.2);
    transform: translateY(-2px);

    /* 悬停时显示更明显的拖拽提示 */
    cursor: grab;
}

.preview-module:active {
    cursor: grabbing;
}

/* 优化拖拽过程中的视觉效果 */
.preview-module.dragging {
    opacity: 0.7 !important;
    pointer-events: none !important;
    transform: scale(0.95) rotate(1deg) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25) !important;
    z-index: 1000;
    border-color: #409eff !important;
}

/* 拖拽时的过渡动画 */
.preview-module.drag-over {
    border-color: #67c23a;
    background-color: rgba(103, 194, 58, 0.05);
    transform: scale(1.01);
}

/* 排序拖拽的特殊效果 */
.preview-module.sort-dragging {
    opacity: 0.8;
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(64, 158, 255, 0.3);
    border-color: #409eff;
    z-index: 1000;
}

/* 拖拽时隐藏 overlay，避免干扰拖拽操作 */
.preview-module.dragging .module-overlay {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.module-item.dragging {
    opacity: 0.6;
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(64, 158, 255, 0.2);
    border: 2px dashed #409eff;
}

/* 拖拽过程中的效果 */
.preview-module {
    transition: all 0.3s ease;
    position: relative;
    will-change: transform;
}

.preview-module:not(.dragging) {
    transform: translateY(0);
}

/* 模块挤压效果 */
.preview-module.squeeze-up {
    transform: translateY(-25px);
    transition: transform 0.4s ease;
}

.preview-module.squeeze-down {
    transform: translateY(25px);
    transition: transform 0.4s ease;
}

/* 自动滚动区域 */
.portal-preview.scroll-zone-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, rgba(64, 158, 255, 0.1), transparent);
    z-index: 5;
    pointer-events: none;
}

.portal-preview.scroll-zone-bottom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, rgba(64, 158, 255, 0.1), transparent);
    z-index: 5;
    pointer-events: none;
}

/* 已使用模块样式优化 */
.module-item.module-used {
    background: #f0f9ff;
    border-color: #b3d8ff;
    opacity: 0.6;
    cursor: not-allowed;
}

.module-item.module-used:hover {
    transform: none;
    border-color: #b3d8ff;
}

.module-item.module-used .module-actions .el-button {
    opacity: 0.5;
    pointer-events: none;
}

/* 已使用模块的编辑按钮保持可点击 */
.module-item.module-used .module-actions .el-button:first-child {
    opacity: 0.8;
    pointer-events: auto;
    cursor: pointer;
}

.module-item.module-used .module-actions .el-button:first-child:hover {
    opacity: 1;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(64, 158, 255, 0.2);
}

/* 动画效果 */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.preview-module {
    animation: slideIn 0.3s ease;
}

/* 通用样式 */
.inline-container {
    display: flex;
    align-items: center;
}

.el-input-number .el-input__inner {
    text-align: left;
}

.dept-detail-container {
    width: 100%;
}

.dept-detail-header {
    margin-bottom: 10px;
    text-align: right;
}

.custom-input-number .el-input__wrapper {
    width: 290px;
}

.dept-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

/* 对话框宽度优化 */
.el-dialog {
    min-width: 900px;
    max-width: 95vw;
}

@media (max-width: 1000px) {
    .el-dialog {
        width: 95vw !important;
        min-width: unset;
        margin: 5vh auto;
    }

    .style-tab-buttons {
        padding: 8px !important;
        gap: 4px !important;
        min-height: 50px !important;
        max-height: 50px !important;
    }

    .style-tab-buttons .el-button {
        min-width: 65px !important;
        max-width: 75px !important;
        font-size: 11px !important;
        padding: 4px 8px !important;
        height: 28px !important;
    }

    .style-tab-buttons .el-button:last-child {
        min-width: 65px !important;
        max-width: 75px !important;
        margin-left: 6px !important;
    }
}

/* 课程联动展示模块样式 */
.course-showcase-demo {
    padding: 30px;
    background: transparent !important;
    border-radius: 12px;
    overflow: hidden;
}

.showcase-header {
    text-align: center;
    margin-bottom: 30px;
}

.showcase-header h3 {
    font-size: 24px;
    color: #303133;
    margin: 0 0 8px 0;
    border-left: 0 !important;
}

.showcase-header p {
    color: #909399;
    margin: 0;
    font-size: 14px;
}

.showcase-content {
    display: flex;
    gap: 30px;
    height: 400px;
}

/* 左侧封面区域 */
.showcase-cover {
    flex: 1;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.cover-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.cover-image.active {
    opacity: 1;
    transform: translateX(0);
}

.cover-image[data-course="0"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.cover-image[data-course="1"] {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.cover-image[data-course="2"] {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.cover-image[data-course="3"] {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.cover-image[data-course="4"] {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.cover-image[data-course="5"] {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.cover-content {
    text-align: center;
    padding: 40px;
    max-width: 80%;
}

.cover-content h4 {
    font-size: 28px;
    margin: 0 0 15px 0;
    font-weight: bold;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.cover-content p {
    font-size: 16px;
    margin: 0 0 20px 0;
    opacity: 0.9;
    line-height: 1.6;
}

.course-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

.course-meta span {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 右侧课程列表 */
.showcase-list {
    flex: 1;
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow-y: auto;
    max-height: 400px; /* 限制最大高度 */
    position: relative;
    /* 自定义滚动条样式 */
    scrollbar-width: thin;
    scrollbar-color: #c1c1c1 #f5f5f5;
}

/* Webkit浏览器滚动条样式 */
.showcase-list::-webkit-scrollbar {
    width: 8px;
}

.showcase-list::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 4px;
}

.showcase-list::-webkit-scrollbar-thumb {
    background-color: #c1c1c1;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.showcase-list::-webkit-scrollbar-thumb:hover {
    background-color: #a8a8a8;
}

/* 滚动提示样式 */
.showcase-list::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #409eff 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
    pointer-events: none;
}

.showcase-list::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #409eff 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
    pointer-events: none;
}

/* 当列表可以滚动时显示提示 */
.showcase-list.can-scroll-up::before {
    opacity: 0.6;
}

.showcase-list.can-scroll-down::after {
    opacity: 0.6;
}

.course-item {
    display: flex;
    align-items: flex-start;
    padding: 18px;
    border-radius: 10px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.course-item:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.course-item.active {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    border-color: #409eff;
    box-shadow: 0 6px 25px rgba(64, 158, 255, 0.15);
}

.course-item.highlighted {
    background: linear-gradient(135deg, #ffebee 0%, #fce4ec 100%);
    border-left: 4px solid #f56c6c;
}

.course-item.highlighted::before {
    content: "热门";
    position: absolute;
    top: -2px;
    right: 10px;
    background: #f56c6c;
    color: white;
    padding: 2px 8px;
    font-size: 12px;
    border-radius: 0 0 8px 8px;
    font-weight: bold;
}

.course-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #409eff, #66b3ff);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(64, 158, 255, 0.2);
}

.course-item.highlighted .course-icon {
    background: linear-gradient(135deg, #f56c6c, #ff8a8a);
    box-shadow: 0 4px 12px rgba(245, 108, 108, 0.2);
}

.course-icon i {
    color: white;
    font-size: 22px;
}

.course-info {
    flex: 1;
    min-width: 0;
}

.course-info h5 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: bold;
    color: #303133;
    line-height: 1.3;
}

.course-info p {
    margin: 0 0 8px 0;
    font-size: 13px;
    color: #606266;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-time {
    font-size: 12px;
    color: #909399;
    font-style: italic;
}

/* 联动动画效果 */
.course-item {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cover-image {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 自动切换动画 */
@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(1.05) translateX(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateX(0);
    }
}

.cover-image.auto-switch {
    animation: fadeInScale 0.8s ease-out;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .showcase-content {
        flex-direction: column;
        height: auto;
        gap: 20px;
    }

    .showcase-cover {
        height: 300px;
    }

    .showcase-list {
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    .course-showcase-demo {
        padding: 20px;
    }

    .showcase-content {
        gap: 15px;
    }

    .showcase-cover {
        height: 250px;
    }

    .cover-content {
        padding: 30px 20px;
    }

    .cover-content h4 {
        font-size: 22px;
    }

    .course-meta {
        flex-direction: column;
        gap: 10px;
    }

    .course-item {
        padding: 15px;
    }

    .course-icon {
        width: 40px;
        height: 40px;
        margin-right: 12px;
    }

    .course-icon i {
        font-size: 18px;
    }
}

/* =============== 人才展示模块样式 =============== */
.talent-showcase-demo {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.talent-header {
    text-align: center;
    color: white;
}

.talent-header h3 {
    margin: 0 0 8px 0;
    font-size: 24px;
    font-weight: bold;
    border-left: 0 !important;
}

.map-header {
    padding: 0 20px 20px;
    text-align: center;
    color: white;
}

.map-header h3 {
    font-size: 24px;
    font-weight: bold;
    border-left: 0 !important;
}

.map-header p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
    color: #909399;
}

.talent-header p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
    color: #909399;
}

.talent-content {
    padding: 30px 20px;
}

.talent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.talent-card {
    border-radius: 12px;
    padding: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 260px;
}

.talent-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #409eff, #66b3ff);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.talent-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(64, 158, 255, 0.15);
    border-color: #409eff;
}

.talent-card:hover::before {
    transform: scaleX(1);
}

.talent-avatar {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
    height: 260px;
}

.avatar-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #409eff, #66b3ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 36px;
    box-shadow: 0 4px 12px rgba(64, 158, 255, 0.3);
    transition: all 0.3s ease;
}

.talent-card:hover .avatar-placeholder {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(64, 158, 255, 0.4);
}

.talent-info {
    text-align: center;
}

.talent-info h5 {
    margin: 0 0 8px 0;
    font-size: 20px;
    font-weight: bold;
    color: #333333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 260px;
}

.talent-title {
    margin: 0 0 4px 0;
    font-size: 14px;
    color: #666666;
    font-weight: 500;
}

.talent-info .talent-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 260px;
}

.talent-dept {
    margin: 0 0 15px 0;
    font-size: 13px;
    color: #909399;
}

.talent-tags {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.talent-tags .tag {
    display: inline-block;
    padding: 4px 12px;
    background: #f0f9ff;
    color: #409eff;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid #e1f0ff;
    transition: all 0.3s ease;
}

.talent-card:hover .talent-tags .tag {
    background: #409eff;
    color: white;
    border-color: #409eff;
    transform: translateY(-2px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .talent-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .talent-card {
        padding: 15px;
    }

    .avatar-placeholder {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    .talent-header h3 {
        font-size: 20px;
    }

    .map-header {
        padding: 0 15px 15px;
    }

    .map-header h3 {
        font-size: 20px;
    }

    .talent-content {
        padding: 20px 15px;
    }
}

/* Banner轮播图样式 */
.banner-carousel-container {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.banner-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 100%;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #409eff;
    font-size: 16px;
    gap: 10px;
}

.banner-loading i {
    font-size: 24px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/*.carousel-wrapper {*/
/*    position: relative;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    overflow: hidden;*/
/*}*/

.banner-carousel .carousel-wrapper {
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
}

.banner-slide {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
    overflow: hidden;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.banner-slide:hover img {
    transform: scale(1.05);
}

.banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 30px 25px 25px;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.banner-slide:hover .banner-overlay {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    transform: translateY(-5px);
}

.banner-text h3 {
    margin: 0 0 8px 0;
    font-size: 24px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.banner-text p {
    margin: 0 0 8px 0;
    font-size: 16px;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    line-height: 1.4;
}

.click-tip {
    display: inline-block;
    background: rgba(64, 158, 255, 0.9);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.7;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    100% {
        opacity: 0.7;
        transform: scale(1);
    }
}

/* 轮播控制按钮 */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #333;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 10;
}

.banner-carousel-container:hover .carousel-btn {
    opacity: 1;
    visibility: visible;
}

.carousel-btn:hover {
    background: rgba(64, 158, 255, 0.9);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 15px;
}

.carousel-btn.next {
    right: 15px;
}

/* 轮播指示器 */
.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

/* 删除与indicatorPosition相关的样式 */
/* .carousel-indicators.top {
    top: 15px;
    bottom: auto;
}

.carousel-indicators.left {
    left: 15px;
    top: 50%;
    bottom: auto;
    right: auto;
    transform: translateY(-50%);
    flex-direction: column;
}

.carousel-indicators.right {
    right: 15px;
    left: auto;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    flex-direction: column;
} */

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.indicator.active {
    background: #409eff;
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.3);
}

.banner-carousel {
    height: 100%;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .banner-carousel-container {
        height: 200px;
    }

    .banner-text h3 {
        font-size: 18px;
    }

    .banner-text p {
        font-size: 14px;
    }

    .banner-overlay {
        padding: 20px 15px 15px;
    }

    .carousel-btn {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .carousel-btn.prev {
        left: 10px;
    }

    .carousel-btn.next {
        right: 10px;
    }

    .indicator {
        width: 8px;
        height: 8px;
    }
}

/* 拖拽状态样式 */
.dragging {
    opacity: 0.7 !important;
    transform: scale(0.95) !important;
    pointer-events: none !important;
    z-index: 1000 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
}

/* 预览区域在拖拽时的样式 */
.portal-preview.drag-over {
    background: rgba(64, 158, 255, 0.05);
    border: 2px dashed #409eff;
    box-shadow: inset 0 0 20px rgba(64, 158, 255, 0.1);
}

.portal-preview.drag-over .preview-header {
    background: rgba(64, 158, 255, 0.1);
    color: #409eff;
    border-bottom-color: #409eff;
}

.portal-preview.drag-over .preview-content {
    background: rgba(64, 158, 255, 0.03);
}

/* 空预览区域的拖拽悬停效果 */
.empty-preview.drag-over {
    background: rgba(64, 158, 255, 0.1);
    border-color: #409eff;
    color: #409eff;
    transform: scale(1.02);
}

/* 模块拖拽时的全局样式 */
.module-item.dragging,
.preview-module.dragging {
    cursor: grabbing !important;
    user-select: none;
}

/* Banner视频样式 */
.banner-video-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.banner-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    cursor: pointer;
}

.banner-image-background {
    transition: transform 0.3s ease;
}

.banner-image-background:hover {
    transform: scale(1.02);
}

.map-info-detail {
    display: flex;
    justify-content: center;
    text-align: center;
    font-size: 16px;
    margin-top: 10px;
}

.map-info-line {
    position: absolute;
    left: 50%;
    transform: translate(-50%);
}



/* 信息模块图片布局样式 */
.informations-single {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.single-image-container {
    max-width: 600px;
    width: 100%;
}

.informations-double {
    display: flex;
    gap: 20px;
    padding: 20px;
    justify-content: center;
}

.informations-multiple {
    display: flex;
    gap: 15px;
    padding: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .informations-double {
        flex-direction: column;
        align-items: center;
    }

    .informations-double > div {
        max-width: 100%;
        width: 100%;
    }

    .informations-multiple {
        gap: 12px;
        padding: 15px;
    }

    .informations-multiple > div {
        max-width: 150px;
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .informations-multiple {
        flex-direction: column;
        align-items: center;
    }

    .informations-multiple > div {
        max-width: 100%;
        min-width: auto;
    }

    .single-image-container {
        max-width: 100%;
    }
}

/* Tab 样式 */
.talent-tabs {
    display: flex;
    gap: 0;
    margin: 20px 0;
}
.talent-tab-item {
    padding: 12px 24px;
    cursor: pointer;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: #606266;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-bottom: -2px;
}
.talent-tab-item:hover {
    color: #409eff;
}
.talent-tab-item.active {
    color: #409eff;
    border-bottom-color: #409eff;
    font-weight: 600;
}
.talent-tab-content {
    display: none;
}
.talent-tab-content.active {
    display: block;
}