.member-center {
  background: url('./images/bg.png') top center no-repeat;
  background-size: contain;
  min-height: 100vh;
  position: relative;

  :global {
    .van-nav-bar {
      background-color: transparent;
    }
  }

  .member_container {
    padding: 0 5px;

    // .title {
    //   display: flex;
    //   align-items: center;
    //   font-size: 16px;
    //   line-height: 28px;
    //   font-weight: 500;
    //   color: #333333;

    //   &::before {
    //     content: ' ';
    //     width: 4px;
    //     height: 17px;
    //     background: var(--van-primary-color);
    //     display: inline-block;
    //     margin-right: 7px;
    //     border-radius: 8px;
    //   }
    // }
  }


  .level {
    width: 18px;
    height: 16px;
  }

  .userMember {
    width: auto;
    border-radius: 19px;
    background-color: transparent;

    .userImgSection {
      border: 2px solid #fff;
      background-color: transparent;
      margin-right: 12px;
      border-radius: 50%;
    }

    .userImg {
      width: 52px;
      height: 52px;
      border-radius: 50%;
      vertical-align: middle;
      overflow: hidden;
    }

    .userInfo {
      display: flex;
      align-items: center;
      color: #1E464F;
      padding-bottom: 5px;

      .name {
        font-size: 18px;
        padding-right: 5px;
        max-width: 100px;
        font-weight: bold;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

      .phone {
        font-size: 14px;
      }
    }

    .timeRemaining {
      margin-top: 0;
      font-size: 14px;
      color: #c0c0c0;

      .remaining {
        color: #FF5A56;
        padding: 0 5px;
      }
    }

    .member_time {
      display: flex;
      align-items: center;
      justify-content: space-between;
      color: #1E464F;
    }
  }

  .memberImgs {
    padding-top: 10px;

    img {
      margin-bottom: 6px;
      width: 100%;
    }
  }

  .memberContainer {
    position: relative;
    padding: 0 14px 75px;
    z-index: 99;
  }

  .memberItem {
    display: flex;
    flex-direction: column;
    min-height: 131px;
    box-sizing: border-box;
    border-radius: 12px;
    background: url('./images/vip_bg.png') no-repeat center;
    background-size: cover;

    .title {
      padding: 25px 17px 0;
      font-size: 14px;
      color: #FFFFFF;

      span {
        margin-left: 6px;
        background: rgba(255, 255, 255, 0.73);
        border-radius: 4px;
        font-size: 12px;
        font-weight: 600;
        color: #1F82ED;
        line-height: 18px;
        padding: 1px 3px;
      }
    }

    .priceGroup {
      display: flex;
      align-items: baseline;
      padding: 25px 12px 9px;
    }

    .price {
      font-size: 30px;
      font-weight: 500;
      color: #fff;
      font-family: DINAlternate-Bold, DINAlternate;

      span {
        font-size: 22px;
      }
    }

    .originalPrice {
      margin-left: 8px;
      font-size: 14px;
      color: #fff !important;
      font-family: DINAlternate-Bold, DINAlternate;
      line-height: 16px;
      font-weight: 300;
    }
  }


  .memberGift {
    border-radius: 12px;
    background: url('./images/vip_bg2.png') no-repeat center;
    background-size: cover;
    min-height: 161px;
  }

  .giftCell {
    margin-top: 16px;
    padding: 0 19px;
    background-color: transparent;

    .gift {
      display: flex;
      align-items: center;
      font-size: 12px;
      font-weight: 600;
      color: #FFFFFF;
      height: 34px;

      span {
        font-size: 15px;
        color: #FFFC89;
        padding: 0 5px;
      }
    }

    .iconGift {
      margin-right: 4px;
      width: 18px;
      height: 18px;
    }
  }


  .btnGroup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: #fff;
    display: flex;
    align-items: center;
    padding: 12px 16px;
    justify-content: space-between;
    border-top: 1px solid #f0f0f0;

    .btn {
      line-height: 38px;
      height: 38px;
      background: linear-gradient(220deg, #F5CBAB 0%, #FFCFC0 100%);
      padding: 0 17px;
      font-size: 16px;
      color: #772A27;
      border: none;
    }

    .priceSection {
      display: flex;
      align-items: center;
      font-size: 16px;
      color: #772a27;

      .price {
        font-size: 18px;
        font-weight: bold;
        color: #ff3535;
        font-family: DINAlternate-Bold, DINAlternate;

        .priceUnit {
          font-size: 14px;
        }
      }
    }

    .allPrice {
      display: inline-block;
      padding-left: 8px;
      font-size: 14px;
      font-family: DINAlternate-Bold, DINAlternate;
      font-weight: bold;
      color: #8C6142;
      line-height: 16px;
      opacity: 0.5;
    }
  }
}

.memberDiscount {
  margin-top: 16px;
  position: relative;
  background: url('./images/discount_bg.png') no-repeat center;
  background-size: contain;
  display: flex;
  align-items: center;
  height: 44px;
  font-size: 16px;
  color: #ff7100;
  line-height: 18px;

  .discountAvatar {
    margin-left: 15px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid #ffaf59;
  }

  .discountName {
    padding-left: 30px;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .discountGift {
    position: absolute;
    right: 26px;
    top: 7px;
    width: 29px;
    height: 29px;
  }
}