<?xml version="1.0" encoding="utf-8"?>
<Application
    x:Class="Tornado3_2026Election.App"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:Tornado3_2026Election">
    <Application.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" />
            </ResourceDictionary.MergedDictionaries>

            <SolidColorBrush x:Key="ControlRoomChromeBrush" Color="#08111F" />
            <SolidColorBrush x:Key="ControlRoomPanelBrush" Color="#0F1B2D" />
            <SolidColorBrush x:Key="ControlRoomPanelAltBrush" Color="#132338" />
            <SolidColorBrush x:Key="ControlRoomPanelSoftBrush" Color="#192C45" />
            <SolidColorBrush x:Key="ControlRoomPanelStrokeBrush" Color="#2D4566" />
            <SolidColorBrush x:Key="ControlRoomTextPrimaryBrush" Color="#F8FAFC" />
            <SolidColorBrush x:Key="ControlRoomTextSecondaryBrush" Color="#B7C5D8" />
            <SolidColorBrush x:Key="ControlRoomTextMutedBrush" Color="#7F96B5" />
            <SolidColorBrush x:Key="ControlRoomSignalRedBrush" Color="#FF5A54" />
            <SolidColorBrush x:Key="ControlRoomSignalAmberBrush" Color="#FFB44C" />
            <SolidColorBrush x:Key="ControlRoomSignalGreenBrush" Color="#3DD38A" />
            <SolidColorBrush x:Key="ControlRoomSignalBlueBrush" Color="#5FA9FF" />

            <LinearGradientBrush x:Key="ControlRoomHeroBrush" StartPoint="0,0" EndPoint="1,1">
                <GradientStop Color="#111E34" Offset="0" />
                <GradientStop Color="#0B1422" Offset="0.55" />
                <GradientStop Color="#20192E" Offset="1" />
            </LinearGradientBrush>

            <LinearGradientBrush x:Key="ControlRoomPanelGradientBrush" StartPoint="0,0" EndPoint="1,1">
                <GradientStop Color="#12233A" Offset="0" />
                <GradientStop Color="#0E192B" Offset="1" />
            </LinearGradientBrush>

            <Style x:Key="ConsoleHeroTitleTextStyle" TargetType="TextBlock">
                <Setter Property="FontFamily" Value="Bahnschrift SemiBold" />
                <Setter Property="FontSize" Value="34" />
                <Setter Property="Foreground" Value="{StaticResource ControlRoomTextPrimaryBrush}" />
            </Style>

            <Style x:Key="ConsoleSectionTitleTextStyle" TargetType="TextBlock">
                <Setter Property="FontFamily" Value="Bahnschrift SemiBold" />
                <Setter Property="FontSize" Value="22" />
                <Setter Property="Foreground" Value="{StaticResource ControlRoomTextPrimaryBrush}" />
            </Style>

            <Style x:Key="ConsoleLabelTextStyle" TargetType="TextBlock">
                <Setter Property="FontFamily" Value="Bahnschrift" />
                <Setter Property="FontSize" Value="12" />
                <Setter Property="Foreground" Value="{StaticResource ControlRoomTextMutedBrush}" />
                <Setter Property="TextWrapping" Value="WrapWholeWords" />
            </Style>

            <Style x:Key="ConsoleBodyTextStyle" TargetType="TextBlock">
                <Setter Property="FontFamily" Value="Bahnschrift" />
                <Setter Property="FontSize" Value="14" />
                <Setter Property="Foreground" Value="{StaticResource ControlRoomTextSecondaryBrush}" />
                <Setter Property="TextWrapping" Value="WrapWholeWords" />
            </Style>

            <Style x:Key="ConsoleMonoTextStyle" TargetType="TextBlock">
                <Setter Property="FontFamily" Value="Cascadia Mono" />
                <Setter Property="Foreground" Value="{StaticResource ControlRoomTextPrimaryBrush}" />
            </Style>

            <Style x:Key="ConsolePrimaryButtonStyle" TargetType="Button" BasedOn="{StaticResource DefaultButtonStyle}">
                <Setter Property="Background" Value="{StaticResource ControlRoomSignalBlueBrush}" />
                <Setter Property="Foreground" Value="#03111F" />
                <Setter Property="CornerRadius" Value="12" />
                <Setter Property="Padding" Value="16,10" />
                <Setter Property="FontFamily" Value="Bahnschrift SemiBold" />
            </Style>

            <Style x:Key="ConsoleGhostButtonStyle" TargetType="Button" BasedOn="{StaticResource DefaultButtonStyle}">
                <Setter Property="Background" Value="#1F3048" />
                <Setter Property="Foreground" Value="{StaticResource ControlRoomTextPrimaryBrush}" />
                <Setter Property="BorderBrush" Value="{StaticResource ControlRoomPanelStrokeBrush}" />
                <Setter Property="CornerRadius" Value="12" />
                <Setter Property="Padding" Value="14,10" />
                <Setter Property="FontFamily" Value="Bahnschrift SemiBold" />
            </Style>
        </ResourceDictionary>
    </Application.Resources>
</Application>
