.member-center {
  background-color: #ffe5cc;
  min-height: 100vh;
  position: relative;

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

  .member_container {
    padding: 10px 14px 0;
    .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 {
    background: url('./images/member_bg.png') no-repeat center #534754;
    background-size: cover;
    width: auto;
    border-radius: 10px;
    padding: 20px 12px 30px;
    .userImgSection {
      padding: 2px;
      border: 1px solid #feecd2;
      background-color: transparent;
      margin-right: 12px;
      border-radius: 50%;
    }
    .userImg {
      width: 46px;
      height: 46px;
      border-radius: 50%;
      vertical-align: middle;
      overflow: hidden;
    }
    .userInfo {
      display: flex;
      align-items: center;
      color: #fff;
      padding-bottom: 5px;
      .name {
        font-size: 18px;
        padding-right: 5px;
        max-width: 100px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
      .phone {
        font-size: 14px;
      }
    }
    .timeRemaining {
      margin-top: 0;
      font-size: 14px;
      color: #c0c0c0;
      .remaining {
        color: #f7b500;
        padding: 0 5px;
      }
    }
    .member_time {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
  }

  .intro {
    background: url('./images/tip_bg.png') no-repeat center;
    background-size: contain;
    height: 142px;
    font-size: 14px;
    color: #bb6e3a;
    p {
      padding: 45px 25px 0;
      text-align: justify;
      line-height: 22px;
    }
  }

  .memberContainer {
    // height: calc(100vh - 196px);
    // overflow-y: auto;
    background-color: #fff;
    border-radius: 18px 18px 0px 0px;
    position: relative;
    margin-top: -15px;
    padding: 0 14px 75px;
    z-index: 99;
  }
  .memberItem {
    padding-top: 20px;
    .title {
      font-size: 16px;
      color: #333333;
      font-weight: 500;
      span {
        color: #f7b500;
      }
    }
  }

  .member_function {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    .function_item__content {
      height: 100%;
    }
    .function_item {
      width: 80px;
      padding: 12px 0;
      margin-top: 8px;
      border-radius: 8px;
      overflow: hidden;
      background-color: #faefe3;
      text-align: center;
    }
    .function_text {
      font-size: 12px;
      color: #814014;
      line-height: 16px;
    }
  }
  .system-list::-webkit-scrollbar {
    display: none; /* Chrome Safari */
  }
  .system-list {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    display: flex;
    position: relative;
    user-select: none;
    box-sizing: content-box;
    padding-top: 16px;
    padding-bottom: 10px;
    margin-bottom: 10px;
  }
  .system-item {
    display: flex;
    flex-direction: column;
    // align-items: center;
    // justify-content: center;
    flex: 1 0 auto;
    // width: 96px;
    min-height: 120px;
    box-sizing: border-box;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    .title {
      font-weight: 500;
      font-size: 14px;
      color: #814014 !important;
      line-height: 20px;
      span {
        color: #814014 !important;
      }
      padding: 11px 0 9px;
      margin: 0 11px;
      // border-bottom: 1px solid #b1652e;
      &::after {
        border-color: rgba(177, 101, 46, 0.27);
      }
    }

    .priceGroup {
      display: flex;
      align-items: baseline;
      padding: 19px 12px 9px;
    }
    .price {
      font-size: 36px;
      font-weight: 500;
      color: #b1652e;
      span {
        font-size: 16px;
      }
    }
    .originalPrice {
      margin-left: 8px;
      font-size: 24px;
      color: #c59575 !important;
      line-height: 16px;
      font-weight: 300;
    }

    &.active {
      // background: linear-gradient(215deg, #ffe7c4 0%, rgba(250, 211, 156, 0.21) 100%);
      background: url('./images/vip_bg.png') no-repeat center center;
      background-size: cover;
      border: 1px solid #b1652e;
      position: relative;
      .title {
        color: #814014;
      }
      .price {
        color: #b1652e;
      }
      .originalPrice {
        color: #937059;
      }
      &::before {
        content: '\e728';
        font: 14px/1 'vant-icon';
        color: #fff;
        background-color: #b1652e;
        width: 27px;
        height: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: -1px;
        right: -1px;
        border-radius: 0 12px 0 12px;
      }
    }
  }

  .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 {
      padding: 0 22px;
      color: #7a3104 !important;
    }

    .priceSection {
      display: flex;
      align-items: center;
      font-size: 16px;
      color: #1a1a1a;
      .price {
        font-size: 18px;
        font-weight: bold;
        color: #ff3535;

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

.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;
  }
}
