.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;
        }
      }
    }
  }
}

::v-deep.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;
  }
  &-content {
    flex: 1;
    height: 0;
    display: flex;
    flex-direction: column;
    .tabs-content {
      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-bottom: 16px;
        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%;
    }
  }
}
::v-deep .el-input {
  width: 100% !important;
}
.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;
    }
  }
}
.add-project-header {
  margin-bottom: 10px;
  padding-left: 24px;
  .header-left {
    &:hover {
      color: #409eff;
      cursor: pointer;
    }
    // position: relative;
    // &::before {
    //   position: absolute;
    //   content: "<";
    //   left: -26px;
    //   top: -3px;
    //   width: 2px;
    //   height: 19px;
    //   font-size: 19px;
    // }
  }
}

::v-deep.el-form-item {
  display: block;
  .el-form-item__label {
    width: auto !important;
    color: #333;
    // font-weight: 600;
  }
}

.tab-handle {
  margin-bottom: 10px;
  text-align: right;
}
.always-click {
  cursor: pointer;
  color: #409eff;
  margin-right: 10px;
}
.el-table .el-table__footer-wrapper {
  .el-table-cell {
    font-weight: bold;
    background-color: #f5f7fa;
  }
}

.add-project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

::v-deep .el-collapse-item {
  .el-collapse-item__title {
    color: #333;
    font-size: 16px;
    flex: auto;
    text-align: left;
    padding-left: 16px;
    position: relative;
    &::after {
      position: absolute;
      content: "";
      left: 0;
      top: 15px;
      width: 2px;
      height: 19px;
      background-color: #409eff;
    }
  }

  .el-icon {
    font-size: 16px;
  }
}

:deep(.el-table) {
  --el-table-border-color: #ebeef5;
  width: 100%;
}

:deep(.el-upload) {
  width: 100%;
}
::v-deep .el-collapse-item__content {
  padding-bottom: 0;
}
