<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <!-- 定义颜色，方便统一管理和修改 -->
    <!-- 启动按钮色 (Primary Green) -->
    <SolidColorBrush x:Key="PrimaryGreen" Color="#28A745"/>
    <SolidColorBrush x:Key="PrimaryGreenHover" Color="#218838"/>
    <SolidColorBrush x:Key="PrimaryGreenPressed" Color="#1E7E34"/>

    <!-- 关闭按钮色 (Danger Red) -->
    <SolidColorBrush x:Key="DangerRed" Color="#DC3545"/>
    <SolidColorBrush x:Key="DangerRedHover" Color="#C82333"/>
    <SolidColorBrush x:Key="DangerRedPressed" Color="#BD2130"/>

    <!-- 复位按钮色 (Secondary Gray) -->
    <SolidColorBrush x:Key="SecondaryGray" Color="#6C757D"/>
    <SolidColorBrush x:Key="SecondaryGrayHover" Color="#5A6268"/>
    <SolidColorBrush x:Key="SecondaryGrayPressed" Color="#4E555B"/>

    <!-- 保存按钮色 (Primary Blue) -->
    <SolidColorBrush x:Key="SaveBlue" Color="#007BFF"/>
    <SolidColorBrush x:Key="SaveBlueHover" Color="#0069D9"/>
    <SolidColorBrush x:Key="SaveBluePressed" Color="#0062CC"/>

    <!-- 测试按钮色 (Info Blue/Cyan) -->
    <SolidColorBrush x:Key="InfoBlue" Color="#17A2B8"/>
    <SolidColorBrush x:Key="InfoBlueHover" Color="#138496"/>
    <SolidColorBrush x:Key="InfoBluePressed" Color="#117A8B"/>

    <!-- 设置按钮色 (Light Gray) -->
    <SolidColorBrush x:Key="LightGray" Color="#F8F9FA"/>
    <SolidColorBrush x:Key="LightGrayHover" Color="#E2E6EA"/>
    <SolidColorBrush x:Key="LightGrayPressed" Color="#DAE0E5"/>
    <SolidColorBrush x:Key="DarkText" Color="#343A40"/>
    <!-- 设置按钮的文字颜色 -->

    <!-- 禁用状态颜色 -->
    <SolidColorBrush x:Key="DisabledBackground" Color="#E9ECEF"/>
    <SolidColorBrush x:Key="DisabledForeground" Color="#6C757D"/>

    <!-- 基础按钮样式 - 包含圆角模板和通用行为 -->
    <Style x:Key="BaseRoundedButtonStyle" TargetType="Button">
        <Setter Property="Foreground" Value="White"/>
        <Setter Property="BorderBrush" Value="Transparent"/>
        <Setter Property="BorderThickness" Value="1"/>
        <Setter Property="Padding" Value="5,2"/>
        <Setter Property="Margin" Value="10,5"/>
        <Setter Property="FontSize" Value="14"/>
        <Setter Property="FontWeight" Value="SemiBold"/>
        <Setter Property="Cursor" Value="Hand"/>
        <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
        <Setter Property="Width" Value="100"/>
        <Setter Property="Height" Value="35"/>
        <!-- 移除按钮聚焦时的虚线框 -->
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Button">
                    <Border x:Name="border"
                            Background="{TemplateBinding Background}"
                            BorderBrush="{TemplateBinding BorderBrush}"
                            BorderThickness="{TemplateBinding BorderThickness}"
                            CornerRadius="4">
                        <!-- 圆角半径 -->
                        <ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/>
                    </Border>
                    <ControlTemplate.Triggers>
                        <!-- 禁用状态效果 -->
                        <Trigger Property="IsEnabled" Value="False">
                            <Setter TargetName="border" Property="Background" Value="{StaticResource DisabledBackground}"/>
                            <Setter TargetName="border" Property="BorderBrush" Value="{StaticResource DisabledBackground}"/>
                            <Setter Property="Foreground" Value="{StaticResource DisabledForeground}"/>
                            <Setter Property="Cursor" Value="Arrow"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Key="ClearStatsButtonStyle" TargetType="Button">
        <Setter Property="Background" Value="Transparent"/>
        <Setter Property="BorderThickness" Value="0"/>
        <Setter Property="Foreground" Value="#9CA3AF"/>
        <Setter Property="Padding" Value="0"/>
        <Setter Property="Cursor" Value="Hand"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Button">
                    <ContentPresenter />
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Style.Triggers>
            <Trigger Property="IsMouseOver" Value="True">
                <Setter Property="Foreground" Value="#DC2626"/>
            </Trigger>
            <Trigger Property="IsPressed" Value="True">
                <Setter Property="Foreground" Value="#B91C1C"/>
            </Trigger>
        </Style.Triggers>
    </Style>

    <!-- 启动按钮样式 -->
    <Style x:Key="StartButtonStyle" TargetType="Button" BasedOn="{StaticResource BaseRoundedButtonStyle}">
        <Setter Property="Background" Value="{StaticResource PrimaryGreen}"/>
        <Setter Property="BorderBrush" Value="{StaticResource PrimaryGreen}"/>
        <Style.Triggers>
            <Trigger Property="IsMouseOver" Value="True">
                <Setter Property="Background" Value="{StaticResource PrimaryGreenHover}"/>
                <Setter Property="BorderBrush" Value="{StaticResource PrimaryGreenHover}"/>
            </Trigger>
            <Trigger Property="IsPressed" Value="True">
                <Setter Property="Background" Value="{StaticResource PrimaryGreenPressed}"/>
                <Setter Property="BorderBrush" Value="{StaticResource PrimaryGreenPressed}"/>
            </Trigger>
        </Style.Triggers>
    </Style>

    <!-- 复位按钮样式 -->
    <Style x:Key="ResetButtonStyle" TargetType="Button" BasedOn="{StaticResource BaseRoundedButtonStyle}">
        <Setter Property="Background" Value="{StaticResource SecondaryGray}"/>
        <Setter Property="BorderBrush" Value="{StaticResource SecondaryGray}"/>
        <Style.Triggers>
            <Trigger Property="IsMouseOver" Value="True">
                <Setter Property="Background" Value="{StaticResource SecondaryGrayHover}"/>
                <Setter Property="BorderBrush" Value="{StaticResource SecondaryGrayHover}"/>
            </Trigger>
            <Trigger Property="IsPressed" Value="True">
                <Setter Property="Background" Value="{StaticResource SecondaryGrayPressed}"/>
                <Setter Property="BorderBrush" Value="{StaticResource SecondaryGrayPressed}"/>
            </Trigger>
        </Style.Triggers>
    </Style>

    <!-- 关闭按钮样式 -->
    <Style x:Key="CloseButtonStyle" TargetType="Button" BasedOn="{StaticResource BaseRoundedButtonStyle}">
        <Setter Property="Background" Value="{StaticResource DangerRed}"/>
        <Setter Property="BorderBrush" Value="{StaticResource DangerRed}"/>
        <Style.Triggers>
            <Trigger Property="IsMouseOver" Value="True">
                <Setter Property="Background" Value="{StaticResource DangerRedHover}"/>
                <Setter Property="BorderBrush" Value="{StaticResource DangerRedHover}"/>
            </Trigger>
            <Trigger Property="IsPressed" Value="True">
                <Setter Property="Background" Value="{StaticResource DangerRedPressed}"/>
                <Setter Property="BorderBrush" Value="{StaticResource DangerRedPressed}"/>
            </Trigger>
        </Style.Triggers>
    </Style>

    <!-- 保存按钮样式 -->
    <Style x:Key="SaveButtonStyle" TargetType="Button" BasedOn="{StaticResource BaseRoundedButtonStyle}">
        <Setter Property="Background" Value="{StaticResource SaveBlue}"/>
        <Setter Property="BorderBrush" Value="{StaticResource SaveBlue}"/>
        <Style.Triggers>
            <Trigger Property="IsMouseOver" Value="True">
                <Setter Property="Background" Value="{StaticResource SaveBlueHover}"/>
                <Setter Property="BorderBrush" Value="{StaticResource SaveBlueHover}"/>
            </Trigger>
            <Trigger Property="IsPressed" Value="True">
                <Setter Property="Background" Value="{StaticResource SaveBluePressed}"/>
                <Setter Property="BorderBrush" Value="{StaticResource SaveBluePressed}"/>
            </Trigger>
        </Style.Triggers>
    </Style>

    <!-- 测试按钮样式 -->
    <Style x:Key="TestButtonStyle" TargetType="Button" BasedOn="{StaticResource BaseRoundedButtonStyle}">
        <Setter Property="Background" Value="{StaticResource InfoBlue}"/>
        <Setter Property="BorderBrush" Value="{StaticResource InfoBlue}"/>
        <Style.Triggers>
            <Trigger Property="IsMouseOver" Value="True">
                <Setter Property="Background" Value="{StaticResource InfoBlueHover}"/>
                <Setter Property="BorderBrush" Value="{StaticResource InfoBlueHover}"/>
            </Trigger>
            <Trigger Property="IsPressed" Value="True">
                <Setter Property="Background" Value="{StaticResource InfoBluePressed}"/>
                <Setter Property="BorderBrush" Value="{StaticResource InfoBluePressed}"/>
            </Trigger>
        </Style.Triggers>
    </Style>

    <!-- 设置按钮样式 -->
    <Style x:Key="SettingsButtonStyle" TargetType="Button" BasedOn="{StaticResource BaseRoundedButtonStyle}">
        <Setter Property="Background" Value="{StaticResource LightGray}"/>
        <Setter Property="BorderBrush" Value="{StaticResource LightGray}"/>
        <Setter Property="Foreground" Value="{StaticResource DarkText}"/>
        <!-- 浅色背景需要深色文字 -->
        <Style.Triggers>
            <Trigger Property="IsMouseOver" Value="True">
                <Setter Property="Background" Value="{StaticResource LightGrayHover}"/>
                <Setter Property="BorderBrush" Value="{StaticResource LightGrayHover}"/>
            </Trigger>
            <Trigger Property="IsPressed" Value="True">
                <Setter Property="Background" Value="{StaticResource LightGrayPressed}"/>
                <Setter Property="BorderBrush" Value="{StaticResource LightGrayPressed}"/>
            </Trigger>
        </Style.Triggers>
    </Style>

    <!-- 普通按钮样式 -->
    <Style x:Key="Button" TargetType="Button" BasedOn="{StaticResource {x:Type Button}}">
        <Setter Property="Width" Value="110"/>
        <Setter Property="Height" Value="30"/>
        <Setter Property="FontSize" Value="12"/>
        <Setter Property="HorizontalAlignment" Value="Center"/>
        <Setter Property="VerticalAlignment" Value="Center" />

    </Style>

    <Style x:Key="iconButton" TargetType="Button">
        <Setter Property="Padding" Value="10,5"/>
        <Setter Property="FontSize" Value="16"/>
        <Setter Property="HorizontalAlignment" Value="Center"/>
        <Setter Property="VerticalAlignment" Value="Center"/>
        <Setter Property="FontWeight" Value="SemiBold"/>
        <Setter Property="Width" Value="85"/>
        <Setter Property="Height" Value="35"/>
        <Setter Property="Margin" Value="5"/>
        <Setter Property="Background" Value="#F7FBFF"/>
        <Setter Property="BorderBrush" Value="LightGray"/>
        <Setter Property="BorderThickness" Value="1"/>
        <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Button">
                    <Border Background="{TemplateBinding Background}"
                         BorderBrush="{TemplateBinding BorderBrush}"
                         BorderThickness="{TemplateBinding BorderThickness}"
                         CornerRadius="10">
                        <ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/>
                    </Border>
                    <ControlTemplate.Triggers>
                        <Trigger Property="IsMouseOver" Value="True">
                            <Setter Property="Background" Value="#DFE8F0"/>
                            <!-- 浅蓝色背景 -->
                            <Setter Property="BorderBrush" Value="#3A8DFF"/>
                            <!-- 蓝色边框 -->
                            <Setter Property="Cursor" Value="Hand"/>
                            <!-- 鼠标改为手指形状 -->
                        </Trigger>

                        <!-- 鼠标点击时的样式 -->
                        <Trigger Property="IsPressed" Value="True">
                            <Setter Property="Background" Value="#DCEBF9"/>
                            <!-- 深蓝色背景 -->
                            <Setter Property="BorderBrush" Value="#1A7CE0"/>
                            <!-- 深蓝色边框 -->
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>


    <!-- 停止按钮色 (Stop Red) -->
    <SolidColorBrush x:Key="StopRed" Color="#B24B48"/>
    <SolidColorBrush x:Key="StopRedHover" Color="#9F413F"/>
    <SolidColorBrush x:Key="StopRedPressed" Color="#873635"/>

    <!-- 停止按钮样式 -->
    <Style x:Key="StopButtonStyle" TargetType="Button" BasedOn="{StaticResource BaseRoundedButtonStyle}">
        <Setter Property="Background" Value="{StaticResource StopRed}"/>
        <Setter Property="BorderBrush" Value="{StaticResource StopRed}"/>
        <Style.Triggers>
            <Trigger Property="IsMouseOver" Value="True">
                <Setter Property="Background" Value="{StaticResource StopRedHover}"/>
                <Setter Property="BorderBrush" Value="{StaticResource StopRedHover}"/>
            </Trigger>
            <Trigger Property="IsPressed" Value="True">
                <Setter Property="Background" Value="{StaticResource StopRedPressed}"/>
                <Setter Property="BorderBrush" Value="{StaticResource StopRedPressed}"/>
            </Trigger>
            <Trigger Property="IsEnabled" Value="False">
                <Setter Property="Background" Value="{StaticResource DisabledBackground}"/>
                <Setter Property="BorderBrush" Value="{StaticResource DisabledBackground}"/>
                <Setter Property="Foreground" Value="{StaticResource DisabledForeground}"/>
                <Setter Property="Cursor" Value="Arrow"/>
            </Trigger>
        </Style.Triggers>
    </Style>
    
    <!-- 示教按钮色 (Teach Orange) -->
    <SolidColorBrush x:Key="TeachOrange" Color="#FD7E14"/>
    <SolidColorBrush x:Key="TeachOrangeHover" Color="#E36C09"/>
    <SolidColorBrush x:Key="TeachOrangePressed" Color="#CA5D04"/>

    <!-- 示教按钮样式 -->
    <Style x:Key="TeachButtonStyle" TargetType="Button" BasedOn="{StaticResource BaseRoundedButtonStyle}">
        <Setter Property="Background" Value="{StaticResource TeachOrange}"/>
        <Setter Property="BorderBrush" Value="{StaticResource TeachOrange}"/>
        <Style.Triggers>
            <Trigger Property="IsMouseOver" Value="True">
                <Setter Property="Background" Value="{StaticResource TeachOrangeHover}"/>
                <Setter Property="BorderBrush" Value="{StaticResource TeachOrangeHover}"/>
            </Trigger>
            <Trigger Property="IsPressed" Value="True">
                <Setter Property="Background" Value="{StaticResource TeachOrangePressed}"/>
                <Setter Property="BorderBrush" Value="{StaticResource TeachOrangePressed}"/>
            </Trigger>
        </Style.Triggers>
    </Style>

    <!-- ========================================== -->
    <!-- 新增样式：模板制作 & 视觉参数设置 -->
    <!-- ========================================== -->

    <!-- 模板制作按钮色 (Template Purple) -->
    <SolidColorBrush x:Key="TemplatePurple" Color="#6F42C1"/>
    <SolidColorBrush x:Key="TemplatePurpleHover" Color="#59359A"/>
    <SolidColorBrush x:Key="TemplatePurplePressed" Color="#4A2C81"/>

    <!-- 模板制作按钮样式 -->
    <Style x:Key="TemplateButtonStyle" TargetType="Button" BasedOn="{StaticResource BaseRoundedButtonStyle}">
        <Setter Property="Background" Value="{StaticResource TemplatePurple}"/>
        <Setter Property="BorderBrush" Value="{StaticResource TemplatePurple}"/>
        <!-- 可以在这里添加特定的图标或不同的大小设置，如果需要的话 -->
        <Style.Triggers>
            <Trigger Property="IsMouseOver" Value="True">
                <Setter Property="Background" Value="{StaticResource TemplatePurpleHover}"/>
                <Setter Property="BorderBrush" Value="{StaticResource TemplatePurpleHover}"/>
            </Trigger>
            <Trigger Property="IsPressed" Value="True">
                <Setter Property="Background" Value="{StaticResource TemplatePurplePressed}"/>
                <Setter Property="BorderBrush" Value="{StaticResource TemplatePurplePressed}"/>
            </Trigger>
        </Style.Triggers>
    </Style>

    <!-- 视觉参数按钮色 (Vision Teal) -->
    <SolidColorBrush x:Key="VisionTeal" Color="#20C997"/>
    <SolidColorBrush x:Key="VisionTealHover" Color="#1BA87E"/>
    <SolidColorBrush x:Key="VisionTealPressed" Color="#168C69"/>

    <!-- 视觉参数按钮样式 -->
    <Style x:Key="VisionButtonStyle" TargetType="Button" BasedOn="{StaticResource BaseRoundedButtonStyle}">
        <Setter Property="Background" Value="{StaticResource VisionTeal}"/>
        <Setter Property="BorderBrush" Value="{StaticResource VisionTeal}"/>
        <!-- 视觉参数设置可能不需要太宽，或者需要更显眼 -->
        <Style.Triggers>
            <Trigger Property="IsMouseOver" Value="True">
                <Setter Property="Background" Value="{StaticResource VisionTealHover}"/>
                <Setter Property="BorderBrush" Value="{StaticResource VisionTealHover}"/>
            </Trigger>
            <Trigger Property="IsPressed" Value="True">
                <Setter Property="Background" Value="{StaticResource VisionTealPressed}"/>
                <Setter Property="BorderBrush" Value="{StaticResource VisionTealPressed}"/>
            </Trigger>
        </Style.Triggers>
    </Style>

    <!-- ========================================== -->
    <!-- 新增样式：通用按钮 (Common/Primary) -->
    <!-- ========================================== -->

    <!-- 通用按钮色 (General Blue) -->
    <SolidColorBrush x:Key="GeneralBlue" Color="#E8E8F0"/>
    <SolidColorBrush x:Key="GeneralBlueHover" Color="#B3D2EA"/>
    <SolidColorBrush x:Key="GeneralBluePressed" Color="#6A92B2"/>

    <!-- 通用按钮样式 -->
    <Style x:Key="CommonButtonStyle" TargetType="Button" BasedOn="{StaticResource BaseRoundedButtonStyle}">
        <Setter Property="Background" Value="{StaticResource GeneralBlue}"/>
        <Setter Property="BorderBrush" Value="{StaticResource GeneralBlue}"/>
        <Setter Property="Foreground" Value="#5F5F5F"/>
        <Setter Property="BorderBrush" Value="#B0B9C4"/>
        <Style.Triggers>
            <Trigger Property="IsMouseOver" Value="True">
                <Setter Property="Background" Value="{StaticResource GeneralBlueHover}"/>
                <Setter Property="BorderBrush" Value="#1567D5"/>
            </Trigger>
            <Trigger Property="IsPressed" Value="True">
                <Setter Property="Background" Value="{StaticResource GeneralBluePressed}"/>
                <Setter Property="BorderBrush" Value="{StaticResource GeneralBluePressed}"/>
                <Setter Property="Foreground" Value="White"/>
            </Trigger>
        </Style.Triggers>
    </Style>

    <SolidColorBrush x:Key="MarkActionBlue" Color="#2E5FA7"/>
    <SolidColorBrush x:Key="MarkActionBlueHover" Color="#264F8A"/>
    <SolidColorBrush x:Key="MarkActionBluePressed" Color="#1F4274"/>
    <SolidColorBrush x:Key="MarkActionSlate" Color="#5C6F88"/>
    <SolidColorBrush x:Key="MarkActionSlateHover" Color="#4D5E75"/>
    <SolidColorBrush x:Key="MarkActionSlatePressed" Color="#404F63"/>
    <SolidColorBrush x:Key="MarkActionOutlineBorder" Color="#D5DFEB"/>
    <SolidColorBrush x:Key="MarkActionOutlineForeground" Color="#32507A"/>
    <SolidColorBrush x:Key="MarkActionOutlineHover" Color="#EEF4FB"/>
    <SolidColorBrush x:Key="MarkActionOutlinePressed" Color="#E0EBF8"/>
    <SolidColorBrush x:Key="MarkDangerOutlineBorder" Color="#F0B8BE"/>
    <SolidColorBrush x:Key="MarkDangerOutlineForeground" Color="#D95B69"/>
    <SolidColorBrush x:Key="MarkDangerOutlineHover" Color="#FFF3F4"/>
    <SolidColorBrush x:Key="MarkDangerOutlinePressed" Color="#FDE7E9"/>

    <Style x:Key="MarkPrimaryActionButtonStyle" TargetType="Button" BasedOn="{StaticResource BaseRoundedButtonStyle}">
        <Setter Property="Width" Value="105"/>
        <Setter Property="Height" Value="40"/>
        <Setter Property="Padding" Value="16,0"/>
        <Setter Property="FontSize" Value="14"/>
        <Setter Property="FontWeight" Value="Bold"/>
        <Setter Property="Margin" Value="0"/>
        <Setter Property="Background" Value="{StaticResource MarkActionBlue}"/>
        <Setter Property="BorderBrush" Value="{StaticResource MarkActionBlue}"/>
        <Setter Property="Foreground" Value="White"/>
        <Style.Triggers>
            <Trigger Property="IsMouseOver" Value="True">
                <Setter Property="Background" Value="{StaticResource MarkActionBlueHover}"/>
                <Setter Property="BorderBrush" Value="{StaticResource MarkActionBlueHover}"/>
            </Trigger>
            <Trigger Property="IsPressed" Value="True">
                <Setter Property="Background" Value="{StaticResource MarkActionBluePressed}"/>
                <Setter Property="BorderBrush" Value="{StaticResource MarkActionBluePressed}"/>
            </Trigger>
        </Style.Triggers>
    </Style>

    <Style x:Key="MarkNeutralActionButtonStyle" TargetType="Button" BasedOn="{StaticResource BaseRoundedButtonStyle}">
        <Setter Property="Width" Value="105"/>
        <Setter Property="Height" Value="40"/>
        <Setter Property="Padding" Value="16,0"/>
        <Setter Property="FontSize" Value="14"/>
        <Setter Property="FontWeight" Value="Bold"/>
        <Setter Property="Margin" Value="0"/>
        <Setter Property="Background" Value="{StaticResource MarkActionSlate}"/>
        <Setter Property="BorderBrush" Value="{StaticResource MarkActionSlate}"/>
        <Setter Property="Foreground" Value="White"/>
        <Style.Triggers>
            <Trigger Property="IsMouseOver" Value="True">
                <Setter Property="Background" Value="{StaticResource MarkActionSlateHover}"/>
                <Setter Property="BorderBrush" Value="{StaticResource MarkActionSlateHover}"/>
            </Trigger>
            <Trigger Property="IsPressed" Value="True">
                <Setter Property="Background" Value="{StaticResource MarkActionSlatePressed}"/>
                <Setter Property="BorderBrush" Value="{StaticResource MarkActionSlatePressed}"/>
            </Trigger>
        </Style.Triggers>
    </Style>

    <Style x:Key="MarkOutlineActionButtonStyle" TargetType="Button" BasedOn="{StaticResource BaseRoundedButtonStyle}">
        <Setter Property="Width" Value="105"/>
        <Setter Property="Height" Value="40"/>
        <Setter Property="Padding" Value="16,0"/>
        <Setter Property="FontSize" Value="14"/>
        <Setter Property="FontWeight" Value="Bold"/>
        <Setter Property="Margin" Value="0"/>
        <Setter Property="Background" Value="White"/>
        <Setter Property="BorderBrush" Value="{StaticResource MarkActionOutlineBorder}"/>
        <Setter Property="Foreground" Value="{StaticResource MarkActionOutlineForeground}"/>
        <Style.Triggers>
            <Trigger Property="IsMouseOver" Value="True">
                <Setter Property="Background" Value="{StaticResource MarkActionOutlineHover}"/>
                <Setter Property="BorderBrush" Value="{StaticResource MarkActionBlue}"/>
                <Setter Property="Foreground" Value="{StaticResource MarkActionBlue}"/>
            </Trigger>
            <Trigger Property="IsPressed" Value="True">
                <Setter Property="Background" Value="{StaticResource MarkActionOutlinePressed}"/>
                <Setter Property="BorderBrush" Value="{StaticResource MarkActionBlue}"/>
            </Trigger>
        </Style.Triggers>
    </Style>

    <Style x:Key="MarkDangerOutlineButtonStyle" TargetType="Button" BasedOn="{StaticResource BaseRoundedButtonStyle}">
        <Setter Property="Width" Value="105"/>
        <Setter Property="Height" Value="40"/>
        <Setter Property="Padding" Value="16,0"/>
        <Setter Property="FontSize" Value="14"/>
        <Setter Property="FontWeight" Value="Bold"/>
        <Setter Property="Margin" Value="0"/>
        <Setter Property="Background" Value="White"/>
        <Setter Property="BorderBrush" Value="{StaticResource MarkDangerOutlineBorder}"/>
        <Setter Property="Foreground" Value="{StaticResource MarkDangerOutlineForeground}"/>
        <Style.Triggers>
            <Trigger Property="IsMouseOver" Value="True">
                <Setter Property="Background" Value="{StaticResource MarkDangerOutlineHover}"/>
                <Setter Property="BorderBrush" Value="{StaticResource MarkDangerOutlineForeground}"/>
            </Trigger>
            <Trigger Property="IsPressed" Value="True">
                <Setter Property="Background" Value="{StaticResource MarkDangerOutlinePressed}"/>
                <Setter Property="BorderBrush" Value="{StaticResource MarkDangerOutlineForeground}"/>
            </Trigger>
        </Style.Triggers>
    </Style>

    <!-- 物流页面按钮样式 -->
    <Style x:Key="LogisticsActionButtonStyle" TargetType="Button" BasedOn="{StaticResource SaveButtonStyle}">
        <Setter Property="Width" Value="220"/>
        <Setter Property="Height" Value="40"/>
        <Setter Property="HorizontalAlignment" Value="Center"/>
        <Setter Property="Margin" Value="0,0,0,0"/>
    </Style>

    <Style x:Key="LogisticsOutlineActionButtonStyle" TargetType="Button" BasedOn="{StaticResource BaseRoundedButtonStyle}">
        <Setter Property="Width" Value="220"/>
        <Setter Property="Height" Value="40"/>
        <Setter Property="HorizontalAlignment" Value="Center"/>
        <Setter Property="Margin" Value="0,0,0,0"/>
        <Setter Property="Background" Value="Transparent"/>
        <Setter Property="Foreground" Value="#2455C7"/>
        <Setter Property="BorderBrush" Value="#2455C7"/>
        <Setter Property="BorderThickness" Value="2"/>
        <Style.Triggers>
            <Trigger Property="IsMouseOver" Value="True">
                <Setter Property="Background" Value="#EDF4FF"/>
            </Trigger>
            <Trigger Property="IsPressed" Value="True">
                <Setter Property="Background" Value="#DCE9FF"/>
            </Trigger>
        </Style.Triggers>
    </Style>

    <Style x:Key="LogisticsWarningActionButtonStyle" TargetType="Button" BasedOn="{StaticResource TeachButtonStyle}">
        <Setter Property="Width" Value="220"/>
        <Setter Property="Height" Value="40"/>
        <Setter Property="HorizontalAlignment" Value="Center"/>
        <Setter Property="Margin" Value="0,0,0,0"/>
    </Style>

    <Style x:Key="LogisticsSecondaryButtonStyle" TargetType="Button" BasedOn="{StaticResource BaseRoundedButtonStyle}">
        <Setter Property="Width" Value="220"/>
        <Setter Property="Height" Value="36"/>
        <Setter Property="HorizontalAlignment" Value="Center"/>
        <Setter Property="Margin" Value="0,8,0,0"/>
        <Setter Property="Background" Value="#F7F2F2"/>
        <Setter Property="Foreground" Value="#D04A4A"/>
        <Setter Property="BorderBrush" Value="#E4CED1"/>
        <Style.Triggers>
            <Trigger Property="IsMouseOver" Value="True">
                <Setter Property="Background" Value="#FDECEC"/>
            </Trigger>
            <Trigger Property="IsPressed" Value="True">
                <Setter Property="Background" Value="#F8DFDF"/>
            </Trigger>
        </Style.Triggers>
    </Style>

    <Style x:Key="LogisticsScanButtonStyle" TargetType="Button" BasedOn="{StaticResource CommonButtonStyle}">
        <Setter Property="Width" Value="220"/>
        <Setter Property="Height" Value="42"/>
        <Setter Property="Margin" Value="0,8,0,6"/>
        <Setter Property="HorizontalAlignment" Value="Center"/>
        <Setter Property="Background" Value="#1A2A47"/>
        <Setter Property="BorderBrush" Value="#1A2A47"/>
        <Setter Property="Foreground" Value="White"/>
        <Style.Triggers>
            <Trigger Property="IsMouseOver" Value="True">
                <Setter Property="Background" Value="#22375B"/>
                <Setter Property="BorderBrush" Value="#22375B"/>
            </Trigger>
            <Trigger Property="IsPressed" Value="True">
                <Setter Property="Background" Value="#172C4A"/>
                <Setter Property="BorderBrush" Value="#172C4A"/>
            </Trigger>
        </Style.Triggers>
    </Style>
</ResourceDictionary>