<Window x:Class="NexusInstaller.Views.NexusFreshPocResetDialog"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Bekræft Fresh POC reset"
        Width="680"
        Height="560"
        MinWidth="620"
        MinHeight="520"
        WindowStyle="None"
        ResizeMode="NoResize"
        WindowStartupLocation="CenterOwner"
        Background="Transparent"
        AllowsTransparency="True">
    <Border Background="#CC030508" CornerRadius="24" Padding="1">
        <Border Style="{StaticResource InstallerGlassCardStyle}" Padding="28">
            <Grid>
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="*"/>
                    <RowDefinition Height="Auto"/>
                </Grid.RowDefinitions>

                <StackPanel>
                    <TextBlock Text="Bekræft Fresh POC reset"
                               Style="{StaticResource NexusHeading}"
                               FontSize="26"/>
                    <TextBlock Margin="0,10,0,0"
                               Style="{StaticResource NexusBodyText}"
                               FontSize="14"
                               Text="Dette rydder Nexus POC-data, identity database, enrollment state, update cache og LocalAppData\NinjaNexus efter backup. Det påvirker kun kendte Nexus POC-mapper."/>
                    <Border CornerRadius="12" Padding="14" Margin="0,16,0,0"
                            BorderBrush="#66F59E0B" BorderThickness="1" Background="#18F59E0B">
                        <TextBlock TextWrapping="Wrap" FontSize="13">
                            <Run Text="POC-note: " FontWeight="SemiBold" Foreground="#F59E0B"/>
                            <Run Text="Fremtidig Nexus lock/OS-mode kan begrænse Windows-adgang, men denne POC aktiverer ikke fuld Windows-lockdown."
                                 Foreground="{StaticResource NexusTextSecondaryBrush}"/>
                        </TextBlock>
                    </Border>
                </StackPanel>

                <Grid Grid.Row="1" Margin="0,20,0,20">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="*"/>
                        <ColumnDefinition Width="16"/>
                        <ColumnDefinition Width="*"/>
                    </Grid.ColumnDefinitions>

                    <Border Style="{StaticResource InstallerInnerCardStyle}">
                        <StackPanel>
                            <TextBlock Text="Slettes" Foreground="{StaticResource NexusTextPrimaryBrush}"
                                       FontWeight="SemiBold" FontSize="15" Margin="0,0,0,12"/>
                            <TextBlock Style="{StaticResource NexusBodyText}" Text="• POC data"/>
                            <TextBlock Style="{StaticResource NexusBodyText}" Text="• Identity DB"/>
                            <TextBlock Style="{StaticResource NexusBodyText}" Text="• Enrollment"/>
                            <TextBlock Style="{StaticResource NexusBodyText}" Text="• Cache"/>
                            <TextBlock Style="{StaticResource NexusBodyText}" Text="• Stuck jobs"/>
                        </StackPanel>
                    </Border>

                    <Border Grid.Column="2" Style="{StaticResource InstallerInnerCardStyle}">
                        <StackPanel>
                            <TextBlock Text="Bevares" Foreground="{StaticResource NexusTextPrimaryBrush}"
                                       FontWeight="SemiBold" FontSize="15" Margin="0,0,0,12"/>
                            <TextBlock Style="{StaticResource NexusBodyText}" Text="• Backup"/>
                            <TextBlock Style="{StaticResource NexusBodyText}" Text="• Systemfiler uden for Nexus"/>
                            <TextBlock Style="{StaticResource NexusBodyText}" Text="• Brugerens almindelige filer"/>
                        </StackPanel>
                    </Border>
                </Grid>

                <Grid Grid.Row="2">
                    <Grid.RowDefinitions>
                        <RowDefinition Height="Auto"/>
                        <RowDefinition Height="Auto"/>
                    </Grid.RowDefinitions>

                    <CheckBox x:Name="UnderstandCheck"
                              Content="Jeg forstår at dette nulstiller Nexus POC på denne PC"
                              Style="{StaticResource NexusCheckBox}"
                              Checked="UnderstandCheck_Changed"
                              Unchecked="UnderstandCheck_Changed"/>

                    <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,22,0,0">
                        <Button Content="Annuller"
                                Style="{StaticResource NexusSecondaryButton}"
                                Click="Cancel_Click"
                                Margin="0,0,10,0"/>
                        <Button x:Name="ContinueButton"
                                Content="Fortsæt reset"
                                Style="{StaticResource NexusPrimaryButton}"
                                IsEnabled="False"
                                Click="Continue_Click"/>
                    </StackPanel>
                </Grid>
            </Grid>
        </Border>
    </Border>
</Window>
