@import '~@zgfe/business-lib/es/assets/styles/inner.less';

.data-fusion {
  padding: 24px;
  background: #fff;
  border-radius: 8px;

  &-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 32px;
    margin-bottom: 16px;

    &-search {
      display: flex;
      gap: 12px;
      align-items: center;

      &-txt {
        display: flex;
        color: @text-color-secondary;
      }

      &-num {
        margin: 0 4px;
        color: @primary-color;
      }

      .ant-input-affix-wrapper {
        width: 264px;
      }

      .biz-select-handle-input {
        width: 168px;
      }
    }
    .ant-btn {
      .bsicon {
        margin-right: 8px;
        font-weight: bold;
        line-height: 1;
      }
    }
  }

  &-state {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: @margin-xs;
    vertical-align: inherit;
    border-radius: 100%;
    &.fail {
      background: @error-color;
    }
    &.success {
      background: @success-color;
    }
    &.running {
      background: @primary-color;
    }
  }
  &-btn-update.disable {
    .__disable();
    background: none;
  }

  &-options {
    display: flex;
    gap: 16px;
    align-items: center;

    .disabled {
      color: @disabled-color;
      cursor: not-allowed;
    }
  }
  &-table-field {
    display: flex;
    gap: 8px;
    align-items: center;
    &-text {
      max-width: calc(100% - 8px);
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    }
    .bsicon {
      color: #fd9f41;
      font-size: 16px !important;
      line-height: 1;
    }
  }
  &-table-title {
    .biz-select-handle {
      width: calc(100% + 20px);
      margin-left: -10px;
    }
  }
}
