﻿<UserControl x:Class="EcoRideDB.AddStaff"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             Height="350" Width="400">

    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>

        <!-- Header -->
        <TextBlock Text="Add New Staff" FontSize="24" HorizontalAlignment="Center" Margin="10" Grid.Row="0" Foreground="White"/>

        <!-- Input Fields -->
        <StackPanel Grid.Row="1" Margin="50">
            <TextBlock Text="Name" FontWeight="Bold" Foreground="White"/>
            <TextBox Name="txtName" Background="#505254" Foreground="White" Margin="0,5,0,15"/>

            <TextBlock Text="Role" FontWeight="Bold" Foreground="White"/>
            <ComboBox Name="cmbRole" Background="White" Foreground="Black" Margin="0,5,0,15"/>
        </StackPanel>

        <!-- Add Button -->
        <Button Content="Add Staff" Click="AddStaff_Click" Grid.Row="2" Width="120" HorizontalAlignment="Center" Margin="0,10" Background="#747578"/>
    </Grid>
</UserControl>