<UserControl x:Class="NexusShell.Controls.NexusSearchBox"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             x:Name="Root">
    <Border CornerRadius="{StaticResource Nexus.Radius.Md}"
            Background="#12081428"
            BorderBrush="#3800D9FF"
            BorderThickness="1"
            Padding="12,0">
        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto"/>
                <ColumnDefinition Width="*"/>
            </Grid.ColumnDefinitions>
            <Path Data="M10,10 m-6,0 a6,6 0 1,0 12,0 a6,6 0 1,0 -12,0 M15,15 L20,20"
                  Stroke="{StaticResource Nexus.Text.SecondaryBrush}"
                  StrokeThickness="1.5" Width="14" Height="14"
                  Stretch="Uniform" Margin="0,0,8,0" VerticalAlignment="Center"/>
            <TextBox Grid.Column="1"
                     Text="{Binding SearchText, ElementName=Root, UpdateSourceTrigger=PropertyChanged}"
                     Style="{StaticResource NexusSearchBoxControlStyle}"
                     VerticalAlignment="Center"/>
        </Grid>
    </Border>
</UserControl>
