@import "../../../../themes/page.scss";
@import "../../searc-list.scss";
/* module/diet/pages/diet-info/diet-info.wxss */


.punch-card-container {
  background: white;
  border-radius: 20rpx;
  margin: 24rpx;
  padding: 24rpx;
}

.calendar-header {
  font-size: 32rpx;
  font-weight: 600;
  margin-bottom: 16rpx;
}
.status-box {
  display: flex;
  align-items: center;
  justify-content: space-between;

  .patch-btn {
    margin-left: 24rpx;
    background: #3a7afe;
    color: #fff;
    border-radius: 12rpx;
    padding: 0 32rpx;
    height: 56rpx;
    line-height: 56rpx;
    font-size: 26rpx;
    border: none;
  }
}
.calendar-legend {
  display: flex;
  flex-direction: column;
  // align-items: center;
  background: #f5f5f5;
  border-radius: 12rpx;
  font-size: 24rpx;
  padding: 25rpx 16rpx 0rpx 16rpx;
  margin-bottom: 16rpx;

  .legend-item {
    display: flex;
    align-items: center;
    font-size: 24rpx;
    color: #888;
    margin-bottom: 15px;

    .dot {
      width: 12rpx;
      height: 12rpx;
      border-radius: 50%;
      margin-right: 12rpx;


      &.blue {
        background: #3a7afe;
      }

      &.red {
        background: #ff4d4f;
      }

      &.yellow {
        background: #faad14;
      }
    }
  }
}

.calendar-footer {
  margin-top: 24rpx;

  .status-row {
    display: flex;
    align-items: center;
    margin-bottom: 12rpx;

    .status-label {
      font-size: 26rpx;
    }

    .status-content {
      font-size: 26rpx;
    }

    .unpunch {
      color: #ff4d4f;
    }

    .punch {
      color: #222;
    }

    .patch-btn {
      margin-left: 24rpx;
      background: #3a7afe;
      color: #fff;
      border-radius: 12rpx;
      padding: 0 32rpx;
      height: 56rpx;
      line-height: 56rpx;
      font-size: 26rpx;
      border: none;
    }
  }
}