@charset "UTF-8";
/* 主要内容区域 */
.page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* 订单查询页面样式 */
.order-container {
    background-color: white;
    border-radius: 8px;
    padding: 40px;
    margin: 30px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e1e5e9;
}

.order-header {
    text-align: center;
    margin-bottom: 40px;
}

.order-header h1 {
    color: #1a1a2e;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
    font-size: 28px;
}

.order-header h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
}

.order-header p {
    color: #6c757d;
    max-width: 700px;
    margin: 0 auto;
    font-size: 16px;
}

/* 查询表单 */
.search-form-container {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 40px;
    border: 1px solid #e1e5e9;
}

.search-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e1e5e9;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s;
    background-color: white;
    color: #333;
}

.form-group input:focus, .form-group select:focus {
    border-color: #0066cc;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.form-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.btn {
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: white;
    min-width: 150px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0052a3 0%, #003d7a 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 102, 204, 0.3);
}

.btn-secondary {
    background: #f8f9fa;
    color: #495057;
    border: 1px solid #e1e5e9;
}

.btn-secondary:hover {
    background: #e9ecef;
}

/* 查询结果 */
.results-container {
    display: none;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e1e5e9;
}

.results-header h3 {
    color: #1a1a2e;
    font-size: 18px;
}

.results-count {
    color: #6c757d;
    font-size: 14px;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.no-results i {
    font-size: 48px;
    margin-bottom: 20px;
    color: #adb5bd;
}

.no-results h4 {
    margin-bottom: 10px;
    color: #495057;
}

/* 订单列表 */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-card {
    background-color: white;
    border-radius: 8px;
    border: 1px solid #e1e5e9;
    overflow: hidden;
    transition: all 0.3s;
}

.order-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.order-header-bar {
    background-color: #f8f9fa;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e1e5e9;
}

.order-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.order-id {
    font-weight: 600;
    color: #333;
}

.order-date {
    color: #6c757d;
    font-size: 14px;
}

.order-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-completed {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-pending {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.status-processing {
    background-color: #cce5ff;
    color: #004085;
    border: 1px solid #b8daff;
}

.status-failed {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.order-details {
    padding: 20px;
}

.order-row {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f2f5;
}

.order-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.order-label {
    flex: 0 0 150px;
    color: #6c757d;
    font-size: 14px;
}

.order-value {
    flex: 1;
    font-weight: 500;
    color: #333;
}

.product-name {
    color: #0066cc;
    text-decoration: none;
}

.product-name:hover {
    text-decoration: underline;
}

.order-price {
    font-weight: 700;
    color: #dc3545;
    font-size: 18px;
}

.order-actions {
    padding: 15px 20px;
    background-color: #f8f9fa;
    border-top: 1px solid #e1e5e9;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.action-btn {
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    border: none;
}

.btn-view {
    background-color: white;
    color: #0066cc;
    border: 1px solid #0066cc;
}

.btn-view:hover {
    background-color: #0066cc;
    color: white;
}

.btn-download {
    background-color: #28a745;
    color: white;
    border: 1px solid #28a745;
}

.btn-download:hover {
    background-color: #218838;
}

.btn-contact {
    background-color: #6c757d;
    color: white;
    border: 1px solid #6c757d;
}

.btn-contact:hover {
    background-color: #5a6268;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.pagination-btn {
    padding: 8px 15px;
    margin: 0 5px;
    background-color: white;
    border: 1px solid #e1e5e9;
    border-radius: 4px;
    color: #495057;
    cursor: pointer;
    transition: all 0.3s;
}

.pagination-btn:hover {
    background-color: #f8f9fa;
}

.pagination-btn.active {
    background-color: #0066cc;
    color: white;
    border-color: #0066cc;
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
/* 响应式设计 */
@media (max-width: 768px) {
    .header-container {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
        flex-direction: column;
        align-items: center;
        padding: 20px;
        transition: left 0.3s ease;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu a {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 12px;
    }
    
    .order-container {
        padding: 20px;
        margin: 20px 0;
    }
    
    .order-header h1 {
        font-size: 24px;
    }
    
    .search-form-container {
        padding: 20px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .order-header-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .order-info {
        flex-direction: column;
        gap: 5px;
    }
    
    .order-row {
        flex-direction: column;
        gap: 5px;
    }
    
    .order-label {
        flex: none;
    }
    
    .order-actions {
        flex-direction: column;
    }
    
    .action-btn {
        width: 100%;
        text-align: center;
    }
    
    .page-container {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .form-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .order-details {
        padding: 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}