.kts-invoice-operate-buyer {
  display: flex;

  .kts-invoice-operate-buyer-message {
    flex    : 1;
    display : flex;
    position: relative;

    .ktsAnt3x-descriptions-item-label {
      width: 179px;
    }

    .kts-invoice-operate-buyer-message-list {
      width: 100%;

      .ktsAnt3x-descriptions-view {
        border: none;
      }

      .ktsAnt3x-descriptions-item-label {
        padding         : 0 10px;
        font-size       : 12px;
        background-color: #fff;
        line-height     : 30px;
      }

      .ktsAnt3x-descriptions-item-content {
        padding: 0;

        .ktsAnt3x-input {
          box-shadow   : none;
          border-color : #fff;
          border-radius: 0;
          padding      : 0 10px;
          font-size    : 12px;
          line-height  : 30px;
          width        : 100%;
          height       : 100%;
        }

        .ktsAnt3x-input:hover {
          border            : 1 solid;
          border-color      : #40a9ff;
          border-right-width: 1px !important;
        }

        .has-error .ktsAnt3x-input,
        .has-error .ktsAnt3x-input:hover {
          background-color: #fff;
          border          : 1 solid;
          border-color    : #f5222d;
        }
      }

      .ktsAnt3x-form-item {
        margin: 0;
      }

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

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

        .ktsAnt3x-btn {
          line-height: 0;
        }
      }

      .ktsAnt3x-form-explain {
        position: absolute;
        left    : 5px;
        top     : 6px;
        z-index : 10;
      }
    }

    .kts-invoice-operate-buyer-message-Import {
      position: absolute;
      right   : 0px;
      top     : 0px;
      z-index : 10;
    }
  }

  .kts-invoice-operate-buyer-password {
    border-left: 1px solid #dcdcdc;
    display    : flex;
    flex       : none;
    width      : 458px;
  }

  .kts-invoice-operate-buyer-title {
    flex        : none;
    width       : 30px;
    height      : 100%;
    text-align  : center;
    border-right: 1px solid #dcdcdc;
    display     : table;
    padding     : 0 5px;

    label {
      display       : table-cell;
      vertical-align: middle;
    }
  }
}

.ktsAnt3x-popover.kts-invoice-operate-buyer-name-popover {
  padding-top: 0;

  .ktsAnt3x-popover-inner-content {
    padding       : 6px 0;
    display       : flex;
    flex-direction: column;
    overflow-y    : auto;
    overflow-x    : hidden;
  }

  .ktsAnt3x-popover-arrow {
    display: none;
  }

  .kts-invoice-operate-buyer-name-content {
    width: 567px;


    .kts-invoice-operate-buyer-name-content-block {
      padding: 14px 0;

      label {
        display  : block;
        font-size: 12px;
        color    : #666666;
      }
    }

    .kts-invoice-operate-buyer-name-content-recently-issued {
      padding: 0;
      margin : 0;

      li {
        list-style   : none;
        width        : 50%;
        float        : left;
        margin-bottom: 20px;
        padding      : 0 10px;
      }

      &::after {
        content   : ".";
        display   : block;
        height    : 0;
        clear     : left;
        visibility: hidden;
      }
    }

    .kts-invoice-operate-buyer-name-content-select-company {
      padding    : 0;
      margin     : 0;
      font-size  : 12px;
      padding    : 10px;
      font-weight: bold;
      color      : #000000;
      cursor     : pointer;
      transition : background .4s;

      &:hover {
        background: #e6e6e6e6;
      }

      &:last-child {
        margin-bottom: 0;
      }

      li {
        list-style   : none;
        width        : 50%;
        float        : left;
        text-overflow: ellipsis;
        white-space  : nowrap;
        overflow     : hidden;
        padding-right: 10px;
      }

      &::after {
        content   : ".";
        display   : block;
        height    : 0;
        clear     : left;
        visibility: hidden;
      }
    }
  }

  .kts-invoice-operate-buyer-name-content-tag {
    line-height  : 1;
    padding      : 4px 12px;
    background   : #F3F3F3;
    border-radius: 9999px;
    font-size    : 12px;
    font-weight  : bold;
    color        : #000;
    cursor       : pointer;
    transition   : background .4s;
    display      : inline-block;

    max-width    : 100%;
    text-overflow: ellipsis;
    white-space  : nowrap;
    overflow     : hidden;

    &:hover {
      background: #e6e6e6e6;
    }
  }
}