@import '../../app.less';

.module.card {
  min-height: 314px;
  position: relative;

  .header {
    color: @night-blue;
    background: @theme_bg_color;
    font-size: 18px;
    height: 44px;
    line-height: 44px;
    padding-left: 36px;
    padding-right: 32px;

    .sub-title {
      float: right;
      font-size: 18px;
    }
  }

  .body {
    padding: 24px 32px 32px;

    .title {
      margin-bottom: 28px;
      font-size: 16px;
      color: @night-blue;
    }

    .btn {
      margin: 0 -32px;
      width: 100%;
      position: absolute;
      bottom: 44px;
      text-align: center;
    }
  }
}

.module.card.buy {
  .header {
    .sub-title {
      color: @cornflower;
    }
  }

  .body {
    .desc {
      .item {
        position: relative;
        margin-bottom: 18px;
        padding-left: 15px;
        font-size: 18px;
      }

      .item:before {
        content: '';
        width: 6px;
        height: 6px;
        position: absolute;
        background: @theme_color;
        border-radius: 3px;
        top: 10px;
        left: 0;
      }
    }
  }
}

.module.card.open {
  .header {
    .sub-title {
      color: @holder_color;
    }
  }

  .body {
    .text {
      margin-top: 40px;
      line-height: 25px;
      padding-left: 30px;
      padding-right: 5px;
      position: relative;

      .ant-checkbox-wrapper {
        position: absolute;
        left: 0;
        top: 5px;
      }
    }
  }
}

.module.card.ing {
  .body {
    .text {
      >div {
        margin-bottom: 10px;
      }
    }

    .list {
      .item {
        margin-top: 30px;

        .top {
          margin-bottom: 28px;

          .date {
            color: @night-blue;
            display: inline-block;
          }

          .action {
            float: right;

            .icon-button {
              margin-left: 22px;
            }
          }
        }
      }
    }
  }
}

.module.card.end {
  .header {
    background: #c8d1da;
  }
}

.module.card1 {
  min-height: 314px;
  position: relative;

  .header {
    text-align: center;

    .tag {
      vertical-align: top;
      margin-top: 12px;
      display: inline-block;
      padding: 0 7px;
      background: #6865FD;
      height: 18px;
      line-height: 18px;
      margin-right: 5px;
      font-size: 10px;
      color: #fff;
      border-radius: 8px;
    }
  }

  .header {
    color: @night-blue;
    background: @theme_bg_color;
    font-size: 18px;
    height: 44px;
    line-height: 44px;
    padding-left: 36px;
    padding-right: 32px;
  }

  .body {
    padding: 24px;
  }
}

.module.card1.open {
  .header {
    .sub-title {
      color: @holder_color;
    }
  }

  .body {
    .t-1 {
      margin-top: 20px;
      font-size: 16px;
      color: #5E677B;
      text-align: center;
    }

    .t-2 {
      font-size: 12px;
      color: #8897A8;
      text-align: center;
      margin-bottom: 20px;
    }

    .qr-code {
      text-align: center;
    }

    .text {
      margin-top: 50px;
      line-height: 25px;
      padding-left: 30px;
      padding-right: 5px;
      position: relative;
      font-size: 12px;
      margin-bottom: 30px;

      .ant-checkbox-wrapper {
        margin-right: 2px;
      }
    }

    .btn {
      margin: 0 auto;
      width: 110px;
      text-align: center;

      .button {
        width: 110px;
        display: inline-block;
      }
    }
  }
}

.module.card1.ing {
  .body {
    .text {
      padding-top: 50px;
      padding-left: 100px;

      .t-1 {
        font-size: 20px;
        color: #5E677B;
      }

      .t-2 {
        font-size: 14p;
        color: #5E677B;
      }
    }

    .title {
      margin-bottom: 10px;
      font-size: 14px;
      color: #5E677B;
    }

    .list {
      .item {
        margin-bottom: 15px;

        .top {

          .title {
            color: #050930;
            font-size: 16px;
          }
        }

        .detail {
          height: 25px;
          line-height: 25px;

          .progress {
            display: inline-block;
            width: 160px;
          }

          .action {
            display: inline-block;

            .icon-button {
              margin-left: 22px;
            }
          }
        }
      }
    }

    .bottom {
      color: #8897A8;
      font-size: 12px;
      position: absolute;
      bottom: 20px;
    }
  }
}

.module.card1.end {
  .text {
    padding-top: 70px;
    text-align: center;

    .t-1 {
      font-size: 20px;
      color: #5E677B;
    }
  }

  .bottom {
    color: #8897A8;
    font-size: 12px;
    position: absolute;
    bottom: 20px;
  }
}

.module.card1.stop {
  .text {
    padding-top: 50px;
    text-align: center;

    .t-1 {
      font-size: 20px;
      color: #5E677B;
    }

    .t-2 {
      font-size: 14p;
      color: #5E677B;
    }
  }
}