.packet-send-wrap{
  position: relative;
  z-index: 1015;
  vertical-align: middle;
  display: inline-block;
  .help-wrap{
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -139px;
    margin-top: -192px;
    width: 278px;
    height: 384px;
    background-color: #ffffff;
    .title{
      text-align: center;
      font-size: 14px;
      padding-top: 12px;
      margin-bottom: 14px;
      color: #333333;
    }
    .content{
      color: #999999;
      font-size: 14px;
      padding: 0 18px 18px; 
    }
    .item{
      line-height: 1.6;
      margin-bottom: 10px;
      text-align: left;
    }
  }
  .main-box{
    padding: 0 20px;
  }
  .send-wrap{
    display: inline-block;
    vertical-align: middle;
    width: 278px;
    // height: 384px;
    background-color: #ffffff;
    border: 2px solid #f55a3c;
    border-radius: 4px;
    padding: 0 0 14px;
    box-sizing: border-box;
    position: relative;
    &.is-private{
      .words{
        margin-top: 30px;
      }
    }
    .el-icon-question{
      position: absolute;
      top: 10px;
      left: 18px;
      color: #c9c9c9;
      font-size: 20px;
      font-weight: bold;
      cursor: pointer;
    }
    .title{
      text-align: center;
      font-size: 14px;
      color: #f55a3c;
      padding-top: 10px;
      margin-bottom: 8px;
    }
  }
  .input-item{
    height: 30px;
    line-height: 30px;
    background-color: #f2f2f2;
    color: #333333;
    font-size: 14px;
    padding: 0 8px;
    .packet-box{
      position: relative;
      margin-left: 64px;
      padding-right: 50px;
    }
    input{
      text-align: right;
      display: block;
      outline: none;
      border: none;
      background-color: transparent;
      box-sizing: border-box;
      margin-right: 4px;
      height: 30px;
      line-height: 30px;
      width: 100%;
      -webkit-appearance: none;
    }
    .text{
      width: 64px;
      float: left;
      text-align: left;
      em{
        width: 16px;
        height: 16px;
        line-height: 16px;
        font-size: 12px;
        vertical-align: middle;
        color: #ffffff;
        margin-right: 4px;
        display: inline-block;
        background-color: #e8b948;
        text-align: center;
      }
    }
    .unit{
      position: absolute;
      top: 0;
      right: 0;
      // display: inline-block;
      text-align: left;
      width: 45px;
      height: 30px;
      cursor: pointer;
      &:hover{
        .code-menu {
          display: block;
        }
      }
      .cur-unit{
        position: relative;
        @include ellipsis;
        &.has-arrow{
          padding-right: 12px;
          &:before{
            content: "";
            position: absolute;
            top: 12px;
            right: 0;
            margin-left: 2px;
            vertical-align: middle;
            @include triangle-down(5px, #000000);
          }
        }
      }
    }
    .code-menu{
      display: none;
      position: absolute;
      top: 30px;
      left: 0;
      right: 0;
      background-color: #ffffff;
      border: 1px solid #e1e1e1;
      border-radius: 2px;
      z-index: 2;
      .code-item{
        padding: 0 6px;
        text-align: center;
        line-height: 22px;
        font-size: 12px;
        color: #333333;
        border-bottom: 1px solid #e1e1e1;
        box-sizing: border-box;
        &:last-child{
          border-bottom: none;
        }
        &:hover{
          background-color: #e1e1e1;
        }
      }
      &::after{
        content: '';
        position: absolute;
        left: 50%;
        top: -6px;
        transform: translate(-50%, -50%);
        @include triangle-up(5px, #e1e1e1);
      }
    }
  }
  .pack-num-input{
    input{
      //width: 120px;
    }
    .unit{
      width: 45px;
    }
  }
  .input-tips{
    color: #666666;
    font-size: 12px;
    text-align: left;
    margin: 6px 0 14px;
    span{
      cursor: pointer;
      color: #4385e9;
    }
  }
  .group-user-num{
    font-size: 12px;
    color: #666666;
    text-align: left;
    margin: 6px 0 10px;
  }
  .words{
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    background-color: #f2f2f2;
    outline: none;
    border: none;
    resize: none;
  }
  .el-icon-close{
    position: absolute;
    top: 6px;
    right: 6px;
    color: #333333;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
  }
  .sum{
    font-size: 24px;
    color: #333333;
    text-align: center;
    margin: 14px 0 22px;
    span{
      font-size: 16px;
    }
  }
  .send-btn{
    display: block;
    width: 100%;
    background-color: #f55a3c;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: #fefefe;
    font-size: 14px;
    &:hover{
      background-color: #f33510;
    }
    &.is-disable{
      background-color: #fccdc4;
      cursor: not-allowed;
    }
    &.loading {
      background-color: #ef9381;
      pointer-events: none;
    }
  }
  .bot{
    margin-top: 10px;
    font-size: 12px;
    text-align: center;
    color: #999999;
  }
  .redpacket-tips{
    font-size: 12px;
    color: #f55a3c;
    text-align: center;
    background-color: #fce792;
    line-height: 18px;
    height: 18px;
    margin-bottom: 2px;
    &.hidden{
    visibility: hidden;
    }
  }

  input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{
    -webkit-appearance: none !important; 
    }/* chrome */
}

.h5-wrap{
  .packet-send-wrap{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #f2f2f2;
    &.pub-modal-mask{
      position: absolute;
      background: #f2f2f2;
    }
    .send-wrap{
      width: auto;
      background: transparent;
      border: 0;
      border-radius: 0;
      vertical-align: top;
      .title{
        display: none;
      }
    }
    .sum{
      margin: px2rem(156) 0 px2rem(86);
      font-size: px2rem(99);
      em{
        font-size: px2rem(33);
      }
    }
    .send-btn{
      width: auto;
      height: px2rem(102);
      padding: 0 px2rem(60);
      margin: 0 auto;
      border-radius: px2rem(18);
    }
    .words{
      background: #ffffff;
      border-radius: px2rem(12);
      font-size: px2rem(34);
    }
    .input-item{
      width: px2rem(654);
      height: px2rem(112);
      background: #ffffff;
      border-radius: px2rem(12);
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 px2rem(36);
      box-sizing: border-box;
      font-size: px2rem(34);
      .text{
        width: auto;
        white-space: nowrap;
      }
      em{
        display: none;
      }
      input{
        font-size: px2rem(34);
      }
    }
    .el-icon-question,.el-icon-close{
      display: none;
    }
    .bot{
      position: fixed;
      bottom: px2rem(24);
      width: 100%;
    }
  }
  .redpacket-backbar{
    &:after{
      display: none;
    }
  }
}

.mini-wrap{
  .redpacket-backbar{
    display: none;
  }
}