<Window x:Class="WpfApp1.LoginWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        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"
        xmlns:local="clr-namespace:WpfApp1"
        mc:Ignorable="d"
        Title="Вход в приложение"
        Height="420"
        Width="400"
        WindowStartupLocation="CenterScreen"
        ResizeMode="NoResize"
        Background="#F5F7FA">

    <Grid>
        <Border Background="White"
                CornerRadius="14"
                Padding="35"
                Width="390"
                VerticalAlignment="Center"
                HorizontalAlignment="Center"
                BorderBrush="#DCE3EA"
                BorderThickness="1">

            <StackPanel>

                <TextBlock Text="Обработка деталей"
                           FontSize="26"
                           FontWeight="Bold"
                           Foreground="#1F2937"
                           HorizontalAlignment="Center"
                           Margin="0 0 0 6"/>

                <TextBlock Text="Логин"
                           FontSize="14"
                           Foreground="#374151"
                           Margin="0 0 0 6"/>

                <TextBox x:Name="LoginTextBox"
                         Height="42"
                         FontSize="15"
                         Padding="10 0"
                         VerticalContentAlignment="Center"
                         BorderBrush="#D1D5DB"
                         BorderThickness="1"
                         Margin="0 0 0 18"/>

                <TextBlock Text="Пароль"
                           FontSize="14"
                           Foreground="#374151"
                           Margin="0 0 0 6"/>

                <PasswordBox x:Name="PasswordBox"
                             Height="42"
                             FontSize="15"
                             Padding="10 0"
                             VerticalContentAlignment="Center"
                             BorderBrush="#D1D5DB"
                             BorderThickness="1"
                             Margin="0 0 0 24"/>

                <Button x:Name="btnLogin"
                        Content="Войти"
                        Height="40"
                        FontSize="15"
                        FontWeight="SemiBold"
                        Cursor="Hand"
                        Margin="0 0 0 12"/>

                <Button x:Name="btnExit"
                        Content="Выход"
                        Height="40"
                        FontSize="15"
                        FontWeight="SemiBold"
                        Cursor="Hand"/>
            </StackPanel>
        </Border>
    </Grid>
</Window>
