.upload-zone {
            border: 2px dashed #ccc;
            border-radius: 12px;
            padding: 2.5rem 1.5rem;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
            background-color: #fafbfc;
            position: relative;
            margin: 1rem 0;
        }
        .upload-zone:hover {
            border-color: var(--primary-color);
            background-color: #f0f4ff;
        }
        .upload-zone.dragover {
            border-color: var(--primary-color);
            background-color: #e8f0fe;
            transform: scale(1.01);
        }
        .upload-zone .upload-icon {
            font-size: 3.5rem;
            color: var(--primary-color);
            margin-bottom: 0.5rem;
        }
        .upload-zone .upload-text {
            font-size: 1.2rem;
            font-weight: 500;
            color: #333;
        }
        .upload-zone .upload-subtext {
            color: #6c757d;
            font-size: 0.95rem;
        }
        .upload-zone input[type="file"] {
            position: absolute;
            inset: 0;
            opacity: 0;
            cursor: pointer;
        }
        .example-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 0.6rem;
            margin: 1rem 0;
        }
        .example-btn i {
            margin-right: 0.4rem;
        }
        .table-preview-wrap {
            background: #fff;
            border: 1px solid #dee2e6;
            border-radius: 8px;
            padding: 1rem;
            margin: 1rem 0;
            max-height: 380px;
            overflow: auto;
        }
        .table-preview-wrap table {
            width: 100%;
            border-collapse: collapse;
            font-size: 0.9rem;
        }
        .table-preview-wrap table th {
            background-color: #f1f3f5;
            font-weight: 600;
            padding: 0.5rem 0.75rem;
            border: 1px solid #dee2e6;
            text-align: left;
            position: sticky;
            top: 0;
            z-index: 2;
            background: #e9ecef;
        }
        .table-preview-wrap table td {
            padding: 0.5rem 0.75rem;
            border: 1px solid #dee2e6;
        }
        .table-preview-wrap table tr:nth-child(even) {
            background-color: #f8f9fa;
        }
        .code-output {
            background: #1e1e2e;
            color: #d4d4d4;
            border-radius: 8px;
            padding: 1rem;
            font-family: 'Fira Code', 'Cascadia Code', 'Consolas', monospace;
            font-size: 0.85rem;
            max-height: 380px;
            overflow: auto;
            white-space: pre-wrap;
            word-break: break-all;
            margin: 1rem 0;
            position: relative;
        }
        .code-output .code-copy-btn {
            position: sticky;
            top: 0.5rem;
            float: right;
            background: rgba(255, 255, 255, 0.08);
            border: none;
            color: #ccc;
            padding: 0.3rem 0.8rem;
            border-radius: 4px;
            font-size: 0.8rem;
            cursor: pointer;
            transition: background 0.2s;
        }
        .code-output .code-copy-btn:hover {
            background: rgba(255, 255, 255, 0.18);
            color: #fff;
        }
        .code-output .code-copy-btn.copied {
            background: #2d8a4e;
            color: #fff;
        }
        .stats-bar {
            display: flex;
            flex-wrap: wrap;
            gap: 1.5rem;
            padding: 0.75rem 0;
            border-bottom: 1px solid #eee;
            margin-bottom: 1rem;
        }
        .stats-bar .stat-item {
            font-size: 0.9rem;
            color: #495057;
        }
        .stats-bar .stat-item strong {
            color: #212529;
        }
        .empty-state {
            text-align: center;
            padding: 2rem 1rem;
            color: #6c757d;
        }
        .empty-state i {
            font-size: 2.5rem;
            color: #ced4da;
            margin-bottom: 0.5rem;
        }
        .result-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin: 0.5rem 0 1rem 0;
        }
        .section-title-custom {
            font-weight: 700;
            margin-top: 2.2rem;
            margin-bottom: 1.2rem;
            color: var(--accent-color, #2c3e50);
            font-size: 1.5rem;
            border-bottom: 2px solid rgba(70, 130, 180, 0.15);
            padding-bottom: 0.5rem;
        }
        .subsection-title-custom {
            font-weight: 600;
            margin-top: 1.8rem;
            margin-bottom: 0.8rem;
            color: var(--accent-color, #2c3e50);
            font-size: 1.2rem;
        }
        .property-table th,
        .property-table td {
            padding: 0.7rem 0.9rem;
            border: 1px solid #dee2e6;
            text-align: left;
        }
        .case-study-box {
            background-color: #f0f7fa;
            border-radius: 8px;
            padding: 1.5rem;
            margin: 1.5rem 0;
            border-left: 5px solid var(--primary-color);
        }
        .badge-format {
            background: #e9ecef;
            color: #495057;
            padding: 0.2rem 0.6rem;
            border-radius: 4px;
            font-size: 0.75rem;
            font-weight: 500;
        }
        .file-info {
            font-size: 0.9rem;
            color: #495057;
            padding: 0.4rem 0;
        }
        .file-info i {
            margin-right: 0.4rem;
            color: var(--primary-color);
        }
        @media (max-width: 768px) {
            .upload-zone {
                padding: 1.5rem 0.8rem;
            }
            .upload-zone .upload-icon {
                font-size: 2.5rem;
            }
            .stats-bar {
                gap: 0.8rem;
            }
            .code-output {
                font-size: 0.75rem;
                max-height: 280px;
            }
            .table-preview-wrap {
                max-height: 280px;
            }
        }
            h1 { font-size: 1.5rem; margin-bottom: 1.5rem; color: #1a1a2e; }
            .data-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
            .data-table th { background: #f1f3f5; font-weight: 600; padding: 0.65rem 0.9rem; border: 1px solid #dee2e6; text-align: left; }
            .data-table td { padding: 0.55rem 0.9rem; border: 1px solid #dee2e6; }
            .data-table tr:nth-child(even) { background: #f8f9fa; }
            .data-table tr:hover { background: #e9ecef; }