/**
 * Hyperion Design System - Compiled CSS
 * Theme: RSI HUD (Orange, Angular, Military)
 * Version: 1.0.0
 * 
 * Structure:
 * 1. Fonts
 * 2. Variables (CSS Custom Properties)
 * 3. Animations
 * 4. Base Styles
 * 5. RSI HUD Theme Specifics
 * 6. Utilities
 */

/* ============================================
   1. FONTS
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Michroma&family=JetBrains+Mono:wght@300;400;500;600&family=Inter:wght@300;400;500;600;700&display=swap');

/* ============================================
   2. VARIABLES (CSS Custom Properties)
   Theme: RSI HUD
   ============================================ */

:root {
    /* Background Colors */
    --hy-bg: #06080d;
    --hy-bg-gradient: radial-gradient(ellipse at 20% 0%, #0e1520 0%, #06080d 55%, #03050a 100%);
    /* Panel Colors */
    --hy-panel: rgba(14, 20, 30, 0.72);
    --hy-panel-solid: #0c1320;
    --hy-panel-hi: rgba(22, 30, 44, 0.85);
    /* Border Colors */
    --hy-border: rgba(255, 122, 38, 0.22);
    --hy-border-soft: rgba(255, 255, 255, 0.06);
    --hy-border-strong: #ffc000 !important;
    /* Text Colors (Ink) */
    --hy-ink: #e7eef7;
    --hy-ink-2: #9aa8bd;
    --hy-ink-3: #5e6b80;
    --hy-ink-accent: #ff7a26;
    /* Accent Colors - RSI Orange */
    --hy-accent: #ffc000 !important;
    --hy-accent-dim: #c45a18;
    --hy-accent-glow: rgba(255, 122, 38, 0.35);
    --hy-accent-2: #22d3ee;
    /* Semantic Colors */
    --hy-success: #3ddc84;
    --hy-warn: #fbbf24;
    --hy-danger: #ef4444;
    /* Typography */
    --hy-font-display: 'Michroma', 'Orbitron', sans-serif;
    --hy-font-title: 'Orbitron', sans-serif;
    --hy-font-mono: 'JetBrains Mono', 'Electrolize', monospace;
    --hy-font-body: 'Inter', system-ui, sans-serif;
    /* Border Radius - Small for angular RSI look */
    --hy-radius: 2px;
    --hy-radius-lg: 4px;
    /* Effects */
    --hy-scanline-opacity: 0.04;
    --hy-corner-cut: 12px;
    /* Shadows */
    --hy-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --hy-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --hy-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
    --hy-shadow-glow: 0 0 20px var(--hy-accent-glow);
    /* Transitions */
    --hy-transition-fast: 0.15s ease;
    --hy-transition-medium: 0.25s ease;
    --hy-transition-slow: 0.4s ease;
    /* Z-Index Scale */
    --hy-z-base: 1;
    --hy-z-dropdown: 100;
    --hy-z-sticky: 200;
    --hy-z-overlay: 300;
    --hy-z-modal: 400;
    --hy-z-toast: 500;
    --hy-z-tooltip: 600;
}

/* ============================================
   3. ANIMATIONS
   ============================================ */

@keyframes hy-fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hy-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes hy-scale-in {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes hy-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

@keyframes hy-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes hy-flicker {
  0%, 100% { opacity: 1; }
  3% { opacity: 0.4; }
  6% { opacity: 0.9; }
  7% { opacity: 0.4; }
  8% { opacity: 1; }
  9% { opacity: 0.7; }
  10% { opacity: 1; }
  89% { opacity: 1; }
  90% { opacity: 0.8; }
}

@keyframes hy-blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0.3; }
}

@keyframes hy-sweep {
  0% { transform: translateX(-100%); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateX(100%); opacity: 0; }
}

@keyframes hy-scan {
  0% { transform: translateY(-100%); opacity: 0; }
  10% { opacity: 0.5; }
  50% { opacity: 1; }
  90% { opacity: 0.5; }
  100% { transform: translateY(100%); opacity: 0; }
}

@keyframes hy-glow-pulse {
  0%, 100% { box-shadow: 0 0 5px var(--hy-accent-glow), 0 0 10px var(--hy-accent-glow); }
  50% { box-shadow: 0 0 15px var(--hy-accent-glow), 0 0 30px var(--hy-accent-glow); }
}

@keyframes hy-slide-in-right {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes hy-slide-in-left {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Animation Utility Classes */
.hy-animate-fade-up { animation: hy-fade-up var(--hy-transition-medium) ease-out forwards; }
.hy-animate-fade-in { animation: hy-fade-in var(--hy-transition-medium) ease-out forwards; }
.hy-animate-scale-in { animation: hy-scale-in var(--hy-transition-medium) ease-out forwards; }
.hy-animate-pulse { animation: hy-pulse 2s ease-in-out infinite; }
.hy-animate-rotate { animation: hy-rotate 1s linear infinite; }
.hy-animate-flicker { animation: hy-flicker 4s linear infinite; }
.hy-animate-blink { animation: hy-blink 1s step-end infinite; }
.hy-animate-glow-pulse { animation: hy-glow-pulse 2s ease-in-out infinite; }

/* Animation Delays */
.hy-delay-100 { animation-delay: 100ms; }
.hy-delay-200 { animation-delay: 200ms; }
.hy-delay-300 { animation-delay: 300ms; }
.hy-delay-400 { animation-delay: 400ms; }
.hy-delay-500 { animation-delay: 500ms; }

/* ============================================
   4. BASE STYLES
   ============================================ */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  background-color: var(--hy-bg);
}

/* Apply to all body elements - RSI HUD theme */
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: var(--hy-bg-gradient);
  color: var(--hy-ink);
  font-family: var(--hy-font-body);
  font-size: 1rem;
  line-height: 1.5;
}

/* Legacy class support */
body.hy-body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: var(--hy-bg-gradient);
  color: var(--hy-ink);
  font-family: var(--hy-font-body);
  font-size: 1rem;
  line-height: 1.5;
}

/* Custom Scrollbars */
.hy-scrollbar::-webkit-scrollbar,
.hy-body::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.hy-scrollbar::-webkit-scrollbar-track,
.hy-body::-webkit-scrollbar-track {
  background: var(--hy-panel-solid);
  border-radius: 4px;
}

.hy-scrollbar::-webkit-scrollbar-thumb,
.hy-body::-webkit-scrollbar-thumb {
  background: var(--hy-border-strong);
  border-radius: 4px;
  transition: background 0.2s ease;
}

.hy-scrollbar::-webkit-scrollbar-thumb:hover,
.hy-body::-webkit-scrollbar-thumb:hover {
  background: var(--hy-accent);
}

/* Firefox scrollbar */
.hy-scrollbar, .hy-body {
  scrollbar-width: thin;
  scrollbar-color: var(--hy-border-strong) var(--hy-panel-solid);
}

/* Typography */
h1, h2, h3, h4, h5, h6,
.hy-h1, .hy-h2, .hy-h3, .hy-h4, .hy-h5, .hy-h6 {
  font-family: var(--hy-font-title);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5em 0;
  color: var(--hy-ink);
}

.hy-h1 { font-size: 2.5rem; letter-spacing: 0.1em; text-transform: uppercase; }
.hy-h2 { font-size: 2rem; letter-spacing: 0.08em; text-transform: uppercase; }
.hy-h3 { font-size: 1.5rem; letter-spacing: 0.05em; }
.hy-h4 { font-size: 1.25rem; letter-spacing: 0.03em; }

.hy-display {
  font-family: var(--hy-font-display);
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1.1;
}

/* Links */
a.hy-link {
  color: var(--hy-accent);
  text-decoration: none;
  transition: color var(--hy-transition-fast);
}

a.hy-link:hover {
  color: var(--hy-ink-accent);
  text-decoration: underline;
}

/* Code */
code.hy-code {
  font-family: var(--hy-font-mono);
  font-size: 0.875em;
  padding: 0.125em 0.375em;
  background: var(--hy-panel);
  border: 1px solid var(--hy-border-soft);
  border-radius: var(--hy-radius);
  color: var(--hy-ink-accent);
}

/* Selection */
::selection {
  background: var(--hy-accent);
  color: var(--hy-bg);
}

/* Focus */
:focus-visible {
  outline: 2px solid var(--hy-accent);
  outline-offset: 2px;
}

/* Disabled */
[disabled], .hy-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================
   5. RSI HUD THEME SPECIFICS
   ============================================ */

/* RSI Panel with corner cuts */
.hy-panel {
  background: var(--hy-panel);
  border: 1px solid var(--hy-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  clip-path: polygon(
    0 0,
    calc(100% - var(--hy-corner-cut)) 0,
    100% var(--hy-corner-cut),
    100% 100%,
    var(--hy-corner-cut) 100%,
    0 calc(100% - var(--hy-corner-cut))
  );
}

/* RSI accent glow */
.hy-accent-element {
  box-shadow: 0 0 10px var(--hy-accent-glow), inset 0 0 5px var(--hy-accent-glow);
}

/* RSI button with corner cuts */
.hy-btn {
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

/* RSI divider with accent center */
.hy-divider {
  background: linear-gradient(90deg, transparent 0%, var(--hy-border) 20%, var(--hy-accent) 50%, var(--hy-border) 80%, transparent 100%);
  height: 1px;
}

/* RSI section header with accent bar */
.hy-section-header {
  border-left: 3px solid var(--hy-accent);
  padding-left: 1rem;
  position: relative;
}

.hy-section-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--hy-accent) 0%, transparent 100%);
}

/* ============================================
   6. UTILITIES
   ============================================ */

/* Text Colors */
.hy-text-primary { color: var(--hy-ink) !important; }
.hy-text-secondary { color: var(--hy-ink-2) !important; }
.hy-text-muted { color: var(--hy-ink-3) !important; }
.hy-text-accent { color: var(--hy-accent) !important; }
.hy-text-success { color: var(--hy-success) !important; }
.hy-text-warn { color: var(--hy-warn) !important; }
.hy-text-danger { color: var(--hy-danger) !important; }

/* Background Colors */
.hy-bg-primary { background-color: var(--hy-bg) !important; }
.hy-bg-panel { background-color: var(--hy-panel) !important; }
.hy-bg-panel-solid { background-color: var(--hy-panel-solid) !important; }
.hy-bg-accent { background-color: var(--hy-accent) !important; }
.hy-bg-gradient { background: var(--hy-bg-gradient) !important; }

/* Border Colors */
.hy-border { border: 1px solid var(--hy-border) !important; }
.hy-border-soft { border: 1px solid var(--hy-border-soft) !important; }
.hy-border-strong { border: 1px solid var(--hy-border-strong) !important; }
.hy-border-accent { border: 1px solid var(--hy-accent) !important; }

/* Border Radius */
.hy-rounded { border-radius: var(--hy-radius) !important; }
.hy-rounded-lg { border-radius: var(--hy-radius-lg) !important; }

/* Font Families */
.hy-font-display { font-family: var(--hy-font-display) !important; }
.hy-font-title { font-family: var(--hy-font-title) !important; }
.hy-font-mono { font-family: var(--hy-font-mono) !important; }
.hy-font-body { font-family: var(--hy-font-body) !important; }

/* Font Sizes */
.hy-text-xs { font-size: 0.75rem !important; }
.hy-text-sm { font-size: 0.875rem !important; }
.hy-text-base { font-size: 1rem !important; }
.hy-text-lg { font-size: 1.125rem !important; }
.hy-text-xl { font-size: 1.25rem !important; }
.hy-text-2xl { font-size: 1.5rem !important; }

/* Text Transform */
.hy-uppercase { text-transform: uppercase !important; }
.hy-lowercase { text-transform: lowercase !important; }

/* Letter Spacing */
.hy-tracking-wide { letter-spacing: 0.05em !important; }
.hy-tracking-wider { letter-spacing: 0.1em !important; }
.hy-tracking-widest { letter-spacing: 0.15em !important; }

/* Shadows */
.hy-shadow-sm { box-shadow: var(--hy-shadow-sm) !important; }
.hy-shadow-md { box-shadow: var(--hy-shadow-md) !important; }
.hy-shadow-lg { box-shadow: var(--hy-shadow-lg) !important; }
.hy-shadow-glow { box-shadow: var(--hy-shadow-glow) !important; }

/* Display */
.hy-hidden { display: none !important; }
.hy-block { display: block !important; }
.hy-flex { display: flex !important; }
.hy-grid { display: grid !important; }

/* Flexbox */
.hy-flex-col { flex-direction: column !important; }
.hy-items-center { align-items: center !important; }
.hy-justify-center { justify-content: center !important; }
.hy-justify-between { justify-content: space-between !important; }
.hy-flex-1 { flex: 1 1 0% !important; }

/* Gap */
.hy-gap-2 { gap: 0.5rem !important; }
.hy-gap-4 { gap: 1rem !important; }
.hy-gap-6 { gap: 1.5rem !important; }

/* Padding */
.hy-p-2 { padding: 0.5rem !important; }
.hy-p-4 { padding: 1rem !important; }
.hy-p-6 { padding: 1.5rem !important; }
.hy-px-4 { padding-left: 1rem !important; padding-right: 1rem !important; }
.hy-py-4 { padding-top: 1rem !important; padding-bottom: 1rem !important; }

/* Margin */
.hy-m-0 { margin: 0 !important; }
.hy-mb-4 { margin-bottom: 1rem !important; }
.hy-mt-4 { margin-top: 1rem !important; }

/* Width & Height */
.hy-w-full { width: 100% !important; }
.hy-h-full { height: 100% !important; }
.hy-min-h-screen { min-height: 100vh !important; }

/* Positioning */
.hy-relative { position: relative !important; }
.hy-absolute { position: absolute !important; }
.hy-fixed { position: fixed !important; }

/* Overflow */
.hy-overflow-hidden { overflow: hidden !important; }
.hy-overflow-auto { overflow: auto !important; }

/* Transitions */
.hy-transition { transition: all var(--hy-transition-medium) !important; }

/* Cursor */
.hy-cursor-pointer { cursor: pointer !important; }

/* HUD-Specific Utilities */
.hy-hover-glow {
  transition: box-shadow var(--hy-transition-fast), border-color var(--hy-transition-fast);
}
.hy-hover-glow:hover {
  box-shadow: var(--hy-shadow-glow);
  border-color: var(--hy-accent);
}

/* Scanline overlay */
.hy-scanlines {
  position: relative;
}
.hy-scanlines::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, var(--hy-scanline-opacity)) 2px,
    rgba(0, 0, 0, var(--hy-scanline-opacity)) 4px
  );
}

/* Corner cut utility */
.hy-corner-cut {
  clip-path: polygon(
    0 0,
    calc(100% - var(--hy-corner-cut)) 0,
    100% var(--hy-corner-cut),
    100% 100%,
    var(--hy-corner-cut) 100%,
    0 calc(100% - var(--hy-corner-cut))
  );
}

/* Glass effect */
.hy-glass {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Screen reader only */
.hy-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ============================================
   7. MUDBLAZOR OVERRIDES - RSI HUD Theme
   Force dark theme on all MudBlazor components
   ============================================ */

/* MudTable - Dark theme */
.mud-table {
  background: var(--hy-panel) !important;
}

.mud-table-container {
  background: transparent !important;
}

.mud-table-root {
  background: transparent !important;
}

.mud-table-head {
  background: rgba(255, 122, 38, 0.08) !important;
}

.mud-table-head th {
  font-family: var(--hy-font-mono) !important;
  font-size: 0.6875rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--hy-accent) !important;
  background: transparent !important;
  border-bottom: 1px solid var(--hy-border) !important;
}

.mud-table-body {
  background: transparent !important;
}

.mud-table-body tr {
  background: transparent !important;
}

.mud-table-body tr:nth-child(odd) {
  background: rgba(14, 20, 30, 0.3) !important;
}

.mud-table-body tr:nth-child(even) {
  background: rgba(14, 20, 30, 0.5) !important;
}

.mud-table-body td {
  color: var(--hy-ink) !important;
  background: transparent !important;
  border-bottom: 1px solid var(--hy-border-soft) !important;
}

.mud-table-row:hover td {
  background: rgba(255, 122, 38, 0.08) !important;
}

.mud-table-pagination {
  background: rgba(14, 20, 30, 0.6) !important;
  color: var(--hy-ink-2) !important;
  border-top: 1px solid var(--hy-border) !important;
}

.mud-table-pagination .mud-button-root {
  color: var(--hy-ink-2) !important;
}

.mud-table-pagination .mud-button-root:hover {
  color: var(--hy-accent) !important;
  background: rgba(255, 122, 38, 0.1) !important;
}

.mud-table-pagination .mud-select {
  color: var(--hy-ink) !important;
}

/* MudChip - RSI styling */
.mud-chip {
  font-family: var(--hy-font-mono) !important;
  font-size: 0.625rem !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
}

/* MudSelect/MudMenu dropdowns - Dark theme */
.mud-popover,
.mud-menu,
.mud-list {
  background: var(--hy-panel-solid) !important;
  border: 1px solid var(--hy-border) !important;
}

.mud-list-item {
  color: var(--hy-ink) !important;
}

.mud-list-item:hover {
  background: rgba(255, 122, 38, 0.1) !important;
}

.mud-list-item-text {
  color: var(--hy-ink) !important;
}

/* MudDialog - Dark theme */
.mud-dialog {
  background: var(--hy-panel-solid) !important;
  border: 1px solid var(--hy-border) !important;
}

.mud-dialog-title {
  color: var(--hy-ink) !important;
  font-family: var(--hy-font-title) !important;
}

.mud-dialog-content {
  color: var(--hy-ink) !important;
}

/* MudTextField - Dark theme */
.mud-input-control {
  background: var(--hy-panel) !important;
}

.mud-input {
  color: var(--hy-ink) !important;
}

.mud-input-label {
  color: var(--hy-ink-2) !important;
}

.mud-input-outlined .mud-input-outlined-border {
  border-color: var(--hy-border) !important;
}

.mud-input-outlined:hover .mud-input-outlined-border {
  border-color: var(--hy-border-strong) !important;
}

.mud-input-outlined.mud-input-focused .mud-input-outlined-border {
  border-color: var(--hy-accent) !important;
}

/* MudAvatar - Dark theme */
.mud-avatar {
  background: var(--hy-panel-solid) !important;
  color: var(--hy-ink) !important;
}

/* MudPaper - Dark theme (when used) */
.mud-paper {
  background: var(--hy-panel) !important;
  color: var(--hy-ink) !important;
}

/* MudExpansionPanel (Accordions) - Dark theme */
.mud-expand-panel {
  background: var(--hy-panel) !important;
  border: 1px solid var(--hy-border) !important;
  margin-bottom: 0.5rem !important;
}

.mud-expand-panel::before {
  display: none !important;
}

.mud-expand-panel-header {
  background: transparent !important;
  color: var(--hy-ink) !important;
  font-family: var(--hy-font-title) !important;
  padding: 1rem 1.25rem !important;
  transition: background var(--hy-transition-fast) !important;
}

.mud-expand-panel-header:hover {
  background: rgba(255, 122, 38, 0.08) !important;
}

.mud-expand-panel-header .mud-expand-panel-text {
  color: var(--hy-ink) !important;
}

.mud-expand-panel-header .mud-icon-root {
  color: var(--hy-accent) !important;
}

.mud-expand-panel-content {
  background: rgba(14, 20, 30, 0.4) !important;
  color: var(--hy-ink) !important;
  border-top: 1px solid var(--hy-border-soft) !important;
  padding: 1rem 1.25rem !important;
}

/* Expanded state */
.mud-expand-panel.mud-panel-expanded {
  border-color: var(--hy-border-strong) !important;
  box-shadow: 0 0 15px rgba(255, 122, 38, 0.1) !important;
}

.mud-expand-panel.mud-panel-expanded .mud-expand-panel-header {
  background: rgba(255, 122, 38, 0.05) !important;
}

/* MudTabs - Dark theme */
.mud-tabs {
  background: transparent !important;
}

.mud-tabs-toolbar {
  background: var(--hy-panel) !important;
  border-bottom: 1px solid var(--hy-border) !important;
}

.mud-tab {
  color: var(--hy-ink-2) !important;
  font-family: var(--hy-font-mono) !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  transition: color var(--hy-transition-fast), background var(--hy-transition-fast) !important;
}

.mud-tab:hover {
  color: var(--hy-ink) !important;
  background: rgba(255, 122, 38, 0.08) !important;
}

.mud-tab.mud-tab-active {
  color: var(--hy-accent) !important;
  background: rgba(255, 122, 38, 0.12) !important;
}

.mud-tab-slider {
  background: var(--hy-accent) !important;
}

.mud-tabs-panels {
  background: transparent !important;
}

/* MudAlert - Dark theme */
.mud-alert {
  background: var(--hy-panel) !important;
  border: 1px solid var(--hy-border) !important;
}

.mud-alert-message {
  color: var(--hy-ink) !important;
}

.mud-alert.mud-alert-filled-info {
  background: rgba(34, 211, 238, 0.15) !important;
  border-color: rgba(34, 211, 238, 0.3) !important;
}

.mud-alert.mud-alert-filled-success {
  background: rgba(61, 220, 132, 0.15) !important;
  border-color: rgba(61, 220, 132, 0.3) !important;
}

.mud-alert.mud-alert-filled-warning {
  background: rgba(251, 191, 36, 0.15) !important;
  border-color: rgba(251, 191, 36, 0.3) !important;
}

.mud-alert.mud-alert-filled-error {
  background: rgba(239, 68, 68, 0.15) !important;
  border-color: rgba(239, 68, 68, 0.3) !important;
}

/* MudCard - Dark theme */
.mud-card {
  background: var(--hy-panel) !important;
  border: 1px solid var(--hy-border) !important;
  color: var(--hy-ink) !important;
}

.mud-card-header {
  background: transparent !important;
}

.mud-card-header-text .mud-typography {
  color: var(--hy-ink) !important;
}

.mud-card-content {
  color: var(--hy-ink) !important;
}

/* MudButton - Dark theme overrides */
.mud-button-root {
  font-family: var(--hy-font-mono) !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
}

.mud-button-outlined {
  border-color: var(--hy-border) !important;
  color: var(--hy-ink) !important;
}

.mud-button-outlined:hover {
  border-color: var(--hy-accent) !important;
  background: rgba(255, 122, 38, 0.1) !important;
}

/* MudCheckbox - Dark theme */
.mud-checkbox .mud-checkbox-icons {
  color: var(--hy-ink-2) !important;
}

.mud-checkbox.mud-checked .mud-checkbox-icons {
  color: var(--hy-accent) !important;
}

.mud-checkbox .mud-typography {
  color: var(--hy-ink) !important;
}

/* MudSwitch - Dark theme */
.mud-switch .mud-switch-track {
  background: var(--hy-panel-solid) !important;
  border: 1px solid var(--hy-border) !important;
}

.mud-switch.mud-checked .mud-switch-track {
  background: var(--hy-accent) !important;
  border-color: var(--hy-accent) !important;
}

/* MudProgressLinear - Dark theme */
.mud-progress-linear {
  background: var(--hy-panel-solid) !important;
}

.mud-progress-linear .mud-progress-linear-bar {
  background: var(--hy-accent) !important;
}

/* MudDatePicker/MudPicker - Dark theme */
.mud-picker {
  background: var(--hy-panel-solid) !important;
  border: 1px solid var(--hy-border) !important;
}

.mud-picker-content {
  background: transparent !important;
}

.mud-picker-calendar-header {
  color: var(--hy-ink) !important;
}

.mud-picker-calendar-day {
  color: var(--hy-ink-2) !important;
}

.mud-picker-calendar-day:hover {
  background: rgba(255, 122, 38, 0.15) !important;
}

.mud-picker-calendar-day.mud-selected {
  background: var(--hy-accent) !important;
  color: var(--hy-bg) !important;
}

/* MudAutocomplete dropdown - Dark theme */
.mud-autocomplete .mud-popover {
  background: var(--hy-panel-solid) !important;
}

/* MudTooltip - Dark theme */
.mud-tooltip {
  background: var(--hy-panel-solid) !important;
  border: 1px solid var(--hy-border) !important;
  color: var(--hy-ink) !important;
  font-family: var(--hy-font-mono) !important;
  font-size: 0.75rem !important;
}

/* MudSnackbar - Dark theme */
.mud-snackbar {
  background: var(--hy-panel-solid) !important;
  border: 1px solid var(--hy-border) !important;
  color: var(--hy-ink) !important;
}

.mud-snackbar.mud-snackbar-color-success {
  border-color: var(--hy-success) !important;
}

.mud-snackbar.mud-snackbar-color-error {
  border-color: var(--hy-danger) !important;
}

.mud-snackbar.mud-snackbar-color-warning {
  border-color: var(--hy-warn) !important;
}

.mud-snackbar.mud-snackbar-color-info {
  border-color: var(--hy-accent-2) !important;
}
