.upload-area {
            border: 2px dashed #cbd5e1;
            border-radius: 1rem;
            background-color: #f8fafc;
            padding: 2rem;
            text-align: center;
            transition: all 0.2s ease;
            cursor: pointer;
        }
        .upload-area:hover, .upload-area.drag-over {
            border-color: var(--primary-color, #0d6efd);
            background-color: rgba(13, 110, 253, 0.05);
        }
        .upload-icon {
            font-size: 3rem;
            color: #94a3b8;
            margin-bottom: 1rem;
        }
        .image-preview {
            max-width: 100%;
            max-height: 200px;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            object-fit: contain;
            background: #f1f5f9;
        }
        .result-textarea {
            font-family: 'SF Mono', 'Monaco', 'Cascadia Code', monospace;
            font-size: 0.85rem;
            background-color: #f1f5f9;
            border: 1px solid #e2e8f0;
            resize: vertical;
            white-space: pre-wrap;
            word-break: break-all;
        }
        .copy-btn-group {
            gap: 0.5rem;
        }
        .file-info {
            background-color: #f1f5f9;
            border-radius: 12px;
            padding: 0.75rem 1rem;
            font-size: 0.9rem;
        }
        .badge-size {
            background-color: #e9ecef;
            color: #1e293b;
            font-weight: 500;
        }
        .math-equation, .deep-dive {
            text-align: justify;
        }
        .method-card {
            background: white;
            border-radius: 16px;
            padding: 1.25rem;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
            border: 1px solid #eef2f6;
            height: 100%;
        }
        .glow-text {
            color: var(--primary-color);
        }
        .privacy-badge {
            background: #e6f7e6;
            border-left: 4px solid #28a745;
        }
        .result-header {
            font-size: 1.1rem;
            font-weight: 600;
            border-bottom: 1px solid #e2e8f0;
            padding-bottom: 0.5rem;
            margin-bottom: 1rem;
        }