@ant-prefix: ly;
@primary-color: "#386CF6";

.kx_antd_form_item {
  margin: 0;
  padding: 20px;
  background: #fff;
}

.kx_antd_input,
.kx_antd_input_number,
.kx_antd_input_password,
.kx_antd_rangepicker,
.kx_antd_datepicker {
  width: 100%;
  max-width: 334px;
  border: 1px solid #eaeff7;
  border-radius: 2px;
}

.kx_antd_input[disabled] {
  border-color: #eaeff7;
}

.kx_antd_select {
  width: 100%;
  max-width: 334px;
}

.kx_antd_select .@{ant-prefix}-select-selector {
  border: 1px solid #eaeff7 !important;
}

.kx_antd_input_group {
  display: flex;
  width: 100%;
  max-width: 334px;
  height: 32px;
  background: #fff;
  border-radius: 2px;
}

.kx_antd_textarea {
  width: 334px;
  background: #ffffff;
  border: 1px solid #eaeff7;
  border-radius: 2px;
}

.kx_group_header {
  height: 56px;
  padding-left: 21px;
  color: #324458;
  font-weight: 500;
  font-size: 16px;
  font-family: PingFang SC;
  line-height: 56px;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.kx_group_body .kx_antd_form_item {
  padding: 10px 20px;
}

#SearcFormWapper .kx_antd_form_item {
  padding-top: 0px;
  padding-bottom: 0px;
  padding-left: 0;
}

#SearcFormWapper {

  .kx_antd_select,
  .kx_antd_input,
  .kx_antd_input_number,
  .kx_antd_input_password,
  .kx_antd_rangepicker,
  .kx_antd_datepicker {
    max-width: none;
  }
}

.flex {
  display: flex;

  .flex1 {
    flex: 1;
  }
}

.phoneIsError {
  height: 20px;
  margin-top: 5px;
  color: #da4244;
  font-weight: 400;
  font-size: 14px;
  font-family: PingFang SC;
  line-height: 20px;
}

.kx_code {
  height: 44px;
  border: 1px solid #eaeff7;

  &.error {
    border-color: #da4244;
  }

  .kx_code_btn {
    height: 32px;
    padding: 0 10px;
    color: #386cf6;
    font-weight: 400;
    font-size: 14px;
    font-family: PingFang SC;
    line-height: 32px;
    text-align: center;
    background-color: rgba(56, 108, 246, 0.1);
    border: none;
    border-radius: 2px;
    outline: none;
  }

  &:focus {
    border-color: #eaeff7;
    box-shadow: none;
  }
}

.kx_iconselect_btn {
  position: absolute;
  top: -3px;
  left: -5px;
  width: calc(100% + 10px);
  height: 40px;
  background: transparent;
}

.kx_iconselect {
  width: 100%;
  height: 66px;
  overflow-x: auto;
  background: #ffffff;
  border-radius: 2px;
  box-shadow: 0px 2px 8px rgba(200, 201, 204, 0.5);
  opacity: 1;

  .kx_icon_wapper {
    display: flex;
  }

  .iconfont {
    padding: 0 20px;
    font-size: 26px;
    line-height: 66px;
    cursor: pointer;

    &:hover {
      color: @primary-color;
    }
  }
}

.kx_table_img {
  width: 30px;
}

.kx_tabs_box {
  overflow: hidden;
  border-bottom: 1px solid #EAEFF7;

  :global {
    .@{ant-prefix}-tabs {
      height: 100%;
      padding: 0 10px;
    }

    .@{ant-prefix}-tabs-nav {
      margin: 0;
      height: 100%;

      &::before {
        display: none;
      }
    }
  }
}

.kx_table_Wapper {
  :global {
    .@{ant-prefix}-table-thead .@{ant-prefix}-table-cell {
      height: 56px;
      background: #F5F7FA;
      font-size: 14px;
      font-family: PingFang SC;
      font-weight: 500;
      color: rgba(50, 68, 88, 0.8);

      &::before {
        display: none;
      }
    }

    .@{ant-prefix}-table-footer {
      padding: 0;
      background: #fff;
    }

    .@{ant-prefix}-table-tbody .@{ant-prefix}-table-placeholder {
      display: none !important;
    }
  }
}

.@{ant-prefix}-form-item {
  margin: 0 0 20px;
}

.DoubleUploadImg {
  .@{ant-prefix}-form-item-control-input-content {
    span {
      display: block;
      line-height: 0;
    }
  }

  .@{ant-prefix}-form-item-explain-connected {
    display: flex;
  }
}

.kx_UploadImg {
  .@{ant-prefix}-form-item-control-input-content {
    span {
      display: block;
      line-height: 0;
    }
  }
}

.@{ant-prefix}-image {
  &.preview_img {
    display: none;
  }
}