<Styles xmlns="https://github.com/avaloniaui"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <Style Selector="TextBox.NormalTextBox">
        <Setter Property="BorderBrush" Value="{StaticResource DarkBorderBrush}" />
        <Setter Property="BorderThickness" Value="1" />
        <Setter Property="CornerRadius" Value="2" />
        <Setter Property="Background" Value="{StaticResource DarkMediumBackgroundBrush}" />
        <Setter Property="CaretBrush" Value="{StaticResource AccentBrush}" />
        <Setter Property="Foreground" Value="{StaticResource AccentBrush}" />
        <Setter Property="SelectionBrush" Value="{StaticResource SemiDarkBackgroundBrush}" />
        <Setter Property="Margin" Value="0,0,0,4" />
    </Style>
    
    <Style Selector="TextBox.NormalTextBox /template/ Border#watermark">
        <Setter Property="Opacity" Value="0.3" />
    </Style>
    
    <Style Selector="TextBox.NormalTextBox:focus /template/ Border#border">
        <Setter Property="BorderBrush" Value="{StaticResource AccentBrush}" />
    </Style>
    
    <Style Selector="TextBox.NormalTextBox:pointerover /template/ Border#border">
        <Setter Property="BorderBrush" Value="{StaticResource AccentBrush}" />
    </Style>

    <Style Selector="TextBox.NormalTextBox:focus">
        <Setter Property="CaretBrush" Value="{StaticResource AccentBrush}" />
        <Setter Property="Foreground" Value="{StaticResource AccentBrush}" />
    </Style>
</Styles>