.system-manage-container {
  background: #ecf2f8;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.is-horizontal {
  display: block !important;
}
.el-scrollbar__thumb {
  background: #467bad !important;
  opacity: 0.9 !important;
}
.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;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.manage-search {
  padding: 24px 16px 8px 16px;

  background: #fff;
  margin-bottom: 16px;
  border-radius: 4px;
}

.manage-content {
  flex: 1;
  height: 0;
  .common-table {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 0;

    .table-container {
      flex: 1;
      height: 0;
      display: flex;
      flex-direction: column;
      .el-table {
        flex: 1;
        height: 0;
      }
    }
  }
}
.manage {
  &-container {
    width: 100%;
    height: 100%;
    background-color: #ecf2f8;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
  }
  &-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    overflow: hidden;
    flex-direction: column;
  }

  &-header {
    padding-top: 16px;
    padding-right: 16px;
    display: flex;
    justify-content: space-between;
    background-color: #fff;
  }
  &-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%;
    padding: 16px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    .el-collapse-item__header {
      color: var(--el-color-primary);
    }
  }

  &-header {
    border: none;
    height: 64px;
    display: flex;
    align-items: center;
    margin-bottom: 0;
    margin-top: 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: hidden;
      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;

        tbody {
          tr {
            height: 46px;
          }
          .el-table__cell {
            padding: 0;
            border-bottom: 1px solid rgba(0, 0, 0, 0.15) !important;
            border-right: 1px solid rgba(0, 0, 0, 0.15) !important;
          }
        }

        thead {
          color: #000;
          .el-table__cell {
            border-bottom: 1px solid rgba(0, 0, 0, 0.15) !important;
            border-right: 1px solid rgba(0, 0, 0, 0.15) !important;
          }
          th {
            background: #e4e8f1;
            .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;
        }
      }
      h3 {
        text-align: center;
      }
      .text-border {
        width: 100%;
        padding: 0 10px;
        font-weight: 600;
        border: 1px solid #dcdfe6;
        border-radius: 4px;
        background-color: #f5f7fa;
        min-height: 34px;
      }
      .report-item {
        display: flex;
        align-items: center;
        margin: 18px 0;
      }
      .report-label {
        width: 150px;
        text-align: right;
        padding-right: 12px;
      }
      .report-content {
        border-left: 1px solid #eaeaea;
        flex: 1;
        width: 0;
      }
    }
    .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 {
      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;
    }
  }
}
// ==========================设置定制化样式 start ==========================

.el-form-item {
  margin-bottom: 4px;
}
.el-form-item__label {
  min-width: 100px;
  font-weight: 400;
  font-size: 14px;
  color: rgba(51, 51, 51, 1);
  height: 32px;
  display: flex;
  align-items: center;
  text-align: justify !important;
  justify-content: center;
  line-height: 1.2;
}

.el-input-number,
.el-date-editor,
.el-cascader,
.el-tree-select .el-select,
.el-input,
.el-date-editor {
  width: 100% !important;
}
.add-project-content {
  background-color: #fff;
  padding-top: 16px;
  padding-right: 16px;
  padding: 0;

  // .el-tabs--border-card {
  //   border: none;
  // }
  .el-collapse {
    border: none;
  }
  .el-collapse-item__header {
    background-color: #f5f7fa;
    padding: 0 24px;
    margin: 0;
    font-size: 14px;
    margin-bottom: 16px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
  }
}
// ==========================设置定制化样式 end ==========================

// ==========================表格双色条纹样式 start ==========================
.table-stripe-colors {
  border: 1px solid #ebeef5;

  // 奇数行 1、3、5、7…
  .odd-row {
    background-color: #f5f5f5 !important;
  }

  // 偶数行 2、4、6、8…
  .even-row {
    background-color: #edf0f5 !important;
  }

  // 鼠标悬停
  .el-table__body tr:hover > td {
    background-color: #e8f4ff !important;
  }

  // 表头
  .el-table__header-wrapper {
    th {
      background-color: #f0f2f5 !important;
      color: #333;
      font-weight: 600;
      text-align: center;
      border-color: #ebeef5;
    }
  }

  // 表格主体单元格
  .el-table__body-wrapper {
    td {
      border-color: #ebeef5;
      padding: 8px 0;
    }
  }
}
// ==========================表格双色条纹样式 end ==========================
