        /* Unified Box Styles (copied from BMP page) */
        .unified-box {
            border: 3px dashed #d1d9e6;
            border-radius: 12px;
            background: white;
            transition: border-color 0.3s, background-color 0.3s;
            margin: 2rem auto;
            max-width: 900px;
            padding: 0 1rem;
        }
        
        .unified-box.dragover {
            border-color: #4a7bff;
            background-color: #f0f5ff;
        }
        
        .unified-content {
            padding: 3rem 2rem;
            text-align: center;
        }
        
        .unified-icon {
            font-size: 48px;
            margin-bottom: 15px;
            color: #6c757d;
        }
        
        .unified-title {
            font-size: 22px;
            font-weight: 600;
            margin-bottom: 10px;
            color: #212529;
        }
        
        .unified-subtitle {
            color: #6c757d;
            margin-bottom: 25px;
            max-width: 500px;
            margin-left: auto;
            margin-right: auto;
        }
        
        .unified-helper {
            font-size: 13px;
            color: #718096;
            margin-top: 8px;
        }
        
        .preview-grid-container {
            padding: 1.5rem;
            display: none;
        }
        
        .compatibility-note {
            background: #f0f9ff;
            border: 1px solid #7dd3fc;
            border-radius: 6px;
            padding: 12px;
            margin-top: 15px;
            font-size: 14px;
            color: #0369a1;
        }
        
        @media (max-width: 768px) {
            .unified-content {
                padding: 2rem 1rem;
            }
            
            .unified-box {
                margin: 1rem auto;
            }
        }
        
        /* Animation for spinner */
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        .modern-button {
            position: relative;
            overflow: hidden;
        }
        
        .modern-button::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.3);
            transform: translate(-50%, -50%);
            transition: width 0.6s, height 0.6s;
        }
        
        .modern-button:hover::before {
            width: 300px;
            height: 300px;
        }
        
        .upload-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
        }
        
        .convert-btn:hover {
            transform: translateY(-3px) scale(1.02);
            box-shadow: 0 8px 24px rgba(66, 153, 225, 0.5);
        }
        
        .download-btn:hover {
            transform: translateY(-2px);
        }
        
        #downloadBtn:hover {
            box-shadow: 0 6px 20px rgba(34, 197, 94, 0.5);
        }
        
        #downloadZipBtn:hover {
            box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
            background: linear-gradient(135deg, #7c3aed, #6d28d9);
        }
        
        #downloadIndividualBtn:hover {
            box-shadow: 0 6px 20px rgba(34, 197, 94, 0.5);
        }
        
        .modern-button:active {
            transform: translateY(0);
        }
        
        #imageGrid::-webkit-scrollbar {
            width: 8px;
        }
        
        #imageGrid::-webkit-scrollbar-track {
            background: #f1f5f9;
            border-radius: 4px;
        }
        
        #imageGrid::-webkit-scrollbar-thumb {
            background: #cbd5e0;
            border-radius: 4px;
        }
        
        #imageGrid::-webkit-scrollbar-thumb:hover {
            background: #a0aec0;
        }
        
        #clearBtn:hover {
            background: #fee2e2;
            border-color: #fca5a5;
        }