/* Orders List Styles */

.order-header {
    background: #fff;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.order-header .back-btn { font-size: 18px; color: #333; }
.order-header .header-title { font-size: 16px; font-weight: 600; color: #333; }

.order-category-switch {
    background: #fff;
    display: flex;
    padding: 10px 16px;
    gap: 20px;
    border-bottom: 1px solid #f5f5f5;
}

.cat-item {
    font-size: 15px;
    color: #999;
    font-weight: 500;
    padding: 6px 0;
    position: relative;
}

.cat-item.active {
    color: #333;
    font-size: 17px;
    font-weight: 700;
}

.cat-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    right: 20%;
    height: 3px;
    background: #007AFF;
    border-radius: 2px;
}

.app-container {
    background: #f8f9fa;
}

.order-tabs {
    display: flex;
    background: #fff;
    padding: 12px 16px;
    gap: 24px;
    border-bottom: 1px solid #f5f5f5;
}

.o-tab {
    font-size: 13px;
    color: #666;
    padding-bottom: 4px;
    position: relative;
}

.o-tab.active {
    color: #007AFF;
    font-weight: 600;
}

.o-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #007AFF;
}

.order-list {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.order-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
}

.order-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 13px;
}

.order-type { color: #333; font-weight: 600; }
.order-status.blue { color: #007AFF; }
.order-status.orange { color: #ff9000; }
.order-status.gray { color: #999; }

.order-main {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.o-avatar { width: 60px; height: 60px; border-radius: 8px; }
.o-info { flex: 1; }
.o-title { font-size: 15px; color: #333; margin-bottom: 6px; }
.o-time { font-size: 12px; color: #999; margin-bottom: 8px; }
.o-price { font-size: 14px; font-weight: 700; color: #333; }

.order-bottom {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid #f5f5f5;
}

.order-bottom button {
    padding: 6px 16px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
}

.btn-secondary { background: transparent; border: 1px solid #ddd; color: #666; }
.btn-primary { background: #007AFF; border: none; color: #fff; }

.empty-state {
    padding: 60px 0;
    text-align: center;
    color: #bbb;
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state p {
    font-size: 14px;
}
