<UserControl x:Class="PerformanceMonitorLite.Controls.StyledBalloon"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             Width="360"
             FontFamily="Segoe UI">
    <!-- Button-less themed card for resolved/cleared (and other informational) tray notifications.
         Mirrors SnoozeBalloon's chrome so an "all clear" toast matches the snoozable condition cards
         instead of rendering as a plain, unthemed Windows balloon. -->
    <Border Background="{DynamicResource BackgroundBrush}"
            BorderBrush="{DynamicResource BorderBrush}"
            BorderThickness="1"
            CornerRadius="6"
            TextElement.FontFamily="Segoe UI">
        <StackPanel Margin="14,12,14,12">
            <DockPanel Margin="0,0,0,4">
                <TextBlock x:Name="SeverityIcon"
                           Text="!"
                           FontSize="16"
                           FontWeight="Bold"
                           VerticalAlignment="Center"
                           Margin="0,0,8,0"
                           Foreground="{DynamicResource ForegroundBrush}"/>
                <TextBlock x:Name="TitleText"
                           Text="Alert"
                           FontWeight="SemiBold"
                           FontSize="13"
                           Foreground="{DynamicResource ForegroundBrush}"
                           VerticalAlignment="Center"/>
            </DockPanel>

            <TextBlock x:Name="MessageText"
                       Text=""
                       TextWrapping="Wrap"
                       FontSize="12"
                       Foreground="{DynamicResource ForegroundBrush}"
                       Margin="0"/>
        </StackPanel>
    </Border>
</UserControl>
