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