@import "../../../style/variables.less";

.@{prefix}-stuff-selection-custom-modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.@{prefix}-stuff-selection-modal-body {
  display: flex;
  justify-content: center;

  .stuff-box {
    display: flex;
    align-items: center;
    & > label {
      flex: 1;
      & > span:nth-child(1) {
        flex: none;
      }
      & > span:nth-child(2) {
        flex: 1;
      }
    }
  }

  .selection-box {
    position: relative;
    border-radius: 5px;
    width: 355px;
    height: 420px;
    overflow: hidden;
    .selection-box-title {
      position: relative;
      width: 100%;
      height: 46px;
      font-size: 14px;
      color: #555555;
      overflow: hidden;
      border-bottom: 3px solid #ebebeb;
    }
    .selection-box-body {
      position: relative;
      padding: 15px 12px;
      height: 380px;

      .ant-input-affix-wrapper-grey input {
        background-color: #f7f7f7;
        padding-left: 10px;
      }

      .selection-content {
        height: calc(100% - 24px);
        overflow: auto;
        .loader-color {
          background-color: #ffffff;
        }
      }
      .selection-smaller-content {
        height: 80%;
        overflow: auto;
      }
      .load-more-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;

        .load-more-btn {
          display: flex;
          align-items: center;
          justify-content: center;
          width: 120px;
          color: @maycur-color;
          cursor: pointer;
        }
      }
    }
    .selection-box-right-body {
      padding: 15px 6px;
      height: 400px;
      .selection-content {
        height: calc(100% - 12px);
        overflow: auto;
      }
    }

    .ant-tabs-tab {
      padding: 12px 0;
    }
    // .ant-tabs-nav-container,.ant-tabs-nav-wrap,.ant-tabs-nav-scroll{
    //     overflow: initial;
    // }
    .ant-tabs-bar {
      border-bottom: 3px solid #ebebeb;
    }
    .ant-tabs-ink-bar {
      bottom: 0;
      height: 3px;
    }
    .ant-radio-wrapper .ant-radio {
      margin-top: 0;
    }
  }

  .middle-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
  }

  .checkall-box {
    padding: 6px 0;
    margin: 1px 0;

    .checkall-text {
      color: @maycur-color;
      padding: 0 6px;
    }
  }

  .no-data {
    color: #bcbcbc;
    font-size: 13px;
    padding-top: 10px;
    text-align: center;
  }

  .basket-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 3px solid #ebebeb;
    .basket-title {
      text-align: left;
    }

    .basket-clear {
      text-align: right;
      color: @maycur-color;
      cursor: pointer;
    }

    .number {
      color: @maycur-color;
      margin-right: 5px;
    }
  }

  .footer-box {
    width: 100%;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    border-top: 1px solid #e1e1e1;
  }

  .right-item,
  .left-item {
    display: flex;
    margin: 1px 0;
    width: 100%;
    padding: 6px 6px;
    cursor: pointer;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;

    .name-wrapper {
      display: flex;
      flex: 1;
      align-items: center;
      overflow: hidden;
    }

    .name {
      margin: 0 5px;
      display: inline-block;
      width: 220px;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    }

    .tag-item {
      flex: none;
      background: @maycur-color-hover;
      border-color: @maycur-color-hover;
      color: @maycur-color;
      padding: 0px 5px;
      font-size: 12px;
    }

    .fm-paper {
      color: @maycur-color;
      font-size: 14px;
      margin-top: 2px;
    }

    .delete-btn {
      padding: 0 10px;

      &:hover {
        color: @icon-fee-red-light;
      }
    }

    &:hover {
      background-color: @lighter-background;
      .delete-btn {
        visibility: visible;
      }
    }
  }
}
