//表格样式
.tableWrapper {
  background: #fff;

  .titleWrapper {
    display: flex;
    align-items: center;

    & > span:first-child {
      flex: 1;
      display: inline-block;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    & > span.titleIcon {
      margin-left: 4px;
      display: none;

      & > span {
        cursor: pointer;
        color: #5d9cec;
      }

    }
  }

  .contentSpan {
    display: flex;
    justify-content: space-between;
    align-items: center;

    .contentTitle {
      flex: 1;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      word-break: keep-all;
    }

    :global {
      span.anticon {
        color: #5d9cec;
        cursor: pointer;
      }

      span.anticon-lock {
        margin-left: 4px;
      }
    }
  }

  .titleWrapper:hover {
    & > span.titleIcon {
      display: block;
    }
  }

  .optWrapper {
    .mr10 {
      margin-right: 10px;
    }
  }

  .customSpan {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;

    span.title {
      flex: 1;
      margin-right: 4px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    :global {
      .ant-tag {
        margin-right: 0;
      }
    }
  }

  .danger {
    font-size: 12px;
    color: rgb(217, 0, 27)
  }

  .expand-th:hover {
    .toogle-lock-tool {
      display: flex;
    }
  }

  th.td_odd {
    background: #fffaf0 !important;
  }

  .expand-th {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;

    .title-text {
      flex: 1;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      cursor: pointer;
    }

    .toogle-lock-tool {
      display: none;
      overflow: hidden;
      height: 100%;
      justify-content: center;
      align-items: center;

      & > :not(:last-child) {
        margin-right: 4px;
      }

      :global {
        .anticon {
          color: #5d9cec;
          cursor: pointer;
          font-size: 14px;
        }
      }
    }
  }

  .explain-icon-area {
    display: flex;
    justify-content: flex-start;
    align-items: center;

    .icon-item {
      display: flex;
      align-items: center;
      margin-right: 12px;
      color: #5d9cec;
      font-size: 12px;

      :global {
        .anticon {
          font-size: 12px;
          margin-right: 4px;
        }
      }
    }
  }

  .comparison-column-item-container {
    cursor: pointer;

    .comparison-single-row {
      margin: 4px 0;
    }

    .danger {
      color: #ff4d4f;
    }
  }

  tr:hover .editable-cell {
    padding: 4px 11px;
    border: 1px solid #d9d9d9;
    border-radius: 2px;
  }

  :global {
    .ant-btn-link {
      height: inherit !important;
    }

    .ant-btn-link, .ant-dropdown-trigger {
      padding: 0;
      font-size: 12px;
      color: #333;
    }

    .ant-btn-link:hover {
      color: #00a9ff;

      span {
        text-decoration: underline;
      }
    }

    .ant-table-tbody > tr.ant-table-row:hover > td {
      background: #e9f7ff;
    }

    .anticon-more {
      font-size: 16px;
      cursor: pointer;
    }

    .ant-spin-container {
      .ant-pagination {
        font-size: 12px;
        align-items: center;
        margin-right: 8px;

        .ant-pagination-item, .ant-pagination-prev, .ant-pagination-next {
          min-width: 28px;
          height: 28px;
          line-height: 28px;
          border-radius: 6px;

          & > button {
            border-radius: 6px;
          }
        }

        .ant-pagination-item-active {
          background: var(--ant-primary-color);
          border: none;

          & > a {
            color: #FFF;
          }
        }

        .ant-pagination-options {
          .ant-select {
            font-size: 12px;

            .ant-select-selector {
              height: 28px;
              border-radius: 6px;

              .ant-select-selection-search-input {
                height: 26px;
                line-height: 26px;
              }

              .ant-select-selection-item {
                line-height: 26px;
              }
            }

            .ant-select-item {
              font-size: 12px;
            }
          }

          .ant-pagination-options-quick-jumper {
            height: 28px;
            line-height: 28px;

            & > input {
              border-radius: 6px;
              height: 28px;
            }
          }
        }
      }
    }

    .ant-table-thead > tr > th {
      background-color: #f7fbfe;
    }

    th, td {
      font-size: 12px;

      .ant-form-item {
        margin-bottom: 0;

        .ant-input-number {
          width: 100%;
        }
      }
    }
  }
}

.moreIconWrapper {
  :global {
    .ant-btn-link {
      font-size: 12px;
      color: #333;
    }

    .ant-btn-link:hover {
      color: #00a9ff;

      span {
        text-decoration: underline;
      }
    }

    .ant-dropdown-menu-title-content {
      a {
        font-size: 12px;
        color: #333;
      }

      a:hover {
        color: #00a9ff;
        text-decoration: underline;
      }
    }

    .ant-popover-inner {
      min-width: 106px
    }

    .ant-popover-inner-content {
      padding: 0;

    }
  }
}

:global {
  .ant-dropdown-placement-bottomRight {
    .ant-dropdown-menu {
      max-height: inherit !important;
    }
  }

  .ant-dropdown-menu-item {
    font-size: 12px;
    color: #333;
  }

  .rankMapWrapper {
    .ant-table-thead > tr > th {
      background: #ED7D31;
    }
  }

  .bg_1_Cols {
    background: #ED7D31 !important;
  }

  th.bg_1_Cols {
    height: 48px;
    line-height: 48px;
  }

  .bg_2_Cols {
    background: #DEE0E3 !important;
  }
}

