* { margin: 0; padding: 0; box-sizing: border-box; }
body {font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;font-size: 14px;color: #333;background: #f5f5f8;}

/* 顶部导航固定 */
.kb-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
}

/* Only stop header_jufa ul>li flex from leaking into the Workbench/More dropdown. */
.kb-header .lawFirm_fun_box .more_tabs_box ul.list_item_list > li {
    flex: 0 0 auto !important;
}
.kb-header .lawFirm_fun_box .lawFirm_fun_list > li.active[data-id="130"],
.kb-header .lawFirm_fun_box .lawFirm_fun_list > li.active[data-href="/OAKnowledge/knowledgeList/ListView"] {
    display: flex;
    flex-basis: auto !important;
}

.kb-page {
    display: flex;
    flex-wrap: wrap;
    height: 100vh;
    overflow: hidden;
    padding-top: 56px; /* 为固定顶部导航留出空间 */
}

/* ========== 左侧边栏 ========== */
.kb-sidebar {
    width: 210px;
    background: #f5f5f8;
    /*border-right: 1px solid #e4e7ed;*/
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    flex-shrink: 0;
    height: calc(100vh - 56px);
    position: relative;
    padding-bottom: 60px; /* 为固定底部留出空间 */
}

.btn-local-upload {
    display: block;
    width: calc(100% - 24px);
    margin: 20px 12px 0;
    padding: 10px 0;
    background: #0a5de7;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
    height: 40px;
    line-height: 20px;
    box-sizing: border-box;
}
.btn-local-upload:hover { background: #0851c9; }

.btn-wechat-upload {
    display: block;
    width: calc(100% - 24px);
    margin: 8px 12px 0;
    padding: 10px 0;
    background: #fff;
    color: #333;
    border: 1px solid #f5f5f8;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
    height: 40px;
    line-height: 20px;
    box-sizing: border-box;
}
.btn-wechat-upload:hover { background: #e3e9f7; border: none; }

.sidebar-search {
    padding: 0;
    margin: 8px 12px;
    position: relative;
    display: flex;
    align-items: center;
    height: 40px;
    box-sizing: border-box;
}
.sidebar-search-input-wrap {
    position: relative;
    flex: 1;
}
.sidebar-search-input-wrap input {
    flex: 1;
    padding: 9px 36px 9px 10px;
    border: 1px solid #f5f5f8;
    border-radius: 4px;
    font-size: 12px;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
    height: 40px;
    box-sizing: border-box;
}
.sidebar-search-input-wrap input:focus {
    border-color: #409eff;
    box-shadow: 0 0 0 2px rgba(64, 158, 255, 0.1);
}
.sidebar-search-icon,
.sidebar-clear-icon-in-input {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 14px;
    transition: color 0.2s, opacity 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sidebar-search-icon img {
    width: 18px;
    height: 18px;
    display: block;
}
.sidebar-clear-icon-in-input img {
    width: 14px;
    height: 14px;
    display: block;
}
.sidebar-search-icon {
    color: #c0c4cc;
}
.sidebar-search-icon:hover {
    color: #409eff;
}
.sidebar-search-icon:hover img {
    filter: brightness(0) saturate(100%) invert(41%) sepia(96%) saturate(426%) hue-rotate(189deg) brightness(96%) contrast(95%);
}
.sidebar-clear-icon-in-input {
    color: #c0c4cc;
    opacity: 0.6;
}
.sidebar-clear-icon-in-input:hover {
    opacity: 1;
}
/* iconfont 清空图标样式 */
.sidebar-clear-icon-in-input.iconfont,
.main-search-clear.iconfont {
    font-size: 16px;
    color: #c0c4cc;
}
.sidebar-clear-icon-out-input {
    cursor: pointer;
    flex-shrink: 0;
    opacity: 0.6;
    transition: opacity 0.2s;
    margin-left: 6px;
    display: none;
}
.sidebar-clear-icon-out-input:hover {
    opacity: 1;
}

.sidebar-nav { list-style: none; padding: 0 0 6px 8px; }
.sidebar-nav .nav-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0;
    /* 右侧不留白，保证 + 和箭头贴着 #sidebarNav 右边 */
    padding: 9px 0 9px 10px;
    border-radius: 6px 0 0 6px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    line-height: 20px;
    transition: background 0.2s, color 0.2s;
    position: relative;
}
.sidebar-nav .nav-item.active { background: transparent; }
.sidebar-nav .nav-item.active .nav-label { color: #0a5de7 !important; font-weight: 600 !important; }
.sidebar-nav .nav-item.active .nav-count { color: #0a5de7 !important; }
.sidebar-nav .nav-item.active.active-parent .nav-label {
    color: #303133 !important;
    font-weight: 400 !important;
}
.sidebar-nav .nav-item.active.active-parent .nav-count {
    color: inherit !important;
}
.sidebar-nav .nav-item:hover { background: #e3e9f7; }
.sidebar-nav .nav-item:hover .nav-label,
.sidebar-nav .nav-item:hover .nav-count {
    color: #0a5de7;
    font-weight: 400;
}
.nav-icon { margin-right: 6px; font-size: 14px; line-height: 1; flex-shrink: 0; }
.nav-icon .iconfont,
.tree-item .item-icon .iconfont {
    font-size: 14px !important;
    line-height: 1;
    color: #8c94a3;
    display: block;
}
.tree-item.active .item-icon .iconfont {
    color: #0a5de7;
}
.sidebar-icon-img {
    width: 14px;
    height: 14px;
    vertical-align: middle;
    display: block;
}
.nav-label {
    /* 文本与 total 紧邻，右侧操作按钮单独靠右 */
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
    line-height: 20px;
    font-size: 13px;
    color: #303133;
    font-weight: 400;
    max-height: 40px; /* 限制最大高度为 2 行 */
}
.nav-count {
    margin-left: 2px;
    /*color: #909399;*/
    font-size: 12px;
    line-height: 20px;
    flex-shrink: 0;
    white-space: nowrap;
    text-align: left;
    flex: 1;
}
.nav-add,
.nav-arrow {
    flex-shrink: 0;
    color: #909399;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
/* + 号固定位置，不受 expand-icon 影响 */
.nav-add {
    width: 14px;
    height: 14px;
    font-size: 14px;
    cursor: pointer;
    margin-right: 32px;
}
/* 展开箭头固定在 nav-add 右侧，与 nav-add 保持固定间距 */
.nav-item .expand-icon {
    position: absolute;
    right: 10px;
    font-size: 12px;
    color: #c0c4cc;
    width: 12px;
    height: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    -webkit-transition: -webkit-transform 0.2s;
    transition: transform 0.2s;
    -webkit-transform-origin: center center;
    transform-origin: center center;
}
.nav-item .expand-icon.expanded {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}
.nav-add:hover { color: #409eff; }
.nav-arrow {
    /* 默认单独存在时贴右 */
    margin-left: auto;
    margin-right: 0;
    width: 12px;
    height: 12px;
    font-size: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    -webkit-transition: -webkit-transform 0.2s;
    transition: transform 0.2s;
    -webkit-transform-origin: center center;
    transform-origin: center center;
}
.nav-add + .nav-arrow {margin-left: 2px;margin-right: 20px;}
.nav-arrow.expanded {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}
.nav-children { padding-left: 0; }
/* 仅一级子节点加这层缩进，避免所有层级被同一规则覆盖 */
.nav-children > .tree-item { padding-left: 28px; }

.sidebar-tree {
    padding: 0 0 8px 8px;
    flex: 1;
    overflow-y: auto;
    margin-bottom: 60px; /* 为固定底部留出空间 */
}
.sidebar-tree::-webkit-scrollbar { width: 6px; }
.sidebar-tree::-webkit-scrollbar-thumb { background: #dcdfe6; border-radius: 6px; }
.sidebar-tree::-webkit-scrollbar-track { background: transparent; }

.sidebar-footer {
    padding: 10px 16px;
    flex-shrink: 0;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 210px;
    height: 60px;
    background: #f5f5f8;
    border-right: 1px solid #e4e7ed;
    z-index: 100;
    display: flex;
    align-items: center;
}
.storage-info {
    color: #909399;
    font-size: 12px;
}
.storage-info .used-size {
    color: #0a5de7;
    font-weight: 500;
}
.tree-item {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
    /* 右侧不留白，二级/三级 + 号与箭头可贴右 */
    padding: 8px 0 8px 10px;
    border-radius: 6px 0 0 6px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    line-height: 20px;
    transition: background 0.2s, color 0.2s;
}
.tree-item:hover { background: #e3e9f7; }
.tree-item:hover .item-label,
.tree-item:hover .item-count {
    color: #0a5de7;
    font-weight: 400;
}
.tree-item.active { background: #ecf5ff; }
.tree-item .item-icon { margin-right: 6px; font-size: 14px; line-height: 1; flex-shrink: 0; }
.tree-item .sidebar-icon-img {
    width: 14px;
    height: 14px;
    vertical-align: middle;
}
.tree-item .item-label {
    /* 文本与 total 紧邻，右侧操作按钮单独靠右 */
    flex: 0 1 auto;
    min-width: 0;
    max-width: calc(100% - 35px);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
    line-height: 20px;
    font-size: 13px;
    color: #303133;
    font-weight: 400;
    max-height: 40px; /* 限制最大高度为 2 行 */
}
.tree-item.active .item-label { color: #0a5de7 !important; font-weight: 600 !important; }

.item-count {
    margin-left: 2px;
    color: #909399;
    font-size: 12px;
    line-height: 20px;
    flex-shrink: 0;
    white-space: nowrap;
    text-align: left;
}
.tree-item.active .item-count { color: #0a5de7; }

.tree-item .item-add {
    margin-left: auto;
    color: #909399;
    font-size: 14px;
    cursor: pointer;
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.tree-item .item-add:hover { color: #409eff; }
.tree-item .item-arrow {
    color: #c0c4cc;
    font-size: 12px;
    margin-left: auto;
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.tree-item .item-add + .item-arrow { margin-left: 2px; }
.tree-item .expand-icon {
    font-size: 12px;
    color: #c0c4cc;
    margin-right: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    -webkit-transition: -webkit-transform 0.2s;
    transition: transform 0.2s;
    -webkit-transform-origin: center center;
    transform-origin: center center;
}
.tree-item .expand-icon.expanded {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}

.tree-children {
    display: none;
    padding-left: 18px;
}
.nav-children .tree-item .item-icon { display: none; }

/* 项目文件夹"更多"按钮样式 */
.load-more-wrap {
    padding: 8px 0 8px 38px;
    cursor: pointer;
    color: #409eff;
    font-size: 13px;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 4px;
}
.load-more-wrap:hover {
    background: #f5f7fa;
}
.load-more-icon {
    font-size: 12px;
    color: #c0c4cc;
    transition: transform 0.2s;
}
.load-more-wrap:hover .load-more-icon {
    color: #409eff;
}

/* 项目文件夹“更多”按钮样式 */
.load-more-wrap {
    padding: 8px 0 8px 38px;
    cursor: pointer;
    color: #409eff;
    font-size: 13px;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 4px;
}
.load-more-wrap:hover {
    background: #f5f7fa;
}
.load-more-icon {
    font-size: 12px;
    color: #c0c4cc;
    transition: transform 0.2s;
}
.load-more-wrap:hover .load-more-icon {
    color: #409eff;
}

/* 搜索结果项样式 */
.search-result-item { cursor: pointer; }
.search-result-item:hover { background: #f5f7fa; }
.search-result-item .item-label {
    overflow: visible;
    white-space: normal;
    word-break: break-all;
}
.search-result-item .item-count { white-space: nowrap; }

/* 搜索高亮项中的文字标签，保持红色高亮关键词 */
.search-highlight .item-label,
.search-highlight .nav-label {
    color: inherit;
}



/* ========== 面包屑导航 ========== */
.kb-breadcrumb {
    display: flex;
    align-items: center;
    padding: 0px 20px;
    background: #fff;
    /*border-bottom: 1px solid #e4e7ed;*/
    font-size: 14px;
    color: #606266;
    flex-wrap: nowrap;
    min-height: 44px;
}
.kb-breadcrumb:empty { display: none; }

.kb-breadcrumb-icon {
    display: inline-flex;
    align-items: center;
    margin-right: 4px;
    color: #909399;
    font-size: 14px;
    flex-shrink: 0;
}

.kb-breadcrumb-sep {
    margin: 0 4px;
    color: #c0c4cc;
    flex-shrink: 0;
}

/* 可点击节点 */
.kb-breadcrumb-item {
    color: #606266;
    cursor: pointer;
    white-space: nowrap;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 0;
    transition: color 0.2s;
}
.kb-breadcrumb-item:hover { color: #409eff; }

/* 一级节点：不可点击，无悬停效果，保持默认颜色 */
.kb-breadcrumb-item.first-level {
    cursor: default;
    color: #606266;  /* 强制灰色 */
}
.kb-breadcrumb-item.first-level:hover {
    color: #606266;  /* 悬停保持灰色 */
}
/* 一级节点即使是 current 状态，也保持灰色 */
.kb-breadcrumb-item.current.first-level {
    color: #606266;
}
.kb-breadcrumb-item.current.first-level:hover {
    color: #606266;
}

/* 当前页面节点（不可点击，蓝色） */
.kb-breadcrumb-item.current {
    color: #0a5de7;
    cursor: default;
    font-weight: 500;
    max-width: none;           /* 移除最大宽度限制 */
    overflow: visible;         /* 显示溢出内容 */
    text-overflow: clip;       /* 禁用省略号 */
    white-space: normal;       /* 允许换行 */
}
.kb-breadcrumb-item.current:hover { color: #0a5de7; }

/* 省略号节点 */
.kb-breadcrumb-ellipsis {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    color: #c0c4cc;
    font-size: 15px;
    flex-shrink: 0;
    padding: 0 4px 8px;
    margin-bottom: -8px;
}
.kb-breadcrumb-ellipsis:hover { color: #409eff; }

/* 省略号悬浮下拉 */
.kb-breadcrumb-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid #e4e7ed;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    z-index: 999;
    min-width: 140px;
    max-width: 320px;
    max-height: 280px;
    overflow-y: auto;
    padding: 4px 0;
}
.kb-breadcrumb-ellipsis:hover .kb-breadcrumb-dropdown { display: block; }
.kb-breadcrumb-dropdown:hover { display: block; }

.kb-breadcrumb-dropdown-item {
    display: block;
    padding: 7px 16px;
    font-size: 13px;
    color: #606266;
    cursor: pointer;
    white-space: nowrap;
}
.kb-breadcrumb-dropdown-item:hover { background: #f5f7fa; color: #409eff; }

/* ========== 右侧主区域 ========== */
.kb-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: calc(100vh - 76px);
    padding-bottom: 60px; /* 为固定底部留出空间 */
    margin-top: 20px;
    border-radius: 8px;
    background: #ffffff;
}


.main-header {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    background: #fff;
}
.main-search { flex: 1; display: flex; max-width: 560px; position: relative; }
.main-search-input-wrap {
    position: relative;
    flex: 1;
}
.main-search input {
    flex: 1;
    padding: 9px 36px 9px 10px;
    border: 1px solid #ffffff;
    border-radius: 4px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
    height: 40px;
    background: #f5f5f8;
    box-sizing: border-box;
}
.main-search input:focus {
    border-color: #409eff;
    box-shadow: 0 0 0 2px rgba(64, 158, 255, 0.1);
}
.main-search-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #c0c4cc;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.main-search-clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
    font-size: 16px;
    color: #c0c4cc;
}
.main-search-clear:hover { opacity: 1; }
.header-right { margin-left: auto; }
.video-link { display: none; font-size: 13px; cursor: pointer; }

.main-tabs {
    display: flex;
    align-items: center;
    padding: 0px 20px;
    background: #fff;
    /* border-bottom: 1px solid #e4e7ed; */
    min-height: 44px;
}
.main-tabs .tab {
    padding: 8px 16px;
    font-size: 14px;
    color: #409eff;
    font-weight: 500;
    cursor: default;
}
.main-tabs .tab.active { color: #409eff; }

.upload-cards {
    display: flex;
    gap: 20px;
    padding: 10px 20px;
    background: #fff;
    margin-right: 10%;
    /*border-bottom: 1px solid #e4e7ed;*/
}
.upload-card {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border: 1px solid #ebeef5;
    border-radius: 6px;
    cursor: pointer;
    transition: box-shadow 0.2s;
}
.upload-card:hover { box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
.upload-card-icon {
    font-size: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.upload-card-title { font-size: 15px; font-weight: 600; color: #333; margin-bottom: 6px; }
.upload-card-desc { font-size: 12px; color: #909399; line-height: 1.5; }

.result-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 20px;
    background: #fff;
    /*border-bottom: 1px solid #e4e7ed;*/
    font-size: 13px;
    color: #606266;
}
.result-info strong { color: #f56c6c; font-size: 16px; }
.filter-tag {
    display: inline-block;
    padding: 2px 8px;
    background: #ecf5ff;
    color: #409eff;
    border-radius: 3px;
    font-size: 12px;
    margin-left: 6px;
}
.result-actions { display: flex; align-items: center; gap: 6px; color: #909399; cursor: pointer; margin-left: auto; }
.sort-icon { font-size: 14px; }

/* ========== 文档列表 ========== */
.doc-list {
    flex: 1;
    overflow-y: auto;
    padding: 0 20px;
    background: #fff;
}

.doc-card {
    padding: 16px 20px;
    border-bottom: 1px solid #ebeef5;
    transition: background 0.2s;
}

.doc-card:hover {
    background: rgba(10, 93, 231, 0.06) !important;
}

.doc-card-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 8px;
    position: relative;
}

.doc-card-index {
    color: #409eff;
    font-size: 12px;
    font-weight: 500;
    margin-right: 8px;
    flex-shrink: 0;
    background: #f3f7fb;
    border-radius: 4px;
    padding: 2px 6px;
}

.doc-card-file-icon {
    margin-right: 6px;
    flex-shrink: 0;
}

.doc-card-title {
    font-size: 15px;
    color: #333;
    line-height: 1.5;
    flex: 1;
    font-weight: 600;
}

.doc-card-more {
    margin-left: 12px;
    color: #c0c4cc;
    cursor: pointer;
    font-size: 18px;
    flex-shrink: 0;
    position: relative;
    padding: 0 4px;
    user-select: none;
}

.doc-card-more:hover {
    color: #409eff;
}

/* 文档卡片下拉菜单 */
.doc-card-dropdown {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    background: #fff;
    border: 1px solid #e4e7ed;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    z-index: 1000;
    min-width: 120px;
    padding: 4px 0;
    margin-top: 0;
}

.doc-card-dropdown.show {
    display: block;
}

.doc-card-dropdown-item {
    display: block;
    padding: 8px 16px;
    font-size: 13px;
    color: #606266;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}

.doc-card-dropdown-item:hover {
    background: #f5f7fa;
    color: #409eff;
}

.doc-card-dropdown-item.delete {
    color: #f56c6c;
}

.doc-card-dropdown-item.delete:hover {
    color: #f56c6c;
    background: #fef0f0;
}

.doc-card-body {
    padding-left: 24px;
    color: #606266;
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 8px;
}

.doc-card-footer {
    /*padding-left: 24px;*/
    display: flex;
    gap: 24px;
    color: #909399;
    font-size: 12px;
}

/* 搜索高亮样式 */
.doc-card em,
.doc-card-footer em {
    color: #f56c6c;
    font-style: normal;
    font-weight: 500;
}

/* ========== 底部 ========== */
.kb-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: #fff;
    font-size: 13px;
    flex-shrink: 0;
    position: fixed;
    bottom: 0;
    right: 0;
    left: 210px; /* 左侧边栏宽度 */
    height: 60px;
    z-index: 100;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pagination-container {
    display: flex;
    align-items: center;
    gap: 8px;
    user-select: none;
}

.pagination .page-btn,
.pagination-container .page-btn {
    min-width: 32px;
    height: 32px;
    padding: 0 10px;
    border: 1px solid #dcdfe6;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    color: #606266;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.pagination .page-btn:hover,
.pagination-container .page-btn:hover {
    color: #0a5de7;
    border-color: #0a5de7;
}

.pagination .page-btn.active,
.pagination-container .page-btn.active {
    background: #0a5de7;
    border-color: #0a5de7;
    color: #fff;
    font-weight: 600;
}

.pagination .page-btn.active:hover,
.pagination-container .page-btn.active:hover {
    background: #0a5de7;
    border-color: #0a5de7;
    color: #fff;
}

.pagination .page-num,
.pagination-container .page-num {
    padding: 0 10px;
    border: 1px solid #0a5de7;
    background: #0a5de7;
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
}

.pagination .page-info,
.pagination-container .pagination-info {
    color: #606266;
    font-size: 14px;
}

.pagination .page-input,
.pagination-container .page-input {
    width: 45px;
    height: 32px;
    padding: 4px 6px;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    font-size: 14px;
    text-align: center;
    outline: none;
    transition: border-color 0.2s;
}

.pagination .page-input:focus,
.pagination-container .page-input:focus {
    border-color: #0a5de7;
}

.pagination-container .page-size-input {
    width: 60px;
    height: 32px;
    padding: 4px 6px;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    font-size: 14px;
    text-align: center;
    outline: none;
    transition: border-color 0.2s;
}

.pagination-container .page-size-input:focus {
    border-color: #0a5de7;
}

.pagination .page-ellipsis,
.pagination-container .page-ellipsis {
    color: #909399;
    padding: 0 4px;
}

.pagination .page-jump {
    padding: 4px 10px;
    border: 1px solid #dcdfe6;
    background: #fff;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
    color: #606266;
}

/* ======================== 知识库上传弹窗 ======================== */
#uploadKnowledgeDialog_box {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    left: 0;
    top: 0;
    display: none;
    z-index: 9999;
}
#uploadFileDialog {
    position: fixed;
    left: 50%;
    top: 25%;
    transform: translateX(-50%);
    width: 607px;
    max-height: none;
    min-height: 400px;
    background: #fff;
    border-radius: 4px;
    z-index: 10000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}
#uploadFileDialog .close {
    position: absolute;
    right: 12px;
    top: 10px;
    cursor: pointer;
}

#uploadFileDialog .upload_header {
    width: 100%;
    height: auto;
    padding: 24px 0px;
}
#uploadFileDialog .upload_header .upload_header_name {
    /*padding-left: 30px;*/
    font-size: 16px;
    font-family: PingFangSC-Medium, PingFang SC;
    font-weight: 600;
    line-height: 40px;
}

#uploadFileDialog .upload_chose_wrap {
    width: 100%;
    height: auto;
    /* padding: 0 30px; */
}
#uploadFileDialog .upload_chose_item {
    margin-bottom: 9px;
    position: relative;
}
#uploadFileDialog .upload_chose_item .upload_chose_item_left {
    font-size: 14px;
    color: #333;
    /*margin-right: 20px;*/
    text-align: right;
    width: 80px;
    display: inline-block;
    vertical-align: top;
    line-height: 36px;
}
#uploadFileDialog .upload_chose_item .upload_chose_item_right {
    display: inline-block;
    width: calc(100% - 106px);
    height: 36px;
    line-height: 36px;
}
#uploadFileDialog .upload_chose_item .upload_chose_item_left font {
    color: #e34d59;
}

#uploadFileDialog .modal_form_select {
    position: relative;
}
#uploadFileDialog .modal_form_select input {
    background: #fff;
    border-radius: 4px;
    border: 1px solid #dcdcdc;
    width: 100%;
    padding: 0 40px 0 10px;
    background: url(/static/Public/images/lawFirm/projectList_03.svg) no-repeat #fff;
    background-size: 14px 14px;
    background-position: right 10px center;
    cursor: pointer;
    height: 100%;
    vertical-align: top;
}
#uploadFileDialog .modal_form_select input::placeholder {
    color: #8c8c8c;
}

#uploadFileDialog .modal_form_tree_dropdown {
    height: 400px;
    position: absolute;
    width: 100%;
    max-height: none;
    display: none;
    border: 1px solid #e4e7ed;
    border-radius: 4px;
    background-color: #fff;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    margin: 5px 0;
    transform-origin: center top;
    z-index: 2010;
    animation-name: upbit;
    animation-duration: 0.3s;
    animation-fill-mode: both;
}
#uploadFileDialog .modal_form_tree_dropdown ul {
    list-style: none;
    /* padding: 1px 0px; */
    /* margin-left: 10px; */
    box-sizing: border-box;
    max-height: none;
    overflow: visible;
}
#uploadFileDialog .modal_form_tree_dropdown ul > li {
    font-size: 13px;
    /* padding: 0px 4px; */
    position: relative;
    white-space: nowrap;
    /* overflow: hidden; */
    text-overflow: ellipsis;
    /* height: 34px; */
    line-height: 34px;
    box-sizing: border-box;
    cursor: pointer;
    list-style: none;
}
#uploadFileDialog .modal_form_tree_dropdown ul > li:hover {
    background-color: transparent;
}
#uploadFileDialog .modal_form_tree_dropdown ul > li.selected {
    color: var(--color-theme);
    font-weight: 700;
    background-color: #fff;
}
#uploadFileDialog .modal_form_tree_dropdown ul > li.folder-group {
    font-weight: 600;
    color: #333;
    background-color: #fafafa;
    cursor: default;
    padding-left: 12px;
}
#uploadFileDialog .modal_form_tree_dropdown ul > li.folder-group:hover {
    background-color: transparent;
}
#uploadFileDialog .modal_form_tree_dropdown ul > li.folder-item {
    padding-left: 32px;
}
#uploadFileDialog .modal_form_tree_dropdown ul > li.folder-item.level-2 {
    padding-left: 52px;
}
#uploadFileDialog .modal_form_tree_dropdown ul > li.folder-item.level-3 {
    padding-left: 72px;
}
#uploadFileDialog .modal_form_tree_dropdown ul > li.folder-item::before {
    content: '📂';
    margin-right: 6px;
}

#uploadFileDialog .dialog_content {
    max-height: none;
    overflow-y: visible;
    flex: 1;
}

#uploadFileDialog .upload_btns {
    text-align: right;
    padding: 20px 30px;
    flex-shrink: 0;
}
#uploadFileDialog .upload_btn {
    /* width: 72px; */
    height: 36px;
    border-radius: 4px;
    background: #fff;
    border: 0;
    cursor: pointer;
}
#uploadFileDialog .kb_uploadFile_dia_cancel {
    border: 1px solid rgba(38, 38, 38, 0.3);
    font-size: 14px;
    font-weight: 400;
    color: #666666;
    margin-right: 8px;
}
#uploadFileDialog .kb_uploadFile_dia_confirm {
    background: #0a5de7;
    font-size: 14px;
    font-weight: 400;
    color: #ffffff;
    border: 1px solid #0a5de7;
}

/* 上传类型区域 */
.upload_type_one {
    overflow: hidden;
    height: 100%;
    padding: 0;
}
.upload_type_header {
    margin-bottom: 12px;
    line-height: 32px;
}
.upload_type_header .upload_type_title {
    font-size: 16px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.9);
}
.upload_type_header .upload_type_header_right {
    position: relative;
    cursor: pointer;
}
.upload_type_header .upload_type_header_right .upload_tip {
    font-size: 14px;
    color: #999999;
    position: absolute;
    left: -152px;
    top: 0;
}
.upload_type_header .uploadfile_btn {
    width: 106px;
    height: 32px;
    background: var(--color-theme);
    border-radius: 4px;
    line-height: 28px;
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    border: 0;
    cursor: pointer;
}
.upload_type_header .uploadfile_btn img {
    vertical-align: middle;
    width: 16px;
    height: 18px;
}
.upload_type_header .input_file {
    position: absolute;
    top: 0;
    left: 0;
    width: 106px;
    height: 32px;
    z-index: 1;
    opacity: 0;
    cursor: pointer;
    font-size: 0;
}

/* 滚动条样式 */
.dialog_content::-webkit-scrollbar {
    width: 5px;
    height: 1px;
}
.dialog_content::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: #d8d8d8;
}
.dialog_content::-webkit-scrollbar-track {
    border-radius: 10px;
    background: #ffffff;
}

/* 清空样式 */
.clearfix:after {
    content: "";
    height: 0;
    line-height: 0;
    display: block;
    visibility: hidden;
    clear: both;
}
.clearfix {
    zoom: 1;
}
.fl {
    float: left;
}
.fr {
    float: right;
}
.upload_list_wrap {
    overflow-y: auto;
    overflow-x: hidden;
}
.upload_list_top {
    display: flex;
    border: 1px solid #e7e7e7;
    border-radius: 4px 4px 0 0;
    background: #f5f7fa;
    border-bottom: 0;
}
.upload_list_bot {
    border: 1px solid #e7e7e7;
    border-top: 0;
    min-height: 180px;
}

#kb_upload_list table {
    width: 100%;
    border-collapse: collapse;
}

#kb_upload_list td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #ebeef5;
    font-size: 14px;
    color: #606266;
}

#kb_upload_list tr:hover td {
    background-color: #f5f7fa;
}

.kb_file_del {
    color: #409eff;
    cursor: pointer;
}

.kb_file_del:hover {
    color: #66b1ff;
}
.upload_list_top .list_top_tit,
.upload_list_bot .list_top_tit {
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
    line-height: 44px;
    color: rgba(0, 0, 0, 0.4);
    padding: 0 16px;
    border-right: 1px solid #e7e7e7;
}

.upload_type_one .upload_list_wrap .upload_list_top,
.upload_type_one .upload_list_wrap .upload_list_bot {
    font-size: 14px;
}
.upload_list_top .list_top_tit {
    color: rgba(0, 0, 0, 0.4);
    vertical-align: middle;
}
.upload_list_bot .list_top_tit {
    color: #333;
    vertical-align: top;
    line-height: 44px;
}
.upload_list_top .list_top_tit:first-child,
.upload_list_bot .list_top_tit:first-child {
    width: 150px;
}
.upload_list_top .list_top_tit:nth-child(2),
.upload_list_bot .list_top_tit:nth-child(2) {
    width: 128px;
}
.upload_list_top .list_top_tit:nth-child(3),
.upload_list_bot .list_top_tit:nth-child(3) {
    width: 136px;
}
.upload_list_top .list_top_tit:last-child,
.upload_list_bot .list_top_tit:last-child {
    border-right: 0;
    width: calc(100% - 414px);
}
/* 空数据提示 */
.nodata_upload {
    padding: 60px 10px;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.4);
    word-wrap: break-word;
    word-break: break-all;
    border: 1px solid #e7e7e7;
    border-top: 0;
    line-height: 1;
}
/* 拖拽上传区域 */
#kb_upload_dropzone {
    padding: 60px 10px;
    text-align: center;
    border: none;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 表格中的上传区域填充满 */
.kb-upload-table tbody tr:first-child td {
    padding: 0;
    border-bottom: none;
}

.kb-upload-table .nodata_upload {
    width: 100%;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    padding: 0;
}
.kb_upload_drop_area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.kb_upload_drop_area .input_file {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
.kb_upload_drop_area .uploadfile_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 36px;
    padding: 0 20px;
    background: #fff;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    color: #606266;
    font-size: 14px;
    cursor: pointer;
    margin-bottom: 12px;
    position: relative;
}
.kb_upload_drop_area .uploadfile_btn img {
    vertical-align: middle;
    width: 14px;
    height: 16px;
    margin-right: 6px;
}
.kb_upload_drop_area .uploadfile_btn:hover {
    color: #409eff;
    border-color: #409eff;
}
.kb_upload_drop_tip {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.4);
    margin: 8px 0 4px;
}
.kb_upload_format_tip {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.3);
    margin-top: 4px;
}
/* 删除按钮 */
.deleteUpfile {
    color: #909399;
    cursor: pointer;
    font-size: 14px;
}
.deleteUpfile:hover {
    color: #409eff;
}
.upload_status_ok {
    color: #67c23a;
}
.upload_status_fail {
    color: #f56c6c;
}

/* Dialog组件样式 */
.kb-upload-dialog {
    display: flex !important;
}
.kb-upload-dialog .ai-dialog__container {
    width: 600px;
    min-height: 400px;
}
.kb-upload-dialog .ai-dialog__body {
    padding: 20px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.kb-upload-wrap {
    width: 100%;
}
.kb-upload-header {
    margin-bottom: 20px;
}
.kb-upload-form-item {
    margin-bottom: 16px;
}
.kb-upload-form-item label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
}
.kb-folder-select {
    position: relative;
}
.kb-folder-select input {
    width: 100%;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}
.kb-folder-dropdown {
    display: none;
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    z-index: 1000;
    list-style: none;
    padding: 0;
    margin: 0;
}
.kb-folder-dropdown li {
    padding: 8px 12px;
    font-size: 14px;
    cursor: pointer;
}
.kb-folder-dropdown li:hover {
    background: #f5f7fa;
}
.kb-folder-dropdown .folder_group_title {
    background: #f5f7fa;
    color: #909399;
    cursor: default;
}
.kb-upload-body {
    min-height: 200px;
}

/* 表格样式 */
.kb-upload-table-wrap {
    flex: 1;
    overflow: auto;
}
.kb-upload-table {
    width: 100%;
    border-collapse: collapse;
}
.kb-upload-table th,
.kb-upload-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ebeef5;
}
.kb-upload-table th {
    /*background: #f5f7fa;*/
    font-weight: 500;
    color: #606266;
}
.kb-upload-empty {
    text-align: center;
    padding: 40px 20px;
}
.kb-upload-dropzone {
    background: #fafafa;
}
.kb-upload-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #409eff;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 12px;
}
.kb-upload-trigger:hover {
    background: #66b1ff;
}
.kb-upload-tip {
    color: #909399;
    font-size: 12px;
    margin: 4px 0;
}

/* Toast 提示样式 */
.kb-upload-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 12px 24px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    z-index: 10001;
    display: none;
    max-width: 300px;
    text-align: center;
}
.kb-upload-toast.show {
    display: block;
    animation: fadeInOut 3s ease-in-out;
}
.kb-upload-toast.error {
    background: rgba(245, 108, 108, 0.9);
}
.kb-upload-toast.success {
    background: rgba(103, 194, 58, 0.9);
}
@keyframes fadeInOut {
    0% { opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { opacity: 0; }
}


/* 二级目录行内操作图标（与设计图一致：右侧仅图标，不使用弹层面板） */
.folder-action-tooltip {
    margin-left: auto;
    margin-right: 8px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    pointer-events: auto;
}

.folder-action-tooltip .action-btn {
    cursor: pointer;
    width: 14px;
    height: 14px;
    line-height: 1;
    font-size: 12px;
    color: #9aa1ad;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.folder-action-tooltip .rename-btn:hover { color: #0a5de7; }
.folder-action-tooltip .delete-btn:hover { color: #f56c6c; }

/* 关键词高亮统一风格 */
.nav-label span,
.item-label span {
    color: #f56c6c !important;
    font-weight: 600;
}

/* 搜索结果高亮样式 - 用于em标签 */
.doc-card-title em,
.doc-card-abstract em {
    color: #f56c6c;
    font-weight: 600;
    font-style: normal;
    background-color: rgba(245, 108, 108, 0.1);
    padding: 0 2px;
    border-radius: 2px;
}

/* 树节点编辑输入框增强 */
.tree-item .folder-rename-input {
    width: 140px;
    max-width: 100%;
    height: 26px;
    line-height: 26px;
    border: 1px solid #409eff;
    border-radius: 4px;
    padding: 0 8px;
    color: #303133;
    background: #fff;
}

.tree-item .folder-rename-input:focus {
    border-color: #0a5de7;
    box-shadow: 0 0 0 2px rgba(64, 158, 255, 0.12);
}

/* 重命名输入框样式 */
.folder-rename-input {
    width: 140px;
    height: 26px;
    line-height: 26px;
    font-size: 13px;
    border: 1px solid #409eff;
    border-radius: 4px;
    padding: 0 8px;
    outline: none;
    font-family: inherit;
    color: #303133;
    background: #fff;
}

.folder-rename-input:focus {
    border-color: #0a5de7;
    box-shadow: 0 0 0 2px rgba(64, 158, 255, 0.12);
}

/* 删除确认弹框（按页面截图 1:1 还原） */
.kb-delete-confirm-mask {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
    z-index: 10060;
    display: none;
    align-items: center;
    justify-content: center;
}

.kb-delete-confirm-dialog {
    width: 320px;
    background: #fff;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
    box-sizing: border-box;
    overflow: hidden;
}

.kb-delete-confirm-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #ebeef5;
}

.kb-delete-confirm-title {
    font-size: 14px;
    font-weight: 500;
    color: #303133;
    display: flex;
    align-items: center;
    gap: 6px;
}

.kb-delete-confirm-icon {
    color: #fa8c16;
    font-size: 16px;
}

.kb-delete-confirm-close {
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    background: transparent;
    font-size: 18px;
    line-height: 24px;
    color: #909399;
    cursor: pointer;
    text-align: center;
    border-radius: 2px;
}

.kb-delete-confirm-close:hover {
    color: #409eff;
    background: #ecf5ff;
}

.kb-delete-confirm-body {
    padding: 24px 16px;
    text-align: center;
}

.kb-delete-confirm-text {
    font-size: 14px;
    color: #606266;
    line-height: 1.5;
}

.kb-delete-confirm-footer {
    padding: 12px 16px;
    text-align: right;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.kb-delete-btn {
    min-width: 80px;
    height: 32px;
    padding: 0 16px;
    border-radius: 4px;
    border: 1px solid #dcdfe6;
    background: #fff;
    font-size: 14px;
    cursor: pointer;
    color: #606266;
    transition: all 0.2s;
}

.kb-delete-btn:hover {
    border-color: #c0c4cc;
}

.kb-delete-btn-confirm {
    border-color: #e03333;
    background: #e03333;
    color: #fff;
}

.kb-delete-btn-confirm:hover {
    border-color: #e85555;
    background: #e85555;
}

.kb-delete-btn-normal {
    border-color: #1f68ff;
    background: #1f68ff;
    color: #fff;
}

.kb-delete-btn-normal:hover {
    border-color: #4d85ff;
    background: #4d85ff;
}

/* ==================== 微信扫码直传弹窗 ==================== */
.wechat-upload-dialog {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wechat-upload-mask {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.wechat-upload-content {
    position: relative;
    width: 500px;
    height: 275px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    z-index: 1;
    background-image: url('/static/Public/OAKnowledge/img/icon/微信直传背景图片 1569@2x.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.wechat-upload-header {
    position: relative;
    padding: 24px 24px 0;
    text-align: center;
}

.wechat-upload-title-img {
    height: 20px;
    width: auto;
    display: block;
    margin: 0 auto;
}

.wechat-upload-subtitle {
    font-size: 14px;
    /*color: #666;*/
    margin: 8px 0 0;
    line-height: 1.4;
}

.wechat-upload-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    font-size: 20px;
    /*color: #999;*/
    cursor: pointer;
    transition: color 0.2s;
    z-index: 10;
}

.wechat-upload-close:hover {
    color: #333;
}

.wechat-upload-body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    gap: 32px;
}

.wechat-qrcode-box {
    flex-shrink: 0;
    width: 160px;
    height: 160px;
    padding: 8px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 左上角 */
.wechat-qrcode-box::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    width: 20px;
    height: 20px;
    border-top: 2px solid #609cff;
    border-left: 2px solid #609cff;
    border-radius: 4px 0 0 0;
}

/* 右上角 */
.wechat-qrcode-box::after {
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    border-top: 2px solid #609cff;
    border-right: 2px solid #609cff;
    border-radius: 0 4px 0 0;
}

/* 左下角 */
.wechat-qrcode-corner-bl {
    position: absolute;
    bottom: 8px;
    left: 8px;
    width: 20px;
    height: 20px;
    border-bottom: 2px solid #609cff;
    border-left: 2px solid #609cff;
    border-radius: 0 0 0 4px;
}

/* 右下角 */
.wechat-qrcode-corner-br {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    border-bottom: 2px solid #609cff;
    border-right: 2px solid #609cff;
    border-radius: 0 0 4px 0;
}

.wechat-qrcode {
    width: 144px;
    height: 144px;
    object-fit: contain;
}

.wechat-steps {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

.wechat-step {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.step-num {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    background: #ff6a00;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    margin-top: 2px;
}

.step-text {
    flex: 1;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}
