/* 订单页面样式 */
.order-page {
    margin: 20px 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.order-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.order-header h2 {
    margin: 0 0 20px;
    font-size: 24px;
    color: #333;
}

.order-tabs {
    display: flex;
    gap: 20px;
}

.order-tabs .tab {
    padding: 8px 16px;
    color: #666;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
}

.order-tabs .tab:hover {
    color: #1890ff;
    background: #e6f7ff;
}

.order-tabs .tab.active {
    color: #1890ff;
    background: #e6f7ff;
    font-weight: bold;
}

.order-content {
    padding: 20px;
}

.order-list {
    margin-bottom: 20px;
}

.order-item {
    margin-bottom: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.order-item .order-header {
    padding: 15px;
    background: #fafafa;
    border-bottom: 1px solid #eee;
}

.order-info {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
}

.order-time, .order-number {
    color: #666;
    font-size: 14px;
}

.order-status {
    text-align: right;
}

.status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
}

.status.pending {
    color: #faad14;
    background: #fff7e6;
}

.status.shipping {
    color: #1890ff;
    background: #e6f7ff;
}

.status.completed {
    color: #52c41a;
    background: #f6ffed;
}

.status.cancelled {
    color: #ff4d4f;
    background: #fff1f0;
}

.order-body {
    padding: 15px;
}

.product-list {
    margin-bottom: 15px;
}

.product-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.product-item:last-child {
    border-bottom: none;
}

.product-image {
    width: 80px;
    height: 80px;
    margin-right: 15px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.product-info {
    flex: 1;
}

.product-info h3 {
    margin: 0 0 5px;
    font-size: 16px;
    color: #333;
}

.product-desc {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.product-price {
    width: 120px;
    text-align: right;
}

.price {
    font-size: 16px;
    color: #ff4d4f;
    font-weight: bold;
}

.product-quantity {
    width: 60px;
    text-align: center;
}

.quantity {
    font-size: 14px;
    color: #666;
}

.order-summary {
    padding: 15px;
    background: #fafafa;
    border-radius: 4px;
}

.summary-item {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
}

.summary-item:last-child {
    margin-bottom: 0;
}

.summary-item.total {
    font-weight: bold;
}

.summary-item .label {
    margin-right: 10px;
    color: #666;
}

.summary-item .value {
    color: #333;
    min-width: 100px;
    text-align: right;
}

.order-footer {
    padding: 15px;
    text-align: right;
    border-top: 1px solid #eee;
}

.order-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.btn-cancel, .btn-pay, .btn-view-logistics, .btn-confirm, .btn-delete {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-cancel {
    color: #666;
    background: #f5f5f5;
}

.btn-cancel:hover {
    background: #e6e6e6;
}

.btn-pay {
    color: #fff;
    background: #ff4d4f;
}

.btn-pay:hover {
    background: #ff7875;
}

.btn-view-logistics {
    color: #1890ff;
    background: #e6f7ff;
}

.btn-view-logistics:hover {
    background: #bae7ff;
}

.btn-confirm {
    color: #52c41a;
    background: #f6ffed;
}

.btn-confirm:hover {
    background: #d9f7be;
}

.btn-delete {
    color: #ff4d4f;
    background: #fff1f0;
}

.btn-delete:hover {
    background: #ffccc7;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 20px;
}

.page-item {
    padding: 8px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.page-item:hover {
    border-color: #1890ff;
    color: #1890ff;
}

.page-item.active {
    border-color: #1890ff;
    background: #1890ff;
    color: #fff;
}

.page-item.disabled {
    color: #d9d9d9;
    cursor: not-allowed;
}

.page-item.disabled:hover {
    border-color: #d9d9d9;
    color: #d9d9d9;
}

.page-link {
    color: inherit;
    text-decoration: none;
} 