.system-manage-container{
    padding: 20px;
    background: rgba(157, 188, 218, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}
.system-manage-header{
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 12px 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    .header-left{
        flex: 1;
        width: 0;
        .el-input, .el-select{
            width: 220px;
        }
    }
}
.system-manage-content{
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.manage-content{
    flex: 1;
    height: 0;
    .common-table{
        height: 100%;
        display: flex;
        flex-direction: column;
        .table-container{
            flex: 1;
            height: 0;
            display: flex;
            flex-direction: column;
            .el-table{
                flex: 1;
                height: 0;
            }
        }
    }
}
.manage{
    &-container{
        width: 100%;
        height: 100%;
        padding: 20px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        background: rgba(157, 188, 218, 0.1);
    }
    &-wrap{
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 8px;
        padding: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    &-header{
        display: flex;
        justify-content: space-between;
        margin-bottom: 10px;
    }
    &-content{
        flex: 1;
        height: 0;
        display: flex;
        flex-direction: column;
        .common-table{
            height: 100%;
            display: flex;
            flex-direction: column;
            .table-container{
                flex: 1;
                height: 0;
                display: flex;
                flex-direction: column;
                .el-table{
                    flex: 1;
                    height: 0;
                }
            }
        }
    }
}

.add-project{
    &-container{
        width: 100%;
        height: 100%;
        padding: 20px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        .el-collapse-item__header{
            color: var(--el-color-primary);
        }
    }
    &-header{
        display: flex;
        justify-content: space-between;
        margin-bottom: 10px;
    }
    &-content{
        flex: 1;
        height: 0;
        display: flex;
        flex-direction: column;
        .tabs-content{
            flex: 1;
            height: 0;
            display: flex;
            flex-direction: column;
            &>.el-tabs{
                flex: 1;
                height: 0;
            }
        }
        .el-tabs{
            height: 100%;
        }
        .el-tab-pane{
            height: 100%;
        }
        .tab-content{
            height: 100%;
            overflow: auto;
            padding: 0 10px;
            .col-title{
                height: 24px;
                line-height: 24px;
                font-weight: bold;
                text-align: center;
            }
            .tab-handle{
                margin: 10px 0;
                display: flex;
                justify-content: flex-end;
                align-items: center;
            }
            .el-table{
                margin-bottom: 10px;
                thead {
                    color: #000;
                    th{
                        background: #f5f7fa;
                        .cell{
                            text-align: center;
                        }
                    }
                }
                .sums-column{
                    display: flex;
                    flex-direction: column;
                    justify-content: flex-start;
                    &>div{
                        height: 26px;
                        line-height: 26px;
                        text-align: center;
                    }
                }
            }
            .upload-file-wrap{
                display: flex;
                justify-content: space-between;
                flex-wrap: wrap;
                .file-name{
                    flex: 1;
                    width: 0;
                    color: #409eff;
                    cursor: pointer;
                    -webkit-background-clip: text;
                    white-space: nowrap;
                    overflow: hidden;
                    text-overflow: ellipsis;
                }
                .delete-btn{
                    cursor: pointer;
                    color: #F56C6C;
                }
            }
            .el-select__wrapper{
                .el-select__selection.is-near{
                    max-height: 120px;
                    overflow: auto;
                }
            }
        }
        .always-click{
            padding: 2px;
            font-size: 12px;
            cursor: pointer !important;
            color: var(--el-color-primary);
            font-weight: 500;
            font-family: Arial, sans-serif;
            display: inline-flex;
            align-items: center;
        }
        .project-tab-content{
            padding: 0 20px;
            height: 100%;
        }
    }
}
.add-dialog{
    .el-tree{
        width: 100%;
    }
}
.tree-content {
    overflow: auto;
    position: relative;
    .el-tree {
    //   max-height: 700px;
    //   overflow-y: auto;
      // 只有当内容超过700px时才显示滚动条
      &:not(:hover) {
        scrollbar-width: none;
        -ms-overflow-style: none;
        &::-webkit-scrollbar {
          display: none;
        }
      }
      &:hover {
        scrollbar-width: thin;
        &::-webkit-scrollbar {
          display: block;
          width: 6px;
        }
        &::-webkit-scrollbar-thumb {
          background-color: rgba(144, 147, 153, 0.3);
          border-radius: 3px;
        }
        &::-webkit-scrollbar-track {
          background-color: transparent;
        }
      }
    }
    .custom-tree-node {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 14px;
        padding-right: 8px;
        .node-name{
            flex: 1;
            width: 0;
            -webkit-background-clip: text;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .node-key{
            font-size: 12px;
            color: #969696;
        }
    }
  }