.progress-page {
  min-height: 100vh;
  background-color: #f5f5f5;
  padding-bottom: 80px;

  .loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 50vh;

    .loading-text {
      margin-top: 16px;
      color: #666;
    }
  }

  .after-sale-header {
    background: white;
    padding: 20px;
    margin-bottom: 12px;

    .header-top {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 16px;

      .type-status {
        display: flex;
        align-items: center;
        gap: 12px;

        .type-text {
          font-weight: 600;
          color: #333;
        }

        .status-tag {
          padding: 2px 8px;
          border-radius: 12px;
        }
      }
    }

    .header-info {
      .order-no,
      .apply-time,
      .amount {
        display: block;
        color: #666;
        margin-bottom: 4px;

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

      .amount {
        color: #ff6b35;
        font-weight: 500;
      }
    }
  }

  .progress-timeline {
    background: white;
    margin-bottom: 12px;

    .timeline-header {
      padding: 16px 20px 0;
      border-bottom: 1px solid #f0f0f0;

      .timeline-title {
        font-weight: 500;
        color: #333;
      }
    }

    .timeline-list {
      padding: 0 20px;

      .timeline-item {
        position: relative;
        display: flex;
        padding: 16px 0;
        border-left: 2px solid #e8e8e8;
        margin-left: 8px;

        &.current {
          border-left-color: #1890ff;

          .timeline-dot {
            background: #1890ff;
            border-color: #1890ff;
          }

          .timeline-status {
            color: #1890ff;
            font-weight: 500;
          }
        }

        &:last-child {
          border-left-color: transparent;
        }

        .timeline-dot {
          position: absolute;
          left: -6px;
          top: 20px;
          width: 10px;
          height: 10px;
          border-radius: 50%;
          background: #e8e8e8;
          border: 2px solid #e8e8e8;
        }

        .timeline-content {
          flex: 1;
          margin-left: 20px;

          .timeline-info {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 4px;

            .timeline-status {
              font-weight: 500;
              color: #333;
            }

            .timeline-time {
              color: #999;
            }
          }

          .timeline-description {
            display: block;
            color: #666;
            line-height: 1.4;
            margin-bottom: 4px;
          }

          .timeline-operator {
            display: block;
            color: #999;
            margin-bottom: 2px;
          }

          .timeline-remark {
            display: block;
            color: #1890ff;
            background: #f0f8ff;
            padding: 4px 8px;
            border-radius: 4px;
            margin-top: 4px;
          }
        }
      }
    }
  }

  .evidence-section {
    background: white;
    margin-bottom: 12px;
    padding: 16px 20px;

    .section-title {
      font-weight: 500;
      color: #333;
      margin-bottom: 12px;
    }

    .image-list {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;

      .image-item {
        width: 80px;
        height: 80px;
        border-radius: 8px;
        overflow: hidden;
        border: 1px solid #e8e8e8;

        .evidence-image {
          width: 100%;
          height: 100%;
          object-fit: cover;
        }
      }
    }
  }

  .progress-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 12px 16px;
    border-top: 1px solid #f0f0f0;
    z-index: 100;

    .footer-buttons {
      display: flex;
      gap: 12px;

      .nut-button {
        flex: 1;
      }
    }
  }
}

/* NutUI 组件样式覆盖 */
.progress-page {
  .nut-cell-group {
    margin-bottom: 12px;

    .nut-cell-group__title {
      padding: 12px 20px 6px;
      font-weight: 500;
      color: #333;
    }

    .nut-cell {
      padding: 12px 20px;

      .nut-cell__title {
        color: #333;
      }

      .nut-cell__value {
        color: #666;
        text-align: right;
        word-break: break-all;
        line-height: 1.4;
      }
    }
  }

  .nut-tag {
    border: none;
    color: white;
    font-weight: 500;
  }
}

/* 适配不同屏幕尺寸 */
@media (max-width: 375px) {
  .progress-page {
    .after-sale-header {
      padding: 16px;

      .header-top {
        .type-status {
          gap: 8px;

          .type-text {
          }
        }
      }
    }

    .progress-timeline {
      .timeline-list {
        padding: 0 16px;

        .timeline-item {
          .timeline-content {
            margin-left: 16px;
          }
        }
      }
    }

    .evidence-section {
      padding: 12px 16px;

      .image-list {
        .image-item {
          width: 70px;
          height: 70px;
        }
      }
    }
  }
}
