@import '../../../../themes/page.scss';
@import "../../../../themes/t.cell.scss";
@import "../../report-common.scss";
@import "../../../../themes/card.scss";

/* module/health/pages/scheme/scheme.wxss */
.scheme-container {
  background: linear-gradient(180deg, #E3EDFA 0%, #FFFFFF 100%);
  width: 100%;
  height: 100%;
  background-image: url('/module/health/assets/image/bg_interview@2x.png');
  background-repeat: no-repeat;
  background-position: inherit;
  background-size: cover;
}

.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.t-cell__note,
.t-cell__title {
  margin-left: 0px !important;
}

.date-text {
  display: flex;
  align-items: center;
}

.recuperate-btn {
  display: inline-block;
  padding: 9px 12px;
  background-color: #1d6ff6;
  color: white;
  border-radius: 4px;
  font-size: 14px;
  text-align: center;
}

.card-wrapper {
  --button-line-1: 10px;
}

.scheme {
  &__item {
    margin-top: 8px;

    &-title {
      font-size: 14px;
      text-align: center;
      // margin-bottom: 8px;
    }
  }

  &__title {
    font-size: 14px;
    font-weight: 600;
    // color: #34A76B;
    color: #1d6ff6;
    width: 55%;
    text-align: right;
  }

  &__description {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 6px 0;
  }
}



.scheme-wrapper {
  image {
    height: 90px;
  }





  &+.scheme-wrapper {
    margin-top: 12px;
  }

  color: #D7D9DA;

  .name {
    text-align: center;
    font-size: 15px;
    // color: #34A76B;
    color: #1d6ff6;
  }

  .description {
    margin: 4px 0;
    font-size: 14px;
  }

  .media-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0 -1%;

    .media {
      flex: none;
      width: 31%;
      margin: 0 1%;

      image,
      video {
        width: 100%;
        height: 100px;
      }
    }
  }
}

.buy-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 55%;
  text-align: right;
}

.buy-container {
  display: flex;
  width: 100%;
  position: relative;
  height: 100rpx;
}

.buy-box {
  border: 1px solid #1d6ff6;
  color: #1d6ff6;
  border-radius: 4px;
  font-size: 14px;
  position: absolute;
  right: 0;
  width: 25%;
  height: 33px;
  line-height: 33px;
  text-align: center;
}

.qr-code-popup {
  width: 80vw;
  max-width: 600rpx;
  background: #fff;
  border-radius: 16rpx;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;

  &__title {
    width: 100%;
    padding: 40rpx 0 20rpx;
    text-align: center;
    font-size: 32rpx;
    font-weight: 600;
    color: #333;
  }

  &__content {
    width: 100%;
    padding: 0 40rpx;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  &__footer {
    width: 100%;
    padding: 30rpx 40rpx 40rpx;
    display: flex;
    justify-content: center;
  }

  &__btn {
    width: 200rpx;
    height: 80rpx;
    line-height: 80rpx;
    text-align: center;
    background: #1d6ff6;
    color: #fff;
    border-radius: 8rpx;
    font-size: 28rpx;
  }
}

.qr-code-image {
  width: 100%;
  max-width: 500rpx;
  height: 500rpx;
}

// 底部去购买按钮
.scheme-bottom-buy-btn {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  min-height: 98rpx;
  // background: linear-gradient(90deg, #1d6ff6 0%, #4a90ff 100%);
  background: white;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  z-index: 100;
  box-shadow: 0 -4rpx 20rpx rgba(29, 111, 246, 0.2);
  box-sizing: border-box;
  padding-top: 24rpx;
  padding-right: 32rpx;
  
  .buy-btn-text {
    color: #ffffff;
    font-size: 30rpx;
    letter-spacing: 2rpx;
    line-height: 1.2;
    text-align: center;
    background: #1d6ff6;
    padding: 10px 30px;
    border-radius: 5px;
  }
}

// 底部占位，避免内容被按钮遮盖（98rpx按钮高度 + 安全区域）
.scheme-bottom-placeholder {
  height: 150rpx;
  width: 100%;
  box-sizing: border-box;
}