@if (!empty($image))
                                        

                                    @endif
                                    
                                        {{ $message }}
                                        @if(!empty($footer))
                                            
{{ $footer }}
                                        @endif
                                    
 
                                    @foreach ($buttons as $btn)
                                        @php
                                            $display = $btn->buttonText->displayText ?? $btn->buttonText;
                                            $type = $display->type ?? 'reply';
                                            $text = $display->displayText ?? '';
                                            $icon = match($type) {
                                                'call' => 'phone-call',
                                                'copy' => 'clipboard-copy',
                                                default => 'arrow-right',
                                            };
                                        @endphp
                                        
                                            {{ $text }}
                                            
                                        
                                    @endforeach