
body { background-color: #F7F8FA;
}
.container { min-height: 100vh; background-color: #F7F8FA; padding: 0.625rem 0 0;
}

/* ===== 统计banner：圆角浮动卡，左右30rpx边距 ===== */
.stats-banner {
    background: linear-gradient(135deg, #FF9800 0%, #FF5722 100%);
    padding: 0.875rem 0.5rem;
    display: flex;
    justify-content: space-around;
    margin: 0 0.9375rem 0.625rem;
    border-radius: 0.625rem;
    box-shadow: 0 0.1875rem 0.625rem rgba(255, 87, 34, 0.25);
}
.banner-item { display: flex; flex-direction: column; align-items: center;
}
.banner-num { font-size: 1.0625rem; font-weight: bold; color: #fff; margin-bottom: 0.125rem;
}
.banner-unit { font-size: 0.6875rem; font-weight: normal;
}
.banner-label { font-size: 0.625rem; color: rgba(255,255,255,0.85);
}

/* ===== 标签页：全宽平铺，无圆角，无side margin ===== */
.tab-bar {
    background-color: #fff;
    display: flex;
    padding: 0 0.9375rem;
    border-bottom: 0.03125rem solid #f0f0f0;
    margin-bottom: 0;
}
.tab-item {
    padding: 0.625rem 0.75rem;
    font-size: 0.875rem;
    color: #999;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.tab-item.active { color: #FF9800; font-weight: bold;
}
.tab-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1.125rem;
    height: 0.125rem;
    background-color: #FF9800;
    border-radius: 0.0625rem;
}

/* ===== 订单列表：scroll-view 全宽，每张card用margin左右30rpx ===== */
.order-scroll { width: 100%;
}

/* 关键：order-card 用 margin: 0 30rpx 实现与banner对齐 */
.order-card {
    background-color: #fff;
    border-radius: 0.5rem;
    padding: 0.75rem;
    margin: 0 0.9375rem 0.5rem;   /* ← 与banner的 margin: 0 30rpx 完全一致 */
    box-sizing: border-box;
}

/* 卡片头部 */
.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.3125rem;
}
.type-badge { display: flex; align-items: center;
}

/* 订单类型图标：与my-orders列表一致，直接使用带色彩的SVG图标 */
.type-icon {
    width: 1.375rem;
    height: 1.375rem;
    margin-right: 0.375rem;
}
.type-text { font-size: 0.9375rem; font-weight: bold; color: #333;
}
.status-text { font-size: 0.75rem;
}
.status-text.green { color: #4CAF50;
}
.status-text.red { color: #F44336;
}

/* 服务时间 */
.service-time {
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 0.5rem;
    display: block;
}

/* 宠物信息卡（灰底背景，右侧显示价格） */
.pet-card {
    background-color: #F7F8FA;
    border-radius: 0.3125rem;
    padding: 0.5rem 0.625rem;
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}
.pet-avatar { width: 2.1875rem; height: 2.1875rem; border-radius: 50%; margin-right: 0.5rem; flex-shrink: 0;
}
.pet-info { flex: 1; display: flex; flex-direction: column;
}
.pet-name { font-size: 0.875rem; font-weight: bold; color: #333; margin-bottom: 0.125rem;
}
.pet-breed { font-size: 0.75rem; color: #999;
}

/* 价格在宠物卡右侧 */
.pet-price { font-size: 1.0625rem; font-weight: bold; color: #FF5722; flex-shrink: 0;
}

/* 路线信息 */
.route-info { display: flex; flex-direction: column;
}
.route-item {
    display: flex;
    align-items: flex-start;
    position: relative;
    padding-bottom: 0.25rem;
}
.icon-circle {
    width: 1.375rem;
    height: 1.375rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6875rem;
    font-weight: bold;
    color: #fff;
    flex-shrink: 0;
    margin-right: 0.5rem;
    margin-top: 0.0625rem;
}
.icon-circle.pickup { background: linear-gradient(135deg, #FF9800, #FF6D00);
}
.icon-circle.deliver { background: linear-gradient(135deg, #4CAF50, #2E7D32);
}
.icon-circle.service { background: linear-gradient(135deg, #4CAF50, #1B5E20);
}

/* 取→送之间的虚线连接 */
.route-connector {
    position: absolute;
    left: 0.65625rem;
    top: 1.4375rem;
    width: 0.0625rem;
    height: 0.9375rem;
    background-color: #e0e0e0;
}
.address-box { flex: 1; padding-bottom: 0.4375rem;
}
.addr-title { font-size: 0.8125rem; color: #333; display: block; margin-bottom: 0.125rem;
}
.addr-desc { font-size: 0.75rem; color: #999; display: block;
}

/* 服务内容说明（喂遛/洗护） */
.service-note-row { padding: 0.125rem 0 0 1.875rem;
}
.service-note-text { font-size: 0.75rem; color: #999;
}

/* 空状态 */
.empty-state { text-align: center; padding: 2.5rem 0;
}
.empty-text { font-size: 0.875rem; color: #ccc;
}
