<Window xmlns="https://github.com/avaloniaui"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        x:Class="VisionBuilder.UI.Avalonia.Uno.Views.RecipeSelectionDialog"
        Title="Select Recipe"
        Width="800" Height="600"
        WindowStartupLocation="CenterOwner"
        Background="White">

    <Grid RowDefinitions="*,Auto">
        <ListBox x:Name="RecipeList"
                 Grid.Row="0"
                 Margin="8"
                 Background="White"
                 SelectionMode="Single">
            <ListBox.ItemsPanel>
                <ItemsPanelTemplate>
                    <WrapPanel Orientation="Horizontal" />
                </ItemsPanelTemplate>
            </ListBox.ItemsPanel>
        </ListBox>

        <StackPanel Grid.Row="1"
                    Orientation="Horizontal"
                    HorizontalAlignment="Right"
                    Margin="8" Spacing="8">
            <Button x:Name="BtnCreateNew"
                    Content="CREATE NEW RECIPE"
                    IsVisible="False"
                    Height="48" Padding="16,0"
                    FontSize="14" FontWeight="Bold"
                    HorizontalContentAlignment="Center"
                    VerticalContentAlignment="Center"
                    BorderBrush="#D32F2F"
                    BorderThickness="2"
                    Background="White"
                    Foreground="#D32F2F" />
            <Button x:Name="BtnCancel"
                    Content="CANCEL"
                    Height="48" Width="176" Padding="16,0"
                    FontSize="14" FontWeight="Bold"
                    HorizontalContentAlignment="Center"
                    VerticalContentAlignment="Center"
                    BorderBrush="#D32F2F"
                    BorderThickness="2"
                    Background="White"
                    Foreground="#D32F2F" />
        </StackPanel>
    </Grid>
</Window>
