.pay-wrap {
  flex-direction: column;

  .wrap-relative {
    flex: 1;
    flex-direction: column;
  }

  .wrap-fixed {
    flex-direction: column;

    .total-wrap {
    
      flex-shrink: 0;
      background-color: #fff;
      background-color: #fff;
      justify-content: space-between;
      align-items: center;
      padding: 28px 40px;
    }

    .total-cost {
      flex: 1;
      flex-direction: column;

      text {
        font-size: 30px;
        color: #666;
        font-weight: bold;
      }

      .notice {
        font-size: 24px;
        color: #999;
        font-weight: normal;
      }
    }

    .go-to-pay {
      width: 100%;
      font-size: 30px;
      font-weight: bold;
      color: #fff;
      text-align: center;
      border-radius: 46px;
      background-color: #ff6060;
      padding: 20px 40px;
      font-family: MicrosoftYaHei;
      color: #FFFFFF;
      line-height: 21px;
    }
  }

  .top-user__wrap {
    flex-direction: column;
    padding: 0 24px 20px;
    margin: 24px 0;
    border-bottom: 20px solid #f7f7f7;

    .user-balance {
      margin-bottom: 10px;

      text {
        font-size: 30px;
        color: #333;
      }

      .balance {
        color: #ff6060;
        font-weight: bold;
      }
    }

    .chapter-cost {
      text {
        font-size: 32px;
        color: #666;
      }
      .cost {
        color: #ff6060;
        font-weight: bold;
        margin: 0 10px;
      }
    }
  }

  .charge-wrap {
    padding: 0 24px;
    flex-direction: column;

    .title {
      align-items: center;

      text {
        font-size: 30px;
        color: #333;
      }

      .border {
        width: 4px;
        height: 30px;
        border-radius: 4px;
        background-color: #ff6060;
        margin-right: 10px;
      }
    }

    .pay-type {
      justify-content: space-between;
      align-items: center;
      margin-top: 30px;

      &__item {
        width: 48%;
        height: 100px;
        justify-content: center;
        align-items: center;
        border: 2px solid #f7f7f7;
        border-radius: 6px;
        background-color: #f7f7f7;

        image {
          width: 70px;
          margin-right: 40px;
        }

        text {
          font-size: 30px;
          color: #666;
        }
      }

      &__item--cur {
        background-color: #fff;
        border-color: #ff393a;
      }
    }

    .recharge-list {
      margin-top: 30px;
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: center;

      .recharge-item {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 340px;
        height: 180px;
        background-color: #f7f7f7;
        border-radius: 6px;
        border: 2px solid #f7f7f7;

        .price {
          font-size: 36px;
          color: #666;
          font-weight: bold;

          &__select {
            color: #ff393a;
          }
        }

        .send {
          font-size: 26px;
          color: #999;
          margin-bottom: 10px;

          &__select {
            color: #ff393a;
          }
        }

        .discount {
          border: 2px solid #ff9470;
          border-radius: 50px;
          background-color: #ff9470;

          image {
            width: 32px;
            height: 32px;
            margin: 0 10px;
          }

          text {
            font-size: 24px;
            color: #fff;
            padding: 0 10px;
          }

          .discount-num {
            color: #ff9470;
            background-color: #fff;
            border-radius: 50px;

            &__select {
              color: #ff393a;
            }
          }

          &__select {
            border-color: #ff393a;
            background-color: #ff393a;
          }
        }

        &__select {
          background-color: #fff5f6;
          border-color: #ff393a;
        }
      }
    }
  }

  .notice-wrap {
    flex-direction: column;
    padding: 0 24px;
    margin-top: 20px;

    text {
      font-size: 24px;
      color: #999;
    }

    .title {
      font-size: 26px;
      font-weight: bold;
      color: #333;
    }

    .notice-item {
      margin-top: 10px;
    }
  }

  .stack-wrap {
    margin-bottom: 30px;

    .recharge-recommend {
      width: 120px;
      height: 50px;
      position: absolute;
      right: 0;
    }
  }

  .loading-wrap {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;

    .loading-content {
      width: 300px;
      height: 100px;
      border-radius: 6px;
      background-color: #fff;
      flex-direction: column;
      justify-content: center;
      align-items: center;

      .loading-text {
        font-size: 26px;
      }
    }
  }
}
