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

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

  &__tab {
    flex: 1;
    height: 96rpx;
    line-height: 96rpx;
    text-align: center;
    font-size: 30rpx;
    color: #666;
    border-bottom: 4rpx solid transparent;

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

  // 表单
  &__form {
    padding: 32rpx;
  }

  &__section {
    background: #fff;
    border-radius: 16rpx;
    padding: 32rpx;
    margin-bottom: 24rpx;

    &-title {
      display: block;
      font-size: 32rpx;
      font-weight: 600;
      color: #333;
      margin-bottom: 32rpx;
      padding-left: 16rpx;
      border-left: 6rpx solid #667eea;
    }
  }

  &__field {
    margin-bottom: 32rpx;

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

  &__label {
    display: block;
    font-size: 28rpx;
    color: #333;
    margin-bottom: 16rpx;
  }

  &__input {
    width: 100%;
    height: 88rpx;
    background: #f5f5f5;
    border-radius: 12rpx;
    padding: 0 24rpx;
    font-size: 30rpx;
  }

  &__textarea {
    width: 100%;
    min-height: 200rpx;
    background: #f5f5f5;
    border-radius: 12rpx;
    padding: 24rpx;
    font-size: 30rpx;
    line-height: 1.6;
    box-sizing: border-box;
  }

  &__agreement {
    padding: 24rpx 0;
    text-align: center;

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

  &__submit {
    height: 96rpx;
    line-height: 96rpx;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 48rpx;
    font-size: 32rpx;
    font-weight: 600;

    &::after {
      border: none;
    }
  }

  // 列表
  &__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;
    }
  }
}

// 申请卡片
.apply-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: center;
    margin-bottom: 24rpx;
  }

  &__type {
    font-size: 32rpx;
    font-weight: 600;
    color: #333;
  }

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

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

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

    &-content {
      font-size: 28rpx;
      color: #333;
      line-height: 1.5;
    }
  }

  &__footer {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16rpx;
  }

  &__time,
  &__review {
    font-size: 24rpx;
    color: #999;
  }

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

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

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