/* 我的订单页面样式 */
.order-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
    z-index: 100;
    height: 50px;
}

.back-btn {
    background: none;
    border: none;
    font-size: 18px;
    color: #333;
    margin-right: 15px;
}

.order-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.order-content {
    margin-top: 50px;
    padding-bottom: 70px;
}

/* 订单状态标签 */
.order-tabs {
    display: flex;
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 50px;
    z-index: 99;
}

.order-tab {
    flex: 1;
    padding: 15px 5px;
    text-align: center;
    background: none;
    border: none;
    font-size: 14px;
    color: #666;
    position: relative;
    transition: all 0.3s ease;
}

.order-tab.active {
    color: #ff4757;
    font-weight: 600;
}

.order-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: #ff4757;
}

/* 订单列表 */
.order-list {
    padding: 0 15px;
}

.order-item {
    background: #fff;
    margin: 10px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.order-header-info {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-number {
    font-size: 14px;
    color: #666;
}

.order-status {
    font-size: 14px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
}

.status-pending {
    color: #ff6b35;
    background: #fff2e8;
}

.status-shipped {
    color: #2ed573;
    background: #e8f5e8;
}

.status-delivered {
    color: #3742fa;
    background: #e8eaff;
}

.status-waiting {
    color: #ffa502;
    background: #fff8e1;
}

.order-products {
    padding: 15px;
}

.order-product {
    display: flex;
    margin-bottom: 15px;
}

.order-product:last-child {
    margin-bottom: 0;
}

.product-image {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    object-fit: cover;
    margin-right: 12px;
}

.product-info {
    flex: 1;
}

.product-name {
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
    line-height: 1.4;
}

.product-specs {
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
}

.product-price {
    font-size: 14px;
    color: #ff4757;
    font-weight: 600;
}

.product-quantity {
    font-size: 12px;
    color: #666;
    margin-left: 5px;
}

.order-footer {
    padding: 15px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-total {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.order-actions {
    display: flex;
    gap: 10px;
}

.order-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    font-size: 12px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.order-btn.primary {
    background: #ff4757;
    color: #fff;
    border-color: #ff4757;
}

.order-btn:hover {
    opacity: 0.8;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 15px;
    color: #ddd;
}

.empty-text {
    font-size: 16px;
    margin-bottom: 20px;
}

.empty-btn {
    padding: 12px 24px;
    background: #ff4757;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
}

/* 隐藏非活动标签内容 */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* 物流信息 */
.logistics-info {
    background: #f8f9fa;
    padding: 12px 15px;
    margin: 10px 0;
    border-radius: 6px;
    font-size: 12px;
    color: #666;
}

.logistics-company {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.tracking-number {
    color: #ff4757;
}