/* 订单中心页面特有样式 */
/* 返回图标样式 */
.back-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: white;
    cursor: pointer;
    z-index: 1001;
}
/* 订单状态板块样式 */
.order-status-section {
    background: white;
    padding: 10px 0;
    /* margin: 15px; */
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow-x: auto;
    white-space: nowrap;
}

.order-status-list {
    display: flex;
    justify-content: space-around;
    padding: 5px 10px;
}

.order-status-item {
    padding: 8px 12px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    white-space: nowrap;
    margin: 0 5px;
}

.order-status-item.active {
    background-color: #336df3;
    color: white;
}

.order-status-item:not(.active) {
    background-color: #f0f0f0;
    color: #666;
}

/* 订单列表板块样式 */
.order-list-section {
    background: white;
    padding: 15px;
    margin-top: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.order-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.order-id {
    font-size: 14px;
    color: #666;
}

.order-status {
    font-size: 14px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 4px;
}

.status-pending-payment {
    background-color: #fff8e1;
    color: #ff8f00;
}

.status-pending-review {
    background-color: #e3f2fd;
    color: #1976d2;
}

.status-processing {
    background-color: #e8f5e8;
    color: #388e3c;
}

.status-completed {
    background-color: #f1f8e9;
    color: #689f38;
}

.status-refunded {
    background-color: #ffebee;
    color: #d32f2f;
}

.status-all {
    background-color: #f5f5f5;
    color: #666;
}

.order-product {
    display: flex;
    margin-bottom: 10px;
}

.order-product-image {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    margin-right: 10px;
    overflow: hidden;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.order-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-product-info {
    flex: 1;
}

.order-product-name {
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.order-time {
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
}

.order-amount {
    font-size: 16px;
    font-weight: bold;
    color: #ff6b35;
    text-align: right;
}
