.list-page_header {
  position: relative;
  display: flex;
  flex-direction: row;
  width: 100%;
  background-color: var(--bg-content);
  padding: var(--md) var(--lg);
  margin-bottom: var(--sm);
  &.no-search-bar {
    min-height: 0;
    height: 0;
    padding: 0;
  }

}

.search-form-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  .search-form-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
  }
  .search-type {
    color: #4b4b4b;
    margin-left: 16px;
    font-size: 14px;
    cursor: pointer;
    &:hover {
      color: #36a4ff;
    }
  }
  .search-btns-box {
    display: flex;
    align-items: center;
    .hl-button {
      min-width: 80px;
      &.is-disabled {
        background: linear-gradient(90deg, #7AC1FF, #36a4ff);
        color: #fff;
        cursor: pointer;
        &:hover {
          background: linear-gradient(90deg, #8FCBFF, #4FAFFF);
        }
      }
    }
  }
  .search-btns-box-1 {
    display: flex;
    align-items: center;
    justify-content: center;
    .hl-button {
      min-width: 80px;
    }
  }
  .search-btns-box-2 {
    position: absolute;
    right: 0;
    top: 20px;
    .hl-button {
      min-width: 80px;
    }
  }
}

.search-form-field {
  padding-bottom: 16px;
  margin-right: 24px;
  display: inline-block;

  &.c-form-item {
    margin-bottom: 0;
  }

  .hl-row > * {
    width: auto;
  }
  .form-content {
    margin-left: 16px;
  }
  .form-content .hl-input {
    width: 296px;
  }
}
.search-form-field-1 {
  display: inline-block;
  margin-right: 24px;
  .hl-input {
    width: 400px;
  }
}
.reset-btn {
  margin-right: 16px;
  &.simple {
    margin-left: 16px;
  }
}

.list-page_content {
  position: relative;
  box-sizing: border-box;
}
.content-header {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 80px;
  .content-header_middle_wrap {
    flex: 1;
    padding: 0 24px;
  }
  .content-header_left_wrap {
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
}

.search-page-tag_wrap {
  display: inline-block;
  .search-tag {
    display: inline-flex;
    align-items: center;
    position: relative;
    height: 32px;
    background: #F1F3F8;
    border-radius: 2px;
    border: 1px solid #E7E7E7;
    padding: 0 49px 0 16px;
    margin-right: 8px;
    transition: all 0.2s ease;
    .white-line {
      position: absolute;
      top: 10px;
      right: 32px;
      width: 1px;
      height: 12px;
      background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, #ffffff 51%, rgba(255, 255, 255, 0.3) 100%);
    }
    .tag-close {
      position: absolute;
      top: 50%;
      right: 8px;
      width: 14px;
      height: 14px;
      transform: translateY(-50%);
      cursor: pointer;
      .icon-system {
        --stroke-width: 2;
        --fill-opacity: 0;
      }
    }

    &:hover {
      color: #36a4ff;
      background: #d7edff;
      border-radius: 2px;
      border: none;
      border: 1px solid #d7edff;
    }
  }
  .clear-all {
    display: inline-block;
    color: #8a8a8a;
    font-size: 14px;
    &:hover {
      cursor: pointer;
      color: #36a4ff;
    }
  }
  .clear-all-bottom {
    height: 32px;
    line-height: 32px;
    margin-bottom: 12px;
  }
}
.search-page-tag_wrap-hide {
  height: 0;
  overflow: hidden;
}
.search-tag-all {
  margin-bottom: 8px;
}


.btn-more-action {
  position: relative;
  --button-height: calc(var(--xs) * 4);
  --button-padding-x: calc(var(--xs) * 1);
  --form-icon-size: var(--md);
  --button-bg-color: #EBF9FF;
  --button-font-color: #36A4FF;
  --button-border-color: #EBF9FF;
  --button-bg-color-hover: #74b3f8;
  --button-font-color-hover: #fff;
  --button-border-color-hover: #74b3f8;
  &.icon-left {
    justify-content: flex-start;
  }
  &.is-disabled {
    --button-font-color: #BDBDBD;
    --button-bg-color: #F1F3F8;
    --button-border-color: #E7E7E7;
  }
}

.fx-page-table-v2 {
  height: 100%;
  .toolbar-actions {
    position: absolute;
    right: var(--panel-header-padding);
    top: 50%;
    transform: translateY(-50%);
  }
  .table-page {
    .panel-header {
      position: relative;
      min-height: calc(var(--md) * 4);
      padding: 0 var(--lg);
      border-bottom: none;
    }

    .panel-body {
      .hl-simple-table {
        thead.fixed-top {
          &:before {
            border-color: #f9fafe;
          }
        }

        tbody {
          tr {
            td > div > .table-index {
              color: #BDBDBD;
            }

            &.empty-content {
              td {
                border-bottom: none;
              }
            }
          }
        }
      }
    }
    .panel-footer {
      padding: 0;
      position: relative;
      .footer-action {
        position: absolute;
        left: var(--lg);
        top: 14px;
        height: 100%;
      }
      .hl-pagination {
        --pagination-height: 28px;
        --pagination-pager-gap: 8px;
        padding: 14px var(--lg);
        box-shadow: 0 -2px 7px 0 rgba(0,0,0,.06);
        .hl-input {
          --input-height: var(--pagination-height);
        }
        .hl-input-select {
          .hl-input {
            input {
              font-weight: 500;
            }
          }
        }
        .hl-button:disabled {
          background-color: #fff;
          color: #EDEDED;
        }
        .hl-button.pagination-next {
          margin-left: -8px;
        }
        .hl-button.pagination-prev {
          margin-right: -8px;
        }
        .pager .number:not(.is-active) {
          border-radius: 2px;
          border: 1px solid #E7E7E7;
        }
      }
    }
  }
  .table-tabs {
    .tabs-wrap {
      margin-left: var(--lg);
    }
  }
  .table-toolbar {
    .toolbar-header {
      height: 64px;
    }
  }
}

.custom-date-range-picker-popper {
  min-width: calc(var(--lg) * 26);
}
