@mixin common-bg-radius {
  background: #fff;
  border-radius: 16rpx;
}

.order-express {
  min-height: 100vh;
  padding: 32rpx var(--padding-gap-md);
  background: var(--background-color-base);

  &-header {
    display: flex;
    flex-direction: row;
    padding: 32rpx var(--padding-gap-md);
    @include common-bg-radius();

    &-image {
      width: 150rpx;
      height: 150rpx;
      margin-right: var(--padding-gap-md);
      border-radius: 12rpx;
    }

    &-info {
      flex: 1;
      font-size: var(--font-size-lg);
      color: var(--color-gray-2);
    }

    &-number {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      margin-bottom: 16rpx;
      color: var(--color-gray-0);
    }

    &-company {
      margin-bottom: 14rpx;
    }
  }

  &-address {
    padding: var(--padding-gap-md);
    margin: 32rpx 0;
    font-size: var(--font-size-xl);
    line-height: 42rpx;
    color: var(--color-gray-0);
    @include common-bg-radius();
  }

  &-detail {
    padding: 32rpx;
    @include common-bg-radius();

    &-item {
      display: flex;
      color: var(--color-gray-2);

      &:first-child &-dot-center {
        background: var(--color-primary);
      }

      &:first-child &-info {
        color: var(--color-gray-0);
      }

      &:first-child &-dot-top {
        width: 0;
      }

      &:last-child &-dot-bottom {
        width: 0;
      }

      &-black {
        height: 32rpx;
      }

      &-dot {
        display: flex;
        flex-direction: column;
        align-items: center;
      }

      &-dot-top {
        width: 1rpx;
        height: 26rpx;
        margin-bottom: 12rpx;
        background: #ccc;
      }

      &-dot-center {
        width: 16rpx;
        height: 16rpx;
        background: #ccc;
        border-radius: 50%;
      }

      &-dot-bottom {
        flex: 1;
        width: 1rpx;
        margin-top: 12rpx;
        background: #ccc;
      }

      &-detail {
        flex: 1;
        margin-left: 44rpx;
      }

      &-info {
        margin-bottom: 4rpx;
        font-size: var(--font-size-lg);
        line-height: 40rpx;
      }

      &-time {
        font-size: var(--font-size-sm);
        line-height: 32rpx;
      }
    }
  }
}
