.logistics-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;
    }
  }

  .logistics-header {
    background: white;
    padding: 20px;
    margin-bottom: 12px;
    border-radius: 8px;
    margin: 12px;

    .express-info {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 16px;
      padding-bottom: 16px;
      border-bottom: 1px solid #f0f0f0;

      .company-name {
        font-weight: 600;
        color: #333;
      }

      .express-no {
        color: #666;
        background: #f5f5f5;
        padding: 4px 8px;
        border-radius: 4px;
      }
    }

    .status-info {
      .status {
        display: block;
        font-weight: 500;
        color: #1890ff;
        margin-bottom: 8px;
      }

      .location {
        display: block;
        color: #666;
        margin-bottom: 4px;
      }

      .estimated-time {
        display: block;
        color: #999;
      }
    }
  }

  .logistics-track {
    background: white;
    margin: 12px;
    border-radius: 8px;
    overflow: hidden;

    .track-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 16px 20px;
      border-bottom: 1px solid #f0f0f0;

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

    .track-list {
      padding: 0 20px;

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

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

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

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

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

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

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

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

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

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

          .track-location {
            display: block;
            color: #666;
            margin-bottom: 4px;
          }

          .track-description {
            display: block;
            color: #999;
            line-height: 1.4;
          }
        }
      }
    }
  }

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

/* 适配不同屏幕尺寸 */
@media (max-width: 375px) {
  .logistics-page {
    .logistics-header {
      margin: 8px;
      padding: 16px;
    }

    .logistics-track {
      margin: 8px;
    }
  }
}
