.kts-invoice-operate-goods-list {

  .kts-invoice-operate-goods-list-table-tax-rate {
    .ktsAnt3x-select-selection-selected-value {
      float: right;
    }
  }

  .kts-invoice-operate-goods-list-able {
    display      : flex;
    padding      : 10px;
    border-bottom: 1px solid #dcdcdc;
  }

  .kts-invoice-operate-goods-list-able-list {
    flex         : 1;
    display      : flex;
    gap          : 10px;
    padding-right: 10px;

    button {
      padding-left : 10px;
      padding-right: 10px;
      border-radius: 12px;
      color        : #0074ff;
      border       : 1px solid #0074ff;
      height       : 24px;
      line-height  : 22px;
      cursor       : pointer;
      font-size    : 12px;
    }

    button[disabled] {
      color : rgba(0, 0, 0, 0.25);
      border: 1px solid;
    }
  }

  .kts-invoice-operate-goods-list-able-extend {
    flex   : none;
    display: flex;
    gap    : 5px;
  }

  .ktsAntX-table {

    .ktsAntX-table-row.kts-invoice-operate-goods-be-discount .ktsAntX-table-cell,
    .ktsAntX-table-row.kts-invoice-operate-goods-discount .ktsAntX-table-cell {
      background: #f5f5f5;
    }
  }
}

.kts-invoice-operate-goods-list-table.kts-invoice-operate-prefab {
  .ktsAnt3x-table-row {
    color     : rgba(0, 0, 0, 0.25);
    background: #f5f5f5;
  }
}

// .kts-invoice-operate-goods-list-table {
//   border-bottom: 1px solid #dcdcdc;

//   .kts-invoice-operate-goods-be-discount,
//   .kts-invoice-operate-goods-discount {
//     background: #f5f5f5;
//   }

//   .kts-invoice-operate-goods-be-discount{
//     color: #D9001B;
//   }

//   .kts-invoice-operate-goods-list-able-list-itemName-import {
//     display: flex;

//     .ktsAnt3x-btn {
//       display      : block;
//       line-height  : 0;
//       width        : auto;
//       padding-right: 5px;
//     }
//   }

//   .ktsAnt3x-form-item-children {
//     height : 30px;
//     display: block;
//   }

//   .ktsAnt3x-table-body {
//     height: 263px;
//   }

//   .ktsAnt3x-form-explain {
//     position: absolute;
//     right   : 6px;
//     top     : 6px;
//   }

//   table {
//     border-bottom: 1px solid #d9d9d9 !important;
//   }

//   table>.ktsAnt3x-table-tbody>tr>td {
//     padding: 0 !important;

//     .ktsAnt3x-form-explain {
//       display: none;
//     }

//     .ktsAnt3x-form-item {
//       padding: 0;
//       margin : 0;

//       .ktsAnt3x-form-item-control {
//         line-height: inherit;
//       }
//     }

//     .has-error .ktsAnt3x-select-selection,
//     .has-error .ktsAnt3x-input,
//     .has-error .ktsAnt3x-input:hover {
//       border-right-width : 1px !important;
//       border-top-width   : 1px;
//       border-left-width  : 1px;
//       border-bottom-width: 1px;
//     }

//     .ktsAnt3x-select-selection--single,
//     .ktsAnt3x-select-auto-complete.ktsAnt3x-select .ktsAnt3x-input:hover,
//     .ktsAnt3x-input {
//       height             : 30px;
//       border-radius      : 0;
//       border-right-width : 0 !important;
//       border-top-width   : 0;
//       border-left-width  : 0;
//       border-bottom-width: 0;
//       box-shadow         : none;
//     }
//   }
// }

.kts-invoice-operate-goods-list-table-search-protrude {
  background : #ff0;
  color      : #000;
  font-weight: bold;
}

.kts-invoice-operate-goods-table-virtual .ktsAntX-table .ktsAntX-table-tbody {
  .ktsAnt3x-form-item {
    margin: 0;
  }

  .ktsAnt3x-form-item-control {
    line-height: 1;
  }

  .ktsAnt3x-input:focus {
    box-shadow: none;
  }

  .ktsAnt3x-input,
  .ktsAnt3x-select-selection--single {
    border       : none;
    border-radius: 0;
  }

  .ktsAnt3x-form-explain {
    display: none;
  }

  .ktsAntX-checkbox-wrapper .ktsAntX-checkbox-checked .ktsAntX-checkbox-inner::after {
    width : 5px;
    height: 10px;
  }
}

.kts-invoice-operate-goods-list-table {
  .ktsAntX-table-row-indent+.ktsAntX-table-row-expand-icon {
    display: none;
  }

  .ktsAnt3x-form-item-control.has-error {
    border: 1px solid #f00;
  }

}