<Window x:Class="ITNexusAgent.UI.LogWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="IT Nexus Agent – Log"
        Width="700" Height="500"
        WindowStartupLocation="CenterScreen"
        Background="#1E1E2E" FontFamily="Consolas">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
            <RowDefinition Height="40"/>
        </Grid.RowDefinitions>
        <TextBox x:Name="LogText" Grid.Row="0"
                 Background="#1E1E2E" Foreground="#CDD6F4"
                 FontSize="11" IsReadOnly="True"
                 VerticalScrollBarVisibility="Auto"
                 HorizontalScrollBarVisibility="Auto"
                 BorderThickness="0" Padding="12"
                 TextWrapping="NoWrap"/>
        <Border Grid.Row="1" Background="#181825" Padding="12,0">
            <StackPanel Orientation="Horizontal" VerticalAlignment="Center">
                <Button Content="Aktualisieren" Height="26" Padding="10,0"
                        Click="Refresh_Click" Background="#313244" Foreground="#CDD6F4"
                        BorderThickness="0" FontFamily="Segoe UI" FontSize="11" Cursor="Hand"/>
                <Button Content="Log leeren" Height="26" Padding="10,0" Margin="8,0,0,0"
                        Click="Clear_Click" Background="#313244" Foreground="#F38BA8"
                        BorderThickness="0" FontFamily="Segoe UI" FontSize="11" Cursor="Hand"/>
            </StackPanel>
        </Border>
    </Grid>
</Window>
