<Window xmlns="https://github.com/avaloniaui"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
        x:Class="Jellyfin2Samsung.InstallingWindow"
		x:DataType="viewModels:InstallingWindowViewModel"
        xmlns:viewModels="clr-namespace:Jellyfin2Samsung.ViewModels"
        Width="300" Height="120"
        CanResize="False"
        WindowStartupLocation="CenterScreen"
        Topmost="True"
        ShowInTaskbar="False"
        Title="Installing">

	<Window.Styles>
		<StyleInclude Source="avares://Avalonia.Themes.Fluent/FluentTheme.xaml"/>
	</Window.Styles>

	<StackPanel VerticalAlignment="Center" HorizontalAlignment="Center">
		<Border Background="{DynamicResource CardBackgroundFillColorDefaultBrush}"
                CornerRadius="4" Padding="10" Margin="5"
				BorderBrush="{DynamicResource CardStrokeColorDefaultBrush}"
                BorderThickness="1">
			<StackPanel>
				<TextBlock x:Name="StatusTextBlock"
                           Text="{Binding StatusText}"
                           Foreground="{DynamicResource SystemControlForegroundBaseHighBrush}"
                           FontWeight="Bold"
                           Margin="0,10"
                           HorizontalAlignment="Center"/>
				<ProgressBar IsIndeterminate="True" Height="20" Width="250"/>
			</StackPanel>
		</Border>
	</StackPanel>
</Window>
