.service-category-card {
    text-align: center;
    padding: 30px 20px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
}

.service-category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.service-category-card i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.service-category-card h5 {
    margin-bottom: 12px;
    color: var(--text-color);
}

.service-category-card p {
    color: #666;
    margin-bottom: 0;
}

.status-filters .btn {
    margin-right: 8px;
    margin-bottom: 8px;
}

.status-filters .btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.aftersale-item {
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.aftersale-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* 售后申请项目样式 */
.aftersale-header {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 12px;
}

.aftersale-number {
    font-weight: 500;
    color: #333;
}

.aftersale-time {
    font-size: 14px;
    margin-top: 4px;
}

.aftersale-product {
    padding: 12px 0;
}

.product-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
}

.product-info .product-name {
    font-weight: 500;
    color: #333;
}

.product-info .product-spec {
    font-size: 14px;
}

.product-price .price-amount {
    font-size: 18px;
    font-weight: 500;
    color: #ff6900;
}

.aftersale-footer {
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.refund-amount .amount-value {
    font-size: 16px;
    font-weight: 500;
    color: #ff6900;
}

.action-buttons .btn {
    min-width: 80px;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.status-pending {
    background-color: #fff3cd;
    color: #856404;
}

.status-processing {
    background-color: #cce5ff;
    color: #004085;
}

.status-completed {
    background-color: #d4edda;
    color: #155724;
}

.status-cancelled {
    background-color: #f8d7da;
    color: #721c24;
}

.service-guide .guide-item,
.contact-info .contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}

.service-guide .guide-item:last-child,
.contact-info .contact-item:last-child {
    border-bottom: none;
}

.service-guide .guide-item i,
.contact-info .contact-item i {
    font-size: 24px;
    width: 32px;
    text-align: center;
}

.rating-stars i {
    font-size: 24px;
    color: #ddd;
    cursor: pointer;
    margin-right: 4px;
    transition: color 0.2s ease;
}

.rating-stars i:hover,
.rating-stars i.active {
    color: #ffc107;
}

.empty-state {
    padding: 60px 20px;
}


/* 响应式设计 */
@media (min-width: 768px) and (max-width: 1024px) {
   
    /* 状态筛选按钮靠左对齐 */
    .status-filters {
        text-align: left;
    }
    
    /* 商品信息保持一行显示 */
    .aftersale-product {
        flex-direction: row;
        align-items: center;
        text-align: left;
    }
    
    .product-image {
        width: 100px;
        height: 100px;
        margin: 0 12px 0 0;
        flex-shrink: 0;
    }
    
    .product-info {
        flex-grow: 1;
        margin-bottom: 0;
    }
    
    .product-price {
        flex-shrink: 0;
    }
    
    /* 退款金额和按钮保持一行显示 */
    .aftersale-footer {
        flex-direction: row;
        align-items: center;
        gap: 0;
    }
    
    .action-buttons {
        width: auto;
        display: flex;
        gap: 8px;
    }
    
    .action-buttons .btn {
        flex: none;
        min-width: 80px;
    }
}

@media (max-width: 767px) {
    .service-category-card {
        margin-bottom: 16px;
    }
    
    /* 手机端状态筛选 - 固定悬浮在导航栏下方 */
    .status-filters {
        position: fixed;
        top: 85px;
        left: 0;
        right: 0;
        z-index: 999;
        display: flex;
        background: #fff;
        border-radius: 0;
        padding: 0;
        margin-bottom: 0;
        overflow-x: auto;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        border-bottom: 1px solid #e9ecef;
    }
    
    /* 为固定状态栏预留空间 */
    .card-custom {
        padding-top: 0px;
    }
    
    .aftersale-list {
        margin-top: 70px;
        background-color: #f5f5f5;
    }
    
    .status-filters .btn {
        flex: 1;
        margin: 0;
        padding: 12px 16px;
        font-size: 14px;
        font-weight: 500;
        border: none;
        background: transparent;
        color: #666;
        border-radius: 0;
        white-space: nowrap;
        min-width: 80px;
        position: relative;
        transition: all 0.3s ease;
    }
    
    .status-filters .btn:hover {
        color: #ff6900;
        background: rgba(255, 105, 0, 0.05);
    }
    
    .status-filters .btn.active {
        background: transparent;
        color: #ff6900;
        font-weight: 600;
    }
    
    .status-filters .btn.active::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 30px;
        height: 3px;
        background: #ff6900;
        border-radius: 2px 2px 0 0;
    }
    
    /* 手机端卡片容器 - 去掉边框 */
    .card-custom {
        border: none;
        box-shadow: none;
        background: transparent;
        padding: 0px;
    }
    
    /* 手机端售后申请项目 - 去掉边框 */
    .aftersale-item {
        border: none;
        box-shadow: none;
        background: #fff;
        margin-bottom: 12px;
        padding: 16px;
        border-radius: 0;
        display: block !important;
    }
    
    .aftersale-item[style*="display: none"] {
        display: none !important;
    }
    
    /* 上部分：售后编号、申请时间、状态 - 一行显示 */
    .aftersale-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 12px;
        padding-bottom: 8px;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .aftersale-header > div {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }
    
    .aftersale-number {
        font-size: 14px;
        font-weight: 500;
    }
    
    .aftersale-time {
        font-size: 12px;
        margin-top: 0;
    }
    
    .status-badge {
        font-size: 11px;
        padding: 4px 8px;
    }
    
    /* 中间：商品信息及价格 - 一行显示 */
    .aftersale-product {
        flex-direction: row;
        align-items: center;
        margin-bottom: 12px;
        padding: 8px 0;
        text-align: left;
    }
    
    .product-image {
        width: 60px;
        height: 60px;
        margin: 0 12px 0 0;
        border-radius: 6px;
        flex-shrink: 0;
    }
    
    .product-info {
        flex-grow: 1;
        margin-bottom: 0;
    }
    
    .product-info .product-name {
        font-size: 14px;
        margin-bottom: 2px;
        line-height: 1.3;
    }
    
    .product-info .product-spec {
        font-size: 12px;
    }
    
    .product-price {
        flex-shrink: 0;
        text-align: right;
    }
    
    .product-price .price-amount {
        font-size: 16px;
    }
    
    /* 下方：退款金额和按钮 - 一行显示 */
    .aftersale-footer {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding-top: 8px;
        border-top: 1px solid #f0f0f0;
        gap: 0;
    }
    
    .refund-amount {
        font-size: 14px;
    }
    
    .refund-amount .amount-value {
        font-size: 14px;
    }
    
    .action-buttons {
        width: auto;
        display: flex;
        gap: 8px;
    }
    
    .action-buttons .btn {
        flex: none;
        min-width: 60px;
        font-size: 12px;
        padding: 6px 12px;
    }
}
