<controls:NexusWindow x:Class="NexusShell.Views.NexusSettingsWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:views="clr-namespace:NexusShell.Views"
        xmlns:controls="clr-namespace:NexusShell.Controls"
        Title="Nexus Settings"
        Width="1080" Height="720"
        MinWidth="960" MinHeight="640"
        WindowStartupLocation="CenterOwner"
        ShellCornerRadius="24"
        AppTitle="Nexus Settings"
        AppSubtitle="Første-party indstillinger til Ninja Nexus — ikke Windows Settings."
        IconData="M12,2 L2,7 L2,17 L12,22 L22,17 L22,7 Z">
    <controls:NexusWindow.MainContent>
        <views:NexusSettingsView DataContext="{Binding}"/>
    </controls:NexusWindow.MainContent>
    <controls:NexusWindow.FooterContent>
        <Grid Margin="0,10,0,0">
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
            </Grid.RowDefinitions>
            <TextBlock Grid.Row="0" Text="{Binding StatusMessage}"
                       Foreground="{StaticResource Nexus.Accent.CyanBrush}"
                       FontSize="12" Margin="0,0,0,10" TextWrapping="Wrap"/>
            <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Right">
                <controls:NexusButton Content="Gem" Command="{Binding SaveCommand}"
                                      MinWidth="96" Margin="0,0,10,0">
                    <controls:NexusButton.Style>
                        <Style TargetType="controls:NexusButton" BasedOn="{StaticResource NexusButtonPrimaryStyle}"/>
                    </controls:NexusButton.Style>
                </controls:NexusButton>
                <controls:NexusButton Content="Luk" Command="{Binding CloseCommand}" MinWidth="96"/>
            </StackPanel>
        </Grid>
    </controls:NexusWindow.FooterContent>
</controls:NexusWindow>
