page {
  background: #f5f6f7;
}

.project-list-page {
  min-height: 100vh;
  background: #f5f6f7;
  padding-bottom: 140rpx;

  &__scroll {
    height: calc(100vh - 100rpx);
  }
}

.tabs-wrapper {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 10;
}

/* 项目列表 */
.project-list {
  padding: 24rpx;

  &__loading {
    padding: 120rpx 0;
    text-align: center;
    color: #999999;
    font-size: 28rpx;
  }

  &__content {
    display: flex;
    flex-direction: column;
    gap: 24rpx;
  }
}

/* 项目卡片 */
.project-card {
  background: #ffffff;
  border-radius: 20rpx;
  padding: 28rpx;
  box-shadow: 0 8rpx 24rpx rgba(0, 0, 0, 0.06);

  &__header {
    margin-bottom: 24rpx;
  }

  &__title-row {
    display: flex;
    align-items: center;
    gap: 16rpx;
    margin-bottom: 10rpx;
  }

  &__name {
    font-size: 34rpx;
    font-weight: 800;
    color: #111111;
  }

  &__badge {
    padding: 4rpx 12rpx;
    border-radius: 999rpx;
    font-size: 22rpx;
    font-weight: 600;
  }

  &__badgeText {
    line-height: 1;
  }

  &__desc {
    font-size: 26rpx;
    color: #666666;
    line-height: 1.5;
  }

  &__stats {
    display: flex;
    align-items: center;
    padding: 20rpx 0;
    border-top: 2rpx solid #f3f4f6;
    border-bottom: 2rpx solid #f3f4f6;
  }

  &__stat {
    flex: 1;
    text-align: center;
  }

  &__statValue {
    display: block;
    font-size: 36rpx;
    font-weight: 900;
    color: #3b82f6;
    line-height: 1.2;
  }

  &__statLabel {
    display: block;
    margin-top: 6rpx;
    font-size: 22rpx;
    color: #666666;
  }

  &__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20rpx;
  }

  &__time {
    font-size: 24rpx;
    color: #999999;
  }

  &__action {
    padding: 8rpx 16rpx;
  }

  &__actionText {
    font-size: 26rpx;
    color: #3b82f6;
    font-weight: 600;
  }
}

/* 创建按钮 */
.create-btn-wrapper {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24rpx 32rpx;
  padding-bottom: calc(24rpx + env(safe-area-inset-bottom));
  background: #ffffff;
  box-shadow: 0 -8rpx 24rpx rgba(0, 0, 0, 0.06);
}

/* 底部安全区域 */
.safe-area-bottom {
  height: 40rpx;
}
