page {
  background: #f5f6f7;
}

.enterprise-apps-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;
}

/* 应用列表 */
.app-list {
  padding: 24rpx;

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

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

/* 应用卡片 */
.app-card {
  display: flex;
  background: #ffffff;
  border-radius: 20rpx;
  padding: 24rpx;
  box-shadow: 0 8rpx 24rpx rgba(0, 0, 0, 0.06);

  &__icon {
    width: 100rpx;
    height: 100rpx;
    border-radius: 20rpx;
    background: #f3f4f6;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  &__iconImg {
    width: 100%;
    height: 100%;
  }

  &__iconDefault {
    font-size: 48rpx;
  }

  &__info {
    flex: 1;
    margin-left: 20rpx;
    min-width: 0;
  }

  &__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12rpx;
  }

  &__name {
    font-size: 32rpx;
    font-weight: 800;
    color: #111111;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  &__status {
    display: flex;
    align-items: center;
    gap: 6rpx;
    flex-shrink: 0;
  }

  &__statusDot {
    width: 8rpx;
    height: 8rpx;
    border-radius: 999rpx;
  }

  &__statusText {
    font-size: 22rpx;
    font-weight: 600;
  }

  &__desc {
    display: block;
    margin-top: 10rpx;
    font-size: 24rpx;
    color: #999999;
    line-height: 1.5;
  }

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

  &__version {
    font-size: 22rpx;
    color: #d97706;
    font-weight: 600;
  }

  &__time {
    font-size: 22rpx;
    color: #666666;
  }
}

/* 购买按钮 */
.purchase-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;
}
