// 声明字体
@font-face {
  font-family: 'fz';
  src: url('https://factory-walk.feihe.com/farqbxzczytcami/images/fz.ttf') format('truetype');
}
@font-face {
  font-family: 'fz-bold';
  src: url('https://factory-walk.feihe.com/farqbxzczytcami/images/fz-bold.ttf') format('truetype');
}

.subscribe {
  width: 100%;
  height: auto;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top;
  background-color: #fff;
  box-sizing: border-box;
  padding: 30rpx;
  padding-bottom: calc(env(safe-area-inset-bottom) + 30rpx);
  .record {
    padding-left: 40rpx;
    color: #fff;
    font-size: 26rpx;
    display: flex;
    align-items: center;
    font-family: 'fz-bold';
    margin-bottom: 28rpx;
  }
  .card {
    padding: 30rpx 60rpx 60rpx;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0rpx 19rpx 37rpx 0rpx rgba(0, 0, 0, 0.3);
    border-radius: 26rpx;
    border: 2rpx solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    color: #fff;
    position: relative;
    margin-bottom: 37rpx;
    .card-title {
      font-size: 34rpx;
      font-family: 'fz-bold';
      margin-bottom: 24rpx;
    }
    .card-image {
      width: 100%;
      height: 410rpx;
      border-radius: 26rpx;
      overflow: hidden;
      border: 2rpx solid rgba(255, 255, 255, 0.2);
      image {
        width: 100%;
        height: 100%;
      }
    }
    .card-swiper {
      width: 100%;
      height: 410rpx;
      position: relative;
      .swiper-item {
        width: 100%;
      }
    }
    .name {
      font-size: 37rpx;
      font-family: 'fz';
      text-align: center;
      margin-top: 39rpx;
      margin-bottom: 29rpx;
      position: relative;
      line-height: 45rpx;
      .swiper-left,
      .swiper-right {
        position: absolute;
        top: 0rpx;
        width: 44rpx;
        height: 44rpx;
        image {
          width: 100%;
          height: 100%;
        }
      }
      .swiper-left {
        left: 0;
        transform: rotate(180deg);
      }
      .swiper-right {
        right: 0;
      }
    }
    .desc {
      font-size: 22rpx;
      font-family: 'fz';
    }
    .line {
      width: 100%;
      height: 2rpx;
      background: rgba(255, 255, 255, 0.2);
      margin: 50rpx 0;
    }
  }
}
.phone-code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  .phone-code-btn {
    width: 270rpx;
    height: 60rpx;
    background: #dab97b;
    border-radius: 30rpx;
    font-size: 28rpx;
    color: #ffffff;
    line-height: 34rpx;
    text-align: center;
    font-style: normal;
    font-family: 'fz-bold';
    line-height: 60rpx;
    margin-left: 26rpx;
  }
}
.form-item {
  padding-bottom: 10rpx;
  width: 100%;
  border-bottom: 2rpx solid rgba(255, 255, 255, 0.2);
  margin-bottom: 50rpx;
  box-sizing: border-box;
  padding-left: 12rpx;
  .form-item__label {
    font-size: 34rpx;
    font-family: 'fz-bold';
    color: #fff;
    margin-bottom: 30rpx;
  }
  .form-item__value {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    font-size: 28rpx;
    .area {
      display: flex;
      align-items: center;
      width: 130rpx;
      image {
        width: 44rpx;
        height: 44rpx;
        transform: rotate(90deg);
      }
    }
    .area-line {
      width: 2rpx;
      height: 30rpx;
      background: rgba(255, 255, 255, 0.2);
      margin-right: 22rpx;
    }
    input {
      flex: 1;
      font-size: 28rpx;
      font-weight: 400;
      font-family: 'fz';
    }
    .form-item__value-text {
      font-family: 'fz';
      flex: 1;
      color: #fff;
      &-placeholder {
        color: rgba(255, 255, 255, 0.5);
      }
    }
    image {
      width: 44rpx;
      height: 44rpx;
      transform: rotate(90deg);
    }
  }
}

.popup-box {
  background: #fff;
  width: 100%;
  padding: 44rpx 37rpx;
  box-sizing: border-box;
  box-shadow: 0rpx 19rpx 37rpx 0rpx rgba(0, 64, 152, 0.1);
  border-radius: 34rpx 34rpx 0rpx 0rpx;
  display: flex;
  flex-direction: column;
  font-family: 'fz';
  padding-bottom: calc(env(safe-area-inset-bottom) + 50rpx);
  .popup-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
    margin-bottom: 40rpx;
    .close {
      position: absolute;
      right: 40rpx;
      top: 50;
      width: 44rpx;
      height: 44rpx;
      image {
        width: 40rpx;
        height: 40rpx;
      }
    }
  }
  .popup-content {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 40rpx;
    .date-line {
      width: 100%;
      height: 2rpx;
      background: #efefef;
      margin: 10rpx 0 30rpx;
    }
    .date-card {
      display: flex;
      flex-wrap: wrap;
      .date-item {
        width: 150rpx;
        height: 150rpx;
        border: 2rpx solid #dab97b;
        border-radius: 22rpx;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        font-size: 26rpx;
        color: #1d1e25;
        line-height: 32rpx;
        margin-right: 18rpx;
        margin-bottom: 18rpx;
        &-week {
          margin-bottom: 22rpx;
        }
        &-active {
          background: #dab97b;
          color: #fff;
        }
        &-disabled {
          color: #ccc;
          border-color: #ccc;
        }
      }
      .date-item:nth-child(4n) {
        margin-right: 0;
      }
    }
    .time-card {
      display: flex;
      flex-wrap: wrap;
      .time-item {
        width: 318rpx;
        height: 97rpx;
        border: 2rpx solid #dab97b;
        border-radius: 22rpx;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 26rpx;
        color: #1d1e25;
        line-height: 32rpx;
        margin-right: 18rpx;
        margin-bottom: 18rpx;
        &-week {
          margin-bottom: 22rpx;
        }
        &-active {
          background: #dab97b;
          color: #fff;
        }
        &-disabled {
          color: #ccc;
          border-color: #ccc;
        }
      }
      .time-item:nth-child(2n) {
        margin-right: 0;
      }
    }
  }
}
::v-deep {
  .indicatorClass:before,
  .indicatorClass:after {
    color: transparent !important;
    border-color: transparent !important;
  }
}
.picker-view {
  overflow: hidden;
  height: 500rpx;
  .item {
    height: 50px !important;
    text-align: center;
    font-size: 30rpx;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s linear;
  }
  .active {
    color: #d3a358;
    font-weight: bold;
    font-size: 40rpx;
  }
}
