* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Microsoft YaHei', sans-serif;
        }

        body {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            padding: 20px;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            background: #ffffff;
            border-radius: 12px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.1);
            overflow: hidden;
        }

        /* 标题区域 */
        .header-section {
            background: linear-gradient(135deg, #5b86e5 0%, #36d1dc 100%);
            color: white;
            padding: 30px 24px;
            text-align: center;
            box-shadow: 0 2px 10px rgba(91, 134, 229, 0.3);
        }
        .header-section h1 {
            font-size: 28px;
            font-weight: 700;
            margin-bottom: 8px;
            letter-spacing: 1px;
        }
        .header-section p {
            font-size: 14px;
            opacity: 0.9;
        }

        /* 查询区域 */
        .search-section {
            padding: 30px 24px;
            border-bottom: 1px solid #f0f4f9;
            background: #f9fbff;
            text-align: center;
        }
        .search-section h2 {
            font-size: 18px;
            color: #333;
            margin-bottom: 20px;
            font-weight: 600;
        }
        .search-section p {
            color: #666;
            font-size: 14px;
            margin-bottom: 20px;
        }
        .search-box {
            display: flex;
            gap: 12px;
            align-items: center;
            flex-wrap: wrap;
            max-width: 600px;
            margin: 0 auto;
        }
        .search-input {
            flex: 1;
            min-width: 250px;
            padding: 14px 18px;
            border: 2px solid #e1e8f0;
            border-radius: 8px;
            font-size: 14px;
            outline: none;
            transition: all 0.3s ease;
            background: white;
        }
        .search-input:focus {
            border-color: #5b86e5;
            box-shadow: 0 0 0 4px rgba(91, 134, 229, 0.1);
            transform: translateY(-1px);
        }
        .search-btn {
            padding: 14px 30px;
            background: linear-gradient(135deg, #5b86e5 0%, #36d1dc 100%);
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(91, 134, 229, 0.2);
        }
        .search-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(91, 134, 229, 0.4);
        }
        .search-btn:active {
            transform: translateY(0);
        }
        .search-btn:disabled {
            background: #a0cfff;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }

        /* 统计区域 */
        .stats-section {
            padding: 24px;
            display: flex;
            gap: 24px;
            flex-wrap: wrap;
            background: #f8faff;
            border-bottom: 1px solid #f0f4f9;
        }
        .stat-card {
            flex: 1;
            min-width: 200px;
            background: #ffffff;
            padding: 20px;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.06);
            transition: all 0.3s ease;
            border-top: 4px solid #5b86e5;
        }
        .stat-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
        }
        .stat-card label {
            display: block;
            font-size: 14px;
            color: #64748b;
            margin-bottom: 10px;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .stat-card .value {
            font-size: 32px;
            color: #5b86e5;
            font-weight: 700;
        }
        .stat-card .value::after {
            content: '单';
            font-size: 14px;
            font-weight: 500;
            color: #64748b;
            margin-left: 4px;
        }

        /* 状态标签区域 */
        .status-tags {
            padding: 16px 24px;
            font-size: 13px;
            color: #475569;
            border-bottom: 1px solid #f0f4f9;
            background: #ffffff;
            display: flex;
            flex-wrap: wrap;
            gap: 16px;
        }
        .status-tag-item {
            display: inline-flex;
            align-items: center;
            padding: 8px 16px;
            background: #f8fafc;
            border-radius: 20px;
            transition: all 0.3s ease;
            border: 1px solid transparent;
        }
        .status-tag-item:hover {
            background: #f0f4f9;
            border-color: #e2e8f0;
            transform: translateY(-1px);
        }
        .status-dot {
            display: inline-block;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            margin-right: 6px;
            vertical-align: middle;
        }
        .dot-queue { background: #ffc107; }
        .dot-finish { background: #10b981; }
        .dot-error { background: #ef4444; }
        .dot-processing { background: #3b82f6; }
        .dot-unknown { background: #94a3b8; }

        /* 订单列表区域 */
        .order-section {
            padding: 24px;
            background: #ffffff;
        }
        .order-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 14px;
            color: #64748b;
            margin-bottom: 20px;
            padding-bottom: 12px;
            border-bottom: 2px solid #f1f5f9;
            font-weight: 500;
        }
        .order-header .mobile-tip {
            color: #5b86e5;
            font-weight: 500;
        }

        /* 表格容器 */
        .table-wrapper {
            width: 100%;
            overflow-x: auto;
            scrollbar-width: thin;
            border-radius: 8px;
            box-shadow: 0 1px 4px rgba(0,0,0,0.04);
        }
        .order-table {
            width: 100%;
            min-width: 800px;
            border-collapse: collapse;
            font-size: 13px;
            background: #ffffff;
        }
        .order-table th {
            background: linear-gradient(135deg, #5b86e5 0%, #36d1dc 100%);
            padding: 14px 12px;
            text-align: left;
            color: white;
            font-weight: 600;
            border-bottom: none;
        }
        .order-table td {
            padding: 14px 12px;
            color: #1e293b;
            border-bottom: 1px solid #f1f5f9;
            transition: background-color 0.2s ease;
        }
        .order-table tr:hover td {
            background: #f8faff;
        }
        .order-table tr:nth-child(even) td {
            background: #fafbff;
        }
        .order-table tr:nth-child(even):hover td {
            background: #f0f4ff;
        }
        .order-empty {
            padding: 60px 0;
            text-align: center;
            color: #94a3b8;
            font-size: 14px;
            background: #f8fafc;
        }
        .order-empty p {
            margin-bottom: 6px;
        }
        .order-empty .empty-tip {
            font-size: 12px;
            color: #cbd5e1;
        }

        /* 操作按钮样式 */
        .operate-btn {
            display: inline-block;
            padding: 6px 12px;
            border-radius: 6px;
            font-size: 13px;
            cursor: pointer;
            margin-right: 8px;
            text-decoration: none;
            transition: all 0.3s ease;
            font-weight: 500;
            border: 1px solid transparent;
        }
        .btn-view {
            background: #e0f2fe;
            color: #3b82f6;
            border: 1px solid #dbeafe;
        }
        .btn-view:hover {
            background: #bae6fd;
            transform: translateY(-1px);
            box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
        }
        .btn-repair {
            background: #fee2e2;
            color: #ef4444;
            border: 1px solid #fecaca;
        }
        .btn-repair:hover {
            background: #fecaca;
            transform: translateY(-1px);
            box-shadow: 0 2px 8px rgba(239, 68, 68, 0.2);
        }
        .btn-repair:disabled {
            background: #f8fafc;
            color: #94a3b8;
            border: 1px solid #e2e8f0;
            cursor: not-allowed;
        }
        .btn-disabled {
            background: #f8fafc;
            color: #94a3b8;
            border: 1px solid #e2e8f0;
            cursor: not-allowed;
        }

        /* 详情弹窗 */
        .detail-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.6);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            backdrop-filter: blur(4px);
            padding: 20px;
            animation: fadeIn 0.3s ease;
        }
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        .modal-content {
            width: 90%;
            max-width: 500px;
            background: #ffffff;
            border-radius: 12px;
            padding: 24px;
            max-height: 80vh;
            overflow-y: auto;
            box-shadow: 0 20px 60px rgba(0,0,0,0.3);
            animation: slideUp 0.3s ease;
            border-top: 4px solid #5b86e5;
        }
        @keyframes slideUp {
            from { 
                opacity: 0;
                transform: translateY(30px);
            }
            to { 
                opacity: 1;
                transform: translateY(0);
            }
        }
        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 16px;
            padding-bottom: 12px;
            border-bottom: 1px solid #e2e8f0;
        }
        .modal-title {
            font-size: 16px;
            font-weight: 600;
            color: #1e293b;
        }
        .modal-close {
            width: 28px;
            height: 28px;
            line-height: 28px;
            text-align: center;
            cursor: pointer;
            color: #64748b;
            font-size: 20px;
            border-radius: 50%;
            transition: all 0.2s ease;
        }
        .modal-close:hover {
            background: #f1f5f9;
            color: #ef4444;
        }
        .modal-body {
            font-size: 13px;
        }
        .detail-item {
            display: flex;
            padding: 10px 0;
            border-bottom: 1px solid #f8fafc;
        }
        .detail-item:last-child {
            border-bottom: none;
        }
        .detail-label {
            width: 100px;
            color: #64748b;
            font-weight: 500;
        }
        .detail-value {
            flex: 1;
            color: #1e293b;
        }
        .error-msg {
            color: #ef4444;
            font-weight: 500;
            padding: 2px 6px;
            background: #fef2f2;
            border-radius: 3px;
        }

        /* 加载和错误区域 */
        .loading, .error-box {
            padding: 48px;
            text-align: center;
            display: none;
        }
        .loading-spinner {
            width: 40px;
            height: 40px;
            border: 4px solid #f1f5f9;
            border-top: 4px solid #5b86e5;
            border-radius: 50%;
            margin: 0 auto 16px;
            animation: spin 1s linear infinite;
        }
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        .loading p {
            color: #64748b;
            font-size: 15px;
            font-weight: 500;
        }
        .error-box {
            background: #fef2f2;
            color: #dc2626;
            border: 2px solid #fecaca;
            border-radius: 10px;
            padding: 20px;
            margin: 24px;
            animation: shake 0.5s ease;
        }
        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            25% { transform: translateX(-10px); }
            75% { transform: translateX(10px); }
        }
        .error-box p {
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 15px;
            font-weight: 500;
        }
        .error-box p::before {
            content: '⚠️';
            margin-right: 6px;
        }

        /* 补单加载提示 */
        .repair-loading {
            display: inline-block;
            width: 12px;
            height: 12px;
            border: 2px solid #f3f3f3;
            border-top: 2px solid #ef4444;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            vertical-align: middle;
            margin-right: 4px;
        }

        /* 响应式适配 */
        @media (max-width: 768px) {
            body {
                padding: 12px;
            }
            .container {
                border-radius: 8px;
            }
            .header-section {
                padding: 24px 16px;
            }
            .header-section h1 {
                font-size: 24px;
            }
            .search-box {
                flex-direction: column;
                align-items: stretch;
            }
            .search-section {
                padding: 24px 16px;
            }
            .stats-section {
                padding: 16px;
                gap: 12px;
            }
            .stat-card {
                min-width: 100%;
                margin-bottom: 12px;
                padding: 16px;
            }
            .stat-card .value {
                font-size: 28px;
            }
            .status-tags {
                padding: 12px 16px;
                gap: 12px;
            }
            .status-tag-item {
                margin-bottom: 8px;
                padding: 6px 12px;
                font-size: 12px;
            }
            .order-section {
                padding: 16px;
            }
            .order-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 8px;
                font-size: 12px;
            }
            .operate-btn {
                display: block;
                margin-bottom: 8px;
                text-align: center;
            }
            .loading, .error-box {
                padding: 30px 16px;
            }
            .modal-content {
                width: 95%;
                padding: 20px;
            }
        }