<Window xmlns="https://github.com/avaloniaui"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        x:Class="MarkdownEditor.Views.UrlInputDialog"
        Width="400" Height="180"
        CanResize="False"
        WindowStartupLocation="CenterOwner"
        Background="#2D2D2D">

    <StackPanel Margin="20" Spacing="15">
        <TextBlock x:Name="PromptText"
                   Foreground="#CCCCCC"
                   FontSize="14"/>

        <TextBox x:Name="UrlTextBox"
                 Watermark="Enter URL..."
                 FontSize="14"
                 Padding="8"/>

        <TextBlock x:Name="ErrorMessage"
                   Text="Please enter a valid URL"
                   Foreground="#FF6B6B"
                   FontSize="12"
                   IsVisible="False"/>

        <StackPanel Orientation="Horizontal"
                    HorizontalAlignment="Right"
                    Spacing="10">
            <Button Content="Cancel"
                    Click="OnCancel"
                    Padding="15,8"
                    MinWidth="80"/>
            <Button Content="OK"
                    Click="OnOk"
                    Padding="15,8"
                    MinWidth="80"
                    IsDefault="True"/>
        </StackPanel>
    </StackPanel>
</Window>
