<UserControl x:Class="CamBooth.App.Core.BaseDialogOverlay"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             Visibility="Collapsed">
    <!-- Semi-transparent backdrop -->
    <Grid Background="#CC000000">
        <Border Background="#E61A1A1A"
                BorderBrush="#66FFFFFF"
                BorderThickness="1"
                CornerRadius="20"
                Padding="48"
                MaxWidth="900"
                HorizontalAlignment="Center"
                VerticalAlignment="Center">
            <StackPanel HorizontalAlignment="Center">

                <!-- Optional title -->
                <TextBlock x:Name="TitleTextBlock"
                           Foreground="White"
                           FontSize="36"
                           FontWeight="Bold"
                           TextAlignment="Center"
                           Margin="0,0,0,28"
                           Visibility="Collapsed"/>

                <!-- Injectable content -->
                <ContentPresenter x:Name="InnerContentPresenter"
                                  HorizontalAlignment="Center"/>

                <!-- Buttons -->
                <StackPanel Orientation="Horizontal"
                            HorizontalAlignment="Center"
                            Margin="0,36,0,0">
                    <Button x:Name="PrimaryActionButton"
                            Style="{StaticResource PrimaryActionButtonStyle}"
                            Foreground="#1F1A00"
                            MinWidth="200"
                            Height="60"
                            FontSize="18"
                            FontWeight="Bold"
                            Margin="0,0,16,0"
                            Visibility="Collapsed"
                            Click="PrimaryButton_Click"/>
                    <Button x:Name="CloseActionButton"
                            Style="{StaticResource PrimaryActionButtonStyle}"
                            Foreground="#1F1A00"
                            Content="Schließen"
                            MinWidth="200"
                            Height="60"
                            FontSize="18"
                            FontWeight="Bold"
                            Click="CloseButton_Click"/>
                </StackPanel>

            </StackPanel>
        </Border>
    </Grid>
</UserControl>
