.mi-interval-table {
  width: 100%;
  margin-top: 16px;

  .ant-table {
    border-radius: 8px;
  }
  .ant-table-cell-with-append .ant-table-row-expand-icon {
    left: 16px !important;
    color: #9aa1a9;
    border: 1px solid #9aa1a9;
  }
  .ant-table-row-expand-icon::before {
    height: 1.4px !important;
  }
  .ant-table-row-expand-icon::after {
    width: 1.4px !important;
  }
  .ant-table-cell {
    height: 50px;
    padding: 0 16px !important;
  }

  .ant-pagination {
    margin-top: 24px !important;
  }

  .ant-table-tbody > tr > td {
    border-bottom: 0.1px solid #e6e7ea;
  }

  .ant-table .ant-table-container .ant-table-thead > tr > th {
    background-color: #f2f3f4 !important;
  }

  &-table-header {
    display: flex;
    justify-content: space-between;
    height: 50px;
    padding: 0 16px;
    line-height: 50px;
    background: #fafafb;
    border: 1px solid var(--gray-6, #ecedf0);
    border-bottom: none;
    border-radius: 8px 8px 0 0;

    > :nth-child(2) {
      display: flex;
      margin-top: 9px;
      div {
        display: flex;
        align-items: center;
        height: 32px;
        padding: 0 16px;
        line-height: 32px;
        background: #fff;
        border: 1px solid #f2f3f4;
        border-radius: 4px;
        cursor: pointer;
        .xiazai1 {
          margin-right: 4px;
          font-size: 16px !important;
        }
      }
      div:hover {
        color: #165dff;
        border: 1px solid #165dff;
      }
    }
  }

  .ant-table {
    border-radius: 0 0 8px 8px;
  }

  .ant-table-cell-with-append {
    padding-left: 20px;

    .ant-table-row-expand-icon {
      position: absolute;
      left: 0;
      margin-top: 0;
    }
  }
}

.event-table-sql-modal {
  .ant-modal-header {
    position: relative;
    z-index: 1;
    height: 82px;
    background: transparent;
  }

  .ant-modal-body {
    padding: 0 24px 18px 24px;
  }

  .ant-modal-close-x {
    margin-top: 13px;
    margin-right: 8px;
  }

  img {
    width: 100%;
  }

  .qingchu {
    font-weight: 500;
    font-size: 22px !important;
  }

  .modal-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
  }

  .hljs {
    padding: 16px;
    background: #fafafb;
  }

  .copy-box {
    position: absolute;
    top: 98px;
    right: 40px;
    padding: 0 8px;
    background: #f2f3f4;
    border-radius: 4px;

    .fuzhi1 {
      margin-right: 8px;
    }
  }
}
