.audit-page {
  min-height: 100vh;
  background: #f5f5f5;
  padding-bottom: 120rpx;

  &__header {
    padding: 32rpx 32rpx 24rpx;
    background: #fff;
  }

  &__title {
    font-size: 40rpx;
    font-weight: 700;
    color: #333;
  }

  // Tab
  &__tabs {
    display: flex;
    padding: 0 32rpx 24rpx;
    background: #fff;
    gap: 24rpx;
  }

  &__tab {
    display: flex;
    align-items: center;
    gap: 8rpx;
    font-size: 28rpx;
    color: #666;
    padding-bottom: 8rpx;
    border-bottom: 4rpx solid transparent;

    &.active {
      color: #667eea;
      border-bottom-color: #667eea;
    }

    &-badge {
      background: #ff4d4f;
      color: #fff;
      font-size: 20rpx;
      padding: 2rpx 10rpx;
      border-radius: 20rpx;
      min-width: 32rpx;
      text-align: center;
    }
  }

  // 列表
  &__list {
    padding: 24rpx 32rpx;
  }

  &__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120rpx 0;

    &-icon {
      font-size: 120rpx;
      margin-bottom: 32rpx;
    }

    &-text {
      font-size: 30rpx;
      color: #999;
    }
  }

  &__loading,
  &__no-more {
    display: flex;
    justify-content: center;
    padding: 32rpx 0;

    text {
      font-size: 26rpx;
      color: #999;
    }
  }
}

// 审批卡片
.audit-card {
  background: #fff;
  border-radius: 16rpx;
  padding: 32rpx;
  margin-bottom: 24rpx;
  box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.05);

  &__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24rpx;
  }

  &__applicant {
    display: flex;
    align-items: center;
    gap: 20rpx;
  }

  &__avatar {
    width: 80rpx;
    height: 80rpx;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;

    &-img {
      width: 100%;
      height: 100%;
      background-size: cover;
      background-position: center;
    }

    &-text {
      font-size: 32rpx;
      font-weight: 600;
      color: #fff;
    }
  }

  &__applicant-info {
    display: flex;
    flex-direction: column;
    gap: 8rpx;
  }

  &__name {
    font-size: 30rpx;
    font-weight: 600;
    color: #333;
  }

  &__type {
    font-size: 24rpx;
    color: #999;
  }

  &__status {
    font-size: 24rpx;
    padding: 8rpx 20rpx;
    border-radius: 8rpx;
  }

  &__body {
    background: #fafafa;
    border-radius: 12rpx;
    padding: 24rpx;
    margin-bottom: 16rpx;
  }

  &__row {
    display: flex;
    margin-bottom: 12rpx;

    &:last-child {
      margin-bottom: 0;
    }
  }

  &__label {
    font-size: 26rpx;
    color: #666;
    width: 140rpx;
    flex-shrink: 0;
  }

  &__value {
    font-size: 26rpx;
    color: #333;
    flex: 1;
  }

  &__remark {
    background: #fff7e6;
    border-radius: 12rpx;
    padding: 20rpx;
    margin-bottom: 16rpx;

    &-label {
      display: block;
      font-size: 24rpx;
      color: #fa8c16;
      margin-bottom: 8rpx;
    }

    &-content {
      font-size: 26rpx;
      color: #333;
    }
  }

  &__actions {
    display: flex;
    justify-content: flex-end;
    gap: 24rpx;
    padding-top: 16rpx;
    border-top: 1px solid #f0f0f0;
  }

  &__btn {
    border-radius: 32rpx;
    font-size: 28rpx;
    padding: 0 40rpx;

    &--approve {
      background: linear-gradient(135deg, #52c41a 0%, #389e0d 100%);
      color: #fff;

      &::after {
        border: none;
      }
    }

    &--reject {
      background: #fff;
      color: #ff4d4f;
      border: 1px solid #ff4d4f;
    }
  }
}
