<Border x:Class="NexusShell.Controls.NexusToast"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        x:Name="Root"
        Style="{StaticResource NexusToastStyle}"
        MinWidth="280" MaxWidth="420">
    <StackPanel>
        <TextBlock Text="{Binding Title, ElementName=Root}"
                   Foreground="{StaticResource Nexus.Text.PrimaryBrush}"
                   FontWeight="SemiBold" FontSize="{StaticResource Nexus.Font.Size.Body}"/>
        <TextBlock Text="{Binding Message, ElementName=Root}"
                   Foreground="{StaticResource Nexus.Text.SecondaryBrush}"
                   FontSize="12" Margin="0,4,0,0" TextWrapping="Wrap"
                   Visibility="{Binding HasMessage, ElementName=Root, Converter={StaticResource BoolToVisibility}}"/>
    </StackPanel>
</Border>
