/* 分销中心公共样式 */
.page {
  background-color: #52AC41;
  width: 750rpx;
  min-height: 100vh;
  overflow-y: auto;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.flex-row {
  display: flex;
  flex-direction: row;
}

.justify-between {
  justify-content: space-between;
}

.back-icon {
  width: 40rpx;
  height: 40rpx;
  margin: 31rpx 0 0 56rpx;
}

.header-title {
  width: 120rpx;
  height: 42rpx;
  color: #ffffff;
  font-size: 30rpx;
  font-family: PingFang SC-Medium;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  line-height: 30rpx;
  margin: 11rpx 0 0 259rpx;
}

.user-info {
  margin-top: 30rpx;
  padding: 0 40rpx;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.avatar {
  width: 80rpx;
  height: 80rpx;
  border-radius: 50%;
}

.user-detail {
  margin-left: 20rpx;
  flex: 1;
}

.username {
  color: #ffffff;
  font-size: 28rpx;
  font-weight: 500;
}

.user-id {
  color: rgba(255, 255, 255, 0.8);
  font-size: 24rpx;
  margin-top: 6rpx;
}

.invite-code {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 20rpx;
  padding: 4rpx 12rpx;
  font-size: 22rpx;
  color: #ffffff;
  margin-left: 10rpx;
}

.share-btn {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 30rpx;
  padding: 10rpx 20rpx;
  display: flex;
  align-items: center;
}

.share-icon {
  width: 30rpx;
  height: 30rpx;
}

.share-text {
  color: #ffffff;
  font-size: 24rpx;
  margin-left: 6rpx;
}

.commission-box {
  background-color: #ffffff;
  border-radius: 24rpx;
  margin: 30rpx 32rpx;
  padding: 30rpx;
}

.commission-item {
  flex: 1;
}

.commission-label {
  color: #999999;
  font-size: 24rpx;
  margin-bottom: 10rpx;
}

.commission-value {
  color: #222222;
  font-size: 40rpx;
  font-weight: bold;
}

.details-list {
  background-color: #f8f8f8;
  border-radius: 24rpx;
  margin: 20rpx 32rpx;
  padding: 20rpx 0;
  flex: 1;
}

.details-title {
  padding: 0 30rpx;
  margin-bottom: 20rpx;
  color: #666666;
  font-size: 24rpx;
}

.detail-item {
  background-color: #ffffff;
  margin: 10rpx 20rpx;
  padding: 20rpx;
  border-radius: 16rpx;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.user-avatar {
  width: 60rpx;
  height: 60rpx;
  border-radius: 50%;
}

.detail-left {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.detail-info {
  margin-left: 15rpx;
}

.detail-name {
  color: #333333;
  font-size: 26rpx;
  font-weight: 500;
}

.detail-date {
  color: #999999;
  font-size: 22rpx;
  margin-top: 6rpx;
}

.detail-amount {
  color: #FF6633;
  font-size: 28rpx;
  font-weight: 500;
}

.add-icon {
  color: #999999;
  font-size: 24rpx;
}

.empty-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80rpx 0;
}

.empty-icon {
  width: 120rpx;
  height: 120rpx;
  margin-bottom: 20rpx;
}

.empty-text {
  color: #999999;
  font-size: 26rpx;
}
