@import "/style/theme.less";

.project-card {
  font-size: 24rpx;
  padding: 15rpx 0 18rpx 0;
  border-radius: 10rpx;
  box-shadow: 0px 2px 12px 2px rgba(242, 243, 244, 1);
  position: relative;
  font-size: 28rpx;
  line-height: 40rpx;
  margin-bottom: 20rpx;
  background-color: white;
  width: 100%;

  &-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 56rpx;
    font-weight: 500;
    font-size: 28rpx;
    padding: 0 30rpx;
    .tag {
      font-weight: 400;
      background-color: @mainColor;
      color: white;
      white-space: nowrap;
      font-size: 20rpx;
      padding: 0 16rpx;
      border-radius: 8rpx;
    }
  }
  .text-cut {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }
  .row {
    padding: 0 30rpx;
    .row-item {
      color: @tx2;

      &-img {
        width: 28rpx;
        height: 28rpx;
        display: inline-block;
        vertical-align: middle;
      }

      .timeout-img {
        width: 60rpx;
        height: 34rpx;
      }
    }
  }
  &-footer {
    margin-top: 16rpx;
    padding-top: 16rpx;
    border-top: @border;
    padding: 16rpx 30rpx 0 30rpx;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    
    .footer-item {
      flex: 1;
      display: flex;
      &:not(:last-child) {
        margin-right: 24rpx;
      }
      .label {
        white-space: nowrap;
        color: @tx3;
        margin-right: 16rpx;
      }
      .value {
        white-space: nowrap;
        color: @tx2;
      }
    }
  }
}
