/* ===============================================
   orDOS FUTURISTIC THEME - Cyber/Holographic UI
   Inspired by v0.dev operating system design
   =============================================== */

/* Import Sci-Fi Fonts */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700&family=Rajdhani:wght@400;500;600;700&family=Share+Tech+Mono&display=swap');

/* CSS Variables - Futuristic Cyan Theme */
:root {
  /* Primary Colors */
  --glow-color: rgba(0, 200, 255, 1);
  --glow-color-dim: rgba(0, 200, 255, 0.6);
  --glow-color-faint: rgba(0, 200, 255, 0.3);
  --glow-color-subtle: rgba(0, 200, 255, 0.1);
  
  /* Background Colors */
  --bg-primary: #000000;
  --bg-secondary: rgba(0, 20, 30, 0.95);
  --bg-tertiary: rgba(0, 40, 60, 0.8);
  --bg-glass: rgba(0, 0, 0, 0.85);
  
  /* Text Colors */
  --text-primary: #00e5ff;
  --text-secondary: rgba(0, 200, 255, 0.8);
  --text-muted: rgba(0, 200, 255, 0.5);
  --text-dim: rgba(0, 200, 255, 0.3);
  
  /* Accent Colors */
  --accent-cyan: #00c8ff;
  --accent-green: #00ff88;
  --accent-purple: #a855f7;
  --accent-orange: #ff9900;
  --accent-red: #ff3366;
  
  /* Border Colors */
  --border-primary: rgba(0, 200, 255, 0.4);
  --border-secondary: rgba(0, 200, 255, 0.2);
  --border-active: rgba(0, 200, 255, 0.8);
  
  /* Shadows */
  --shadow-glow: 0 0 20px rgba(0, 200, 255, 0.3), 0 0 40px rgba(0, 200, 255, 0.1);
  --shadow-glow-intense: 0 0 30px rgba(0, 200, 255, 0.5), 0 0 60px rgba(0, 200, 255, 0.2);
  --shadow-inset-glow: inset 0 0 20px rgba(0, 200, 255, 0.1);
  
  /* Font */
  --font-mono: 'Orbitron', 'Rajdhani', 'Share Tech Mono', 'JetBrains Mono', monospace;
  --font-sans: 'Rajdhani', 'Orbitron', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Override legacy variables */
  --ActiveTitle: linear-gradient(90deg, rgba(0, 40, 60, 0.95), rgba(0, 60, 80, 0.9));
  --InactiveTitle: rgba(0, 20, 30, 0.9);
  --TitleText: #00e5ff;
  --InactiveTitleText: rgba(0, 200, 255, 0.5);
  --Background: #000000;
  --ButtonFace: rgba(0, 30, 45, 0.9);
  --ButtonHilight: rgba(0, 200, 255, 0.3);
  --ButtonShadow: rgba(0, 0, 0, 0.5);
  --Window: rgba(0, 15, 25, 0.95);
  --WindowText: #00e5ff;
  --Hilight: rgba(0, 200, 255, 0.3);
  --HilightText: #ffffff;
  --GrayText: rgba(0, 200, 255, 0.4);
  --MenuHilight: rgba(0, 200, 255, 0.2);
  --MenuBar: rgba(0, 20, 30, 0.95);
  --Menu: rgba(0, 15, 25, 0.98);
}

/* ========================================
   KEYFRAME ANIMATIONS
   ======================================== */

@keyframes glow-pulse {
  0%, 100% {
    box-shadow: 0 0 10px var(--glow-color-dim), 0 0 20px var(--glow-color-faint);
  }
  50% {
    box-shadow: 0 0 20px var(--glow-color-dim), 0 0 40px var(--glow-color-faint), 0 0 60px var(--glow-color-subtle);
  }
}

@keyframes border-glow {
  0%, 100% {
    border-color: var(--border-primary);
  }
  50% {
    border-color: var(--border-active);
  }
}

@keyframes scan-line {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100vh);
  }
}

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

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

@keyframes text-flicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

@keyframes data-stream {
  0% { background-position: 0% 0%; }
  100% { background-position: 0% 100%; }
}

/* ========================================
   GLOBAL STYLES
   ======================================== */

html {
  background: var(--bg-primary) !important;
}

body {
  background: var(--bg-primary) !important;
  color: var(--text-primary) !important;
  font-family: var(--font-mono) !important;
}

/* Grid Pattern Background Overlay - subtle */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image: 
    linear-gradient(var(--glow-color-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--glow-color-subtle) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.3;
}

/* Scan Line Effect - disabled for performance, uncomment if desired */
/*
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--glow-color-faint), transparent);
  animation: scan-line 8s linear infinite;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.3;
}
*/

/* ========================================
   DESKTOP & ICONS
   ======================================== */

#desktop {
  background: transparent !important;
}

ui-icon {
  --icon-size: 48px !important;
  transition: all 0.2s ease !important;
}

ui-icon .ui-icon__figure {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transition: all 0.3s ease !important;
}

ui-icon:hover .ui-icon__figure {
  transform: scale(1.1) !important;
  filter: drop-shadow(0 0 10px var(--glow-color-dim)) !important;
}

ui-icon:is([aria-pressed=true], [aria-selected=true]) .ui-icon__figure {
  background: rgba(0, 200, 255, 0.15) !important;
  border-radius: 8px !important;
}

ui-icon .ui-icon__label {
  color: var(--text-primary) !important;
  font-family: var(--font-mono) !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  text-shadow: 0 0 10px var(--glow-color), 0 0 20px var(--glow-color-dim) !important;
  letter-spacing: 0.02em !important;
}

ui-icon:is([aria-pressed=true], [aria-selected=true]) .ui-icon__label {
  background: rgba(0, 200, 255, 0.2) !important;
  border-radius: 4px !important;
  padding: 2px 6px !important;
}

/* ========================================
   WINDOWS / DIALOGS - Glass Panels
   ======================================== */

ui-dialog {
  background: linear-gradient(180deg,
    rgba(0, 40, 60, 0.75) 0%,
    rgba(0, 30, 50, 0.85) 50%,
    rgba(0, 25, 40, 0.9) 100%) !important;
  border: 1px solid rgba(0, 200, 255, 0.4) !important;
  border-radius: 14px !important;
  box-shadow: 
    0 12px 48px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(0, 200, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  overflow: hidden !important;
}

ui-dialog[aria-current="true"] {
  border-color: rgba(0, 220, 255, 0.6) !important;
  box-shadow: 
    0 15px 60px rgba(0, 0, 0, 0.5),
    0 0 50px rgba(0, 200, 255, 0.2),
    0 0 80px rgba(0, 200, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

/* Window Title Bar - Glass Header */
.ui-dialog__header,
ui-dialog > header {
  background: linear-gradient(90deg, 
    rgba(0, 180, 255, 0.1) 0%,
    rgba(0, 200, 255, 0.15) 50%,
    rgba(0, 180, 255, 0.1) 100%) !important;
  border-bottom: 1px solid rgba(0, 200, 255, 0.25) !important;
  min-height: 44px !important;
  padding: 0 14px !important;
  backdrop-filter: blur(10px) !important;
}

ui-dialog[aria-current="true"] .ui-dialog__header,
ui-dialog[aria-current="true"] > header {
  background: linear-gradient(90deg, 
    rgba(0, 200, 255, 0.15) 0%,
    rgba(0, 220, 255, 0.2) 50%,
    rgba(0, 200, 255, 0.15) 100%) !important;
  border-bottom-color: rgba(0, 220, 255, 0.4) !important;
}

.ui-dialog__title {
  color: #00e5ff !important;
  font-family: var(--font-mono) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-shadow: 0 0 15px rgba(0, 200, 255, 0.6), 0 0 30px rgba(0, 200, 255, 0.3) !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

ui-dialog:not([aria-current="true"]) .ui-dialog__title {
  color: rgba(0, 200, 255, 0.5) !important;
  text-shadow: 0 0 8px rgba(0, 200, 255, 0.3) !important;
}

/* Window Control Buttons - Holographic */
.ui-dialog__button {
  background: rgba(0, 200, 255, 0.1) !important;
  border: 1px solid rgba(0, 200, 255, 0.3) !important;
  border-radius: 8px !important;
  width: 30px !important;
  height: 30px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
  margin-left: 6px !important;
  backdrop-filter: blur(8px) !important;
}

.ui-dialog__button:hover {
  background: rgba(0, 200, 255, 0.2) !important;
  border-color: rgba(0, 220, 255, 0.5) !important;
  box-shadow: 0 0 15px rgba(0, 200, 255, 0.3) !important;
}

/* Close button - red accent */
.ui-dialog__button[aria-label*="Close"]:hover,
.ui-dialog__button:last-child:hover {
  background: rgba(255, 80, 120, 0.25) !important;
  border-color: rgba(255, 100, 150, 0.6) !important;
  box-shadow: 0 0 20px rgba(255, 80, 120, 0.3) !important;
}

/* Window Content - Glass Interior */
.ui-dialog__content,
ui-dialog > :not(header) {
  background: linear-gradient(180deg,
    rgba(0, 25, 40, 0.5) 0%,
    rgba(0, 20, 35, 0.7) 100%) !important;
  color: rgba(0, 220, 255, 0.9) !important;
}

/* ========================================
   TASKBAR - Glass/Holographic Style
   ======================================== */

#taskbar {
  background: linear-gradient(180deg, 
    rgba(0, 180, 255, 0.08) 0%, 
    rgba(0, 120, 180, 0.12) 50%,
    rgba(0, 80, 120, 0.15) 100%) !important;
  border-top: 1px solid rgba(0, 200, 255, 0.4) !important;
  box-shadow: 
    0 -4px 30px rgba(0, 200, 255, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  height: 52px !important;
  padding: 0 12px !important;
}

/* Start Button - Holographic */
#start {
  background: linear-gradient(135deg, 
    rgba(0, 200, 255, 0.15) 0%,
    rgba(0, 150, 200, 0.1) 50%,
    rgba(0, 200, 255, 0.2) 100%) !important;
  border: 1px solid rgba(0, 200, 255, 0.5) !important;
  border-radius: 10px !important;
  color: #00e5ff !important;
  font-family: var(--font-mono) !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  text-shadow: 0 0 12px rgba(0, 200, 255, 0.8), 0 0 24px rgba(0, 200, 255, 0.4) !important;
  padding: 10px 20px !important;
  transition: all 0.2s ease !important;
  text-transform: uppercase !important;
  letter-spacing: 0.15em !important;
  box-shadow: 
    0 0 20px rgba(0, 200, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

#start:hover {
  background: linear-gradient(135deg, 
    rgba(0, 200, 255, 0.25) 0%,
    rgba(0, 180, 230, 0.2) 50%,
    rgba(0, 200, 255, 0.3) 100%) !important;
  border-color: rgba(0, 220, 255, 0.7) !important;
  box-shadow: 
    0 0 30px rgba(0, 200, 255, 0.4),
    0 0 60px rgba(0, 200, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  transform: translateY(-1px) !important;
}

#start:active,
#start[aria-expanded="true"] {
  background: linear-gradient(135deg, 
    rgba(0, 220, 255, 0.35) 0%,
    rgba(0, 200, 255, 0.3) 50%,
    rgba(0, 220, 255, 0.4) 100%) !important;
  border-color: rgba(0, 255, 255, 0.8) !important;
  box-shadow: 
    0 0 40px rgba(0, 200, 255, 0.5),
    0 0 80px rgba(0, 200, 255, 0.3),
    inset 0 0 20px rgba(0, 200, 255, 0.15) !important;
}

/* Taskbar Dock / Running Apps - Glass Panels */
ui-dock {
  gap: 8px !important;
  padding: 4px !important;
}

ui-dock > button {
  background: linear-gradient(180deg,
    rgba(0, 200, 255, 0.08) 0%,
    rgba(0, 150, 200, 0.05) 100%) !important;
  border: 1px solid rgba(0, 200, 255, 0.3) !important;
  border-radius: 8px !important;
  color: rgba(0, 220, 255, 0.9) !important;
  font-family: var(--font-mono) !important;
  font-size: 11px !important;
  padding: 8px 16px !important;
  transition: all 0.2s ease !important;
  position: relative !important;
  backdrop-filter: blur(10px) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

ui-dock > button:hover {
  background: linear-gradient(180deg,
    rgba(0, 200, 255, 0.15) 0%,
    rgba(0, 180, 230, 0.1) 100%) !important;
  border-color: rgba(0, 200, 255, 0.5) !important;
  box-shadow: 
    0 0 15px rgba(0, 200, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

ui-dock > button[aria-pressed="true"] {
  background: linear-gradient(180deg,
    rgba(0, 200, 255, 0.2) 0%,
    rgba(0, 180, 230, 0.15) 100%) !important;
  border-color: rgba(0, 220, 255, 0.6) !important;
  box-shadow: 
    0 0 20px rgba(0, 200, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
  color: #00ffff !important;
}

/* Active app indicator - glowing line */
ui-dock > button[aria-pressed="true"]::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #00e5ff, transparent) !important;
  border-radius: 2px;
  box-shadow: 0 0 10px #00e5ff, 0 0 20px rgba(0, 200, 255, 0.5);
}

/* Notification Area - Subtle Glass */
#notificationArea {
  background: rgba(0, 200, 255, 0.05) !important;
  border: 1px solid rgba(0, 200, 255, 0.25) !important;
  border-radius: 8px !important;
  padding: 6px 14px !important;
  backdrop-filter: blur(10px) !important;
}

#clock {
  color: #00e5ff !important;
  font-family: var(--font-mono) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  text-shadow: 0 0 10px rgba(0, 200, 255, 0.6) !important;
  letter-spacing: 0.1em !important;
}

/* ========================================
   MENUS & MENUBARS - Holographic Glass
   ======================================== */

/* Window Menubar (File, Edit, View, etc inside apps) */
ui-menubar {
  background: linear-gradient(180deg,
    rgba(0, 180, 255, 0.06) 0%,
    rgba(0, 120, 180, 0.08) 100%) !important;
  border-bottom: 1px solid rgba(0, 200, 255, 0.2) !important;
  padding: 4px 8px !important;
  backdrop-filter: blur(10px) !important;
}

ui-menubar > li > .ui-menu__menuitem {
  background: transparent !important;
  color: rgba(0, 220, 255, 0.85) !important;
  font-family: var(--font-mono) !important;
  font-size: 12px !important;
  padding: 8px 14px !important;
  border-radius: 6px !important;
  transition: all 0.15s ease !important;
}

ui-menubar > li > .ui-menu__menuitem:hover,
ui-menubar > li > .ui-menu__menuitem[aria-expanded="true"] {
  background: rgba(0, 200, 255, 0.15) !important;
  color: #00ffff !important;
  box-shadow: 0 0 15px rgba(0, 200, 255, 0.2) !important;
}

/* Dropdown menus - Floating Glass Panels */
ui-menu {
  background: linear-gradient(180deg,
    rgba(0, 40, 60, 0.85) 0%,
    rgba(0, 30, 50, 0.9) 100%) !important;
  border: 1px solid rgba(0, 200, 255, 0.4) !important;
  border-radius: 12px !important;
  box-shadow: 
    0 8px 40px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(0, 200, 255, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(25px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
  padding: 10px !important;
  animation: fade-in-scale 0.15s ease-out !important;
}

.ui-menu__menuitem {
  background: transparent !important;
  color: rgba(0, 220, 255, 0.85) !important;
  font-family: var(--font-mono) !important;
  font-size: 12px !important;
  border: 1px solid transparent !important;
  border-radius: 8px !important;
  padding: 10px 18px !important;
  margin: 2px 0 !important;
  transition: all 0.15s ease !important;
}

.ui-menu__menuitem:hover:not(:disabled),
.ui-menu__menuitem:focus:not(:disabled),
.ui-menu__menuitem[aria-expanded="true"] {
  background: linear-gradient(90deg,
    rgba(0, 200, 255, 0.2) 0%,
    rgba(0, 180, 230, 0.15) 50%,
    rgba(0, 200, 255, 0.1) 100%) !important;
  border-color: rgba(0, 200, 255, 0.3) !important;
  color: #00ffff !important;
  box-shadow: 0 0 15px rgba(0, 200, 255, 0.15) !important;
}

.ui-menu__menuitem:disabled {
  color: rgba(0, 200, 255, 0.3) !important;
  opacity: 0.6 !important;
}

ui-menu hr {
  border: none !important;
  border-top: 1px solid rgba(0, 200, 255, 0.2) !important;
  margin: 8px 6px !important;
}

/* ========================================
   START MENU - Futuristic Diagonal Panel
   Opens diagonally up and to the right
   ======================================== */

@keyframes menu-slide-diagonal {
  from {
    opacity: 0;
    transform: translate(-30px, 30px) scale(0.9) skewY(2deg);
    clip-path: polygon(0 100%, 0 100%, 0 100%, 0 100%);
  }
  to {
    opacity: 1;
    transform: translate(0, 0) scale(1) skewY(0deg);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}

@keyframes menu-glow-sweep {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

#startMenu,
.start-menu,
ui-menu[aria-labelledby="start"] {
  /* Diagonal positioning - up and to the right */
  bottom: 58px !important;
  left: 8px !important;
  
  /* Futuristic angled glass panel */
  background: 
    linear-gradient(135deg, 
      rgba(0, 80, 120, 0.15) 0%,
      transparent 50%),
    linear-gradient(180deg,
      rgba(0, 60, 100, 0.7) 0%,
      rgba(0, 40, 70, 0.85) 40%,
      rgba(0, 30, 55, 0.92) 100%) !important;
  
  /* Angled border effect */
  border: 1px solid transparent !important;
  border-image: linear-gradient(
    135deg,
    rgba(0, 255, 255, 0.8) 0%,
    rgba(0, 200, 255, 0.4) 30%,
    rgba(0, 150, 200, 0.3) 70%,
    rgba(0, 200, 255, 0.6) 100%
  ) 1 !important;
  
  /* Asymmetric border radius - more futuristic */
  border-radius: 4px 20px 20px 4px !important;
  
  /* Dramatic glow effects */
  box-shadow: 
    /* Main glow */
    0 0 60px rgba(0, 200, 255, 0.3),
    0 0 120px rgba(0, 150, 200, 0.15),
    /* Directional light (diagonal) */
    20px -20px 60px rgba(0, 200, 255, 0.2),
    /* Inner glow */
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset -1px 0 0 rgba(0, 200, 255, 0.3),
    /* Bottom shadow */
    0 20px 40px rgba(0, 0, 0, 0.5) !important;
  
  backdrop-filter: blur(25px) saturate(180%) brightness(1.1) !important;
  -webkit-backdrop-filter: blur(25px) saturate(180%) brightness(1.1) !important;
  
  /* Compact padding */
  padding: 8px 6px !important;
  
  /* Constrained size for cleaner look */
  min-width: 240px !important;
  max-width: 280px !important;
  max-height: 70vh !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  
  /* Diagonal open animation */
  animation: menu-slide-diagonal 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) forwards !important;
  transform-origin: bottom left !important;
}

/* Glowing edge accent line */
#startMenu::before,
.start-menu::before,
ui-menu[aria-labelledby="start"]::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg,
    rgba(0, 255, 255, 0.9) 0%,
    rgba(0, 200, 255, 0.6) 30%,
    rgba(0, 150, 200, 0.3) 70%,
    rgba(0, 200, 255, 0.8) 100%);
  border-radius: 0 20px 20px 0;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

/* Scanning light effect */
#startMenu::after,
.start-menu::after,
ui-menu[aria-labelledby="start"]::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 200, 255, 0.08) 45%,
    rgba(0, 255, 255, 0.15) 50%,
    rgba(0, 200, 255, 0.08) 55%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: menu-glow-sweep 3s ease-in-out infinite;
  pointer-events: none;
  border-radius: inherit;
}

/* Menu items - compact futuristic style */
#startMenu .ui-menu__menuitem,
.start-menu .ui-menu__menuitem,
ui-menu[aria-labelledby="start"] .ui-menu__menuitem {
  padding: 8px 14px !important;
  margin: 2px 4px !important;
  border-radius: 6px !important;
  font-size: 12px !important;
  font-family: var(--font-mono) !important;
  letter-spacing: 0.03em !important;
  color: rgba(0, 220, 255, 0.9) !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  transition: all 0.15s ease !important;
  position: relative !important;
}

#startMenu .ui-menu__menuitem:hover,
.start-menu .ui-menu__menuitem:hover,
ui-menu[aria-labelledby="start"] .ui-menu__menuitem:hover {
  background: linear-gradient(90deg,
    rgba(0, 200, 255, 0.15) 0%,
    rgba(0, 180, 230, 0.1) 70%,
    transparent 100%) !important;
  border-left: 2px solid rgba(0, 255, 255, 0.8) !important;
  padding-left: 12px !important;
  color: #00ffff !important;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5) !important;
}

/* Active/expanded menu items */
#startMenu .ui-menu__menuitem[aria-expanded="true"],
.start-menu .ui-menu__menuitem[aria-expanded="true"],
ui-menu[aria-labelledby="start"] .ui-menu__menuitem[aria-expanded="true"] {
  background: linear-gradient(90deg,
    rgba(0, 200, 255, 0.2) 0%,
    rgba(0, 180, 230, 0.15) 60%,
    transparent 100%) !important;
  border-left: 2px solid #00ffff !important;
  box-shadow: 0 0 15px rgba(0, 200, 255, 0.2) !important;
}

/* Submenu arrows - futuristic chevron */
#startMenu .ui-menu__menuitem::after,
.start-menu .ui-menu__menuitem::after {
  color: rgba(0, 200, 255, 0.6) !important;
}

/* Menu dividers/separators */
#startMenu hr,
.start-menu hr,
ui-menu[aria-labelledby="start"] hr {
  border: none !important;
  height: 1px !important;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(0, 200, 255, 0.4) 20%,
    rgba(0, 200, 255, 0.4) 80%,
    transparent 100%) !important;
  margin: 6px 10px !important;
}

/* Submenus - also diagonal/angled */
#startMenu ui-menu,
.start-menu ui-menu,
ui-menu[aria-labelledby="start"] ui-menu {
  background: linear-gradient(135deg,
    rgba(0, 50, 80, 0.9) 0%,
    rgba(0, 35, 60, 0.95) 100%) !important;
  border: 1px solid rgba(0, 200, 255, 0.4) !important;
  border-radius: 4px 14px 14px 4px !important;
  box-shadow: 
    20px -10px 40px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(0, 200, 255, 0.2) !important;
  backdrop-filter: blur(20px) !important;
  transform: translateX(8px) translateY(-8px) !important;
  animation: menu-slide-diagonal 0.2s ease-out !important;
}

/* Icons in menu - glow effect */
#startMenu ui-picto,
.start-menu ui-picto,
ui-menu[aria-labelledby="start"] ui-picto {
  filter: drop-shadow(0 0 3px rgba(0, 200, 255, 0.4)) !important;
}

#startMenu .ui-menu__menuitem:hover ui-picto,
.start-menu .ui-menu__menuitem:hover ui-picto {
  filter: drop-shadow(0 0 6px rgba(0, 255, 255, 0.6)) !important;
}

/* Custom scrollbar for menu */
#startMenu::-webkit-scrollbar,
ui-menu[aria-labelledby="start"]::-webkit-scrollbar {
  width: 4px !important;
}

#startMenu::-webkit-scrollbar-track,
ui-menu[aria-labelledby="start"]::-webkit-scrollbar-track {
  background: transparent !important;
}

#startMenu::-webkit-scrollbar-thumb,
ui-menu[aria-labelledby="start"]::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg,
    rgba(0, 200, 255, 0.5) 0%,
    rgba(0, 150, 200, 0.3) 100%) !important;
  border-radius: 2px !important;
}

/* ========================================
   BUTTONS & INPUTS - Glass Style
   ======================================== */

button, .button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
  background: linear-gradient(135deg, 
    rgba(0, 180, 255, 0.12) 0%,
    rgba(0, 140, 200, 0.08) 100%) !important;
  border: 1px solid rgba(0, 200, 255, 0.4) !important;
  border-radius: 8px !important;
  color: #00e5ff !important;
  font-family: var(--font-mono) !important;
  font-size: 12px !important;
  padding: 8px 16px !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  backdrop-filter: blur(8px) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

button:hover, .button:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
  background: linear-gradient(135deg, 
    rgba(0, 200, 255, 0.2) 0%,
    rgba(0, 160, 220, 0.15) 100%) !important;
  border-color: rgba(0, 220, 255, 0.6) !important;
  box-shadow: 
    0 0 20px rgba(0, 200, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

button:active, .button:active {
  background: linear-gradient(135deg, 
    rgba(0, 220, 255, 0.25) 0%,
    rgba(0, 180, 230, 0.2) 100%) !important;
  box-shadow: inset 0 0 15px rgba(0, 200, 255, 0.15) !important;
}

/* Text Inputs - Glass Style */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="url"],
textarea,
select {
  background: rgba(0, 30, 50, 0.5) !important;
  border: 1px solid rgba(0, 200, 255, 0.3) !important;
  border-radius: 8px !important;
  color: #00e5ff !important;
  font-family: var(--font-mono) !important;
  font-size: 12px !important;
  padding: 10px 14px !important;
  transition: all 0.15s ease !important;
  backdrop-filter: blur(8px) !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(0, 220, 255, 0.6) !important;
  box-shadow: 
    0 0 20px rgba(0, 200, 255, 0.15),
    inset 0 2px 4px rgba(0, 0, 0, 0.2) !important;
  outline: none !important;
}

/* Placeholder text */
::placeholder {
  color: rgba(0, 200, 255, 0.4) !important;
}

/* ========================================
   SCROLLBARS - Glass Style
   ======================================== */

::-webkit-scrollbar {
  width: 10px !important;
  height: 10px !important;
}

::-webkit-scrollbar-track {
  background: rgba(0, 50, 80, 0.3) !important;
  border-radius: 5px !important;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, 
    rgba(0, 180, 255, 0.4) 0%,
    rgba(0, 140, 200, 0.3) 100%) !important;
  border-radius: 5px !important;
  border: 2px solid rgba(0, 50, 80, 0.3) !important;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, 
    rgba(0, 200, 255, 0.5) 0%,
    rgba(0, 160, 220, 0.4) 100%) !important;
  box-shadow: 0 0 10px rgba(0, 200, 255, 0.3) !important;
}

::-webkit-scrollbar-corner {
  background: rgba(0, 50, 80, 0.3) !important;
}

/* ========================================
   UTILITY CLASSES - Glass Style
   ======================================== */

.glow-border {
  border: 1px solid rgba(0, 200, 255, 0.4);
  box-shadow: 0 0 15px rgba(0, 200, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.glow-text {
  color: #00e5ff;
  text-shadow: 0 0 15px rgba(0, 200, 255, 0.6), 0 0 30px rgba(0, 200, 255, 0.3);
}

.glow-pulse {
  animation: glow-pulse 2s ease-in-out infinite;
}

.cyber-panel {
  background: linear-gradient(180deg,
    rgba(0, 50, 80, 0.7) 0%,
    rgba(0, 40, 65, 0.8) 100%);
  border: 1px solid rgba(0, 200, 255, 0.4);
  border-radius: 14px;
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(0, 200, 255, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px) saturate(180%);
}

/* ========================================
   FILE EXPLORER & FOLDER VIEWS - Glass Style
   ======================================== */

ui-folder {
  background: transparent !important;
}

ui-folder ui-icon {
  margin: 10px !important;
}

/* Tree view - Glass */
ui-tree {
  background: rgba(0, 40, 60, 0.4) !important;
  border: 1px solid rgba(0, 200, 255, 0.25) !important;
  border-radius: 10px !important;
  backdrop-filter: blur(10px) !important;
}

ui-tree-item {
  color: rgba(0, 220, 255, 0.85) !important;
  font-family: var(--font-mono) !important;
  padding: 6px 10px !important;
  border-radius: 6px !important;
  transition: all 0.15s ease !important;
}

ui-tree-item:hover {
  background: rgba(0, 200, 255, 0.12) !important;
  box-shadow: 0 0 10px rgba(0, 200, 255, 0.1) !important;
}

ui-tree-item[aria-selected="true"] {
  background: linear-gradient(90deg,
    rgba(0, 200, 255, 0.2) 0%,
    rgba(0, 180, 230, 0.15) 100%) !important;
  color: #00ffff !important;
  border: 1px solid rgba(0, 200, 255, 0.3) !important;
}

/* ========================================
   STATUS BARS & INFO PANELS - Glass
   ======================================== */

.statusbar, [role="status"],
footer, .footer {
  background: linear-gradient(180deg,
    rgba(0, 60, 90, 0.4) 0%,
    rgba(0, 50, 75, 0.5) 100%) !important;
  border-top: 1px solid rgba(0, 200, 255, 0.2) !important;
  color: rgba(0, 200, 255, 0.7) !important;
  font-family: var(--font-mono) !important;
  font-size: 11px !important;
  backdrop-filter: blur(10px) !important;
}

/* ========================================
   SPECIAL APP OVERRIDES
   ======================================== */

/* Terminal app - glass terminal */
.terminal, #terminal, [data-app="terminal"] {
  background: rgba(0, 20, 35, 0.85) !important;
  color: #00e5ff !important;
  font-family: var(--font-mono) !important;
  text-shadow: 0 0 8px rgba(0, 200, 255, 0.5) !important;
  backdrop-filter: blur(10px) !important;
}

/* Flashnet Wallet highlight - orange glow */
ui-icon.flashnet-wallet-highlight .ui-icon__figure {
  outline: 2px solid var(--accent-orange) !important;
  box-shadow: 0 0 20px var(--accent-orange), 0 0 40px rgba(255, 153, 0, 0.3) !important;
}

/* AI Spark highlight - purple glow */
ui-icon.spark-ai-highlight .ui-icon__figure {
  outline: 2px solid var(--accent-purple) !important;
  box-shadow: 0 0 20px var(--accent-purple), 0 0 40px rgba(168, 85, 247, 0.3) !important;
}

/* ========================================
   TOOLTIPS - Glass Style
   ======================================== */

[role="tooltip"], .tooltip {
  background: linear-gradient(180deg,
    rgba(0, 50, 80, 0.85) 0%,
    rgba(0, 40, 65, 0.9) 100%) !important;
  border: 1px solid rgba(0, 200, 255, 0.4) !important;
  border-radius: 8px !important;
  color: #00e5ff !important;
  font-family: var(--font-mono) !important;
  font-size: 11px !important;
  padding: 8px 12px !important;
  box-shadow: 
    0 6px 24px rgba(0, 0, 0, 0.4),
    0 0 15px rgba(0, 200, 255, 0.15) !important;
  backdrop-filter: blur(15px) !important;
}

/* ========================================
   LOADING STATES
   ======================================== */

.loading, [aria-busy="true"] {
  position: relative;
}

.loading::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(0, 200, 255, 0.15), transparent);
  animation: data-stream 1.5s linear infinite;
}

/* ========================================
   TABLES - Glass Style
   ======================================== */

table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(0, 200, 255, 0.3);
}

th, td {
  border: none !important;
  border-bottom: 1px solid rgba(0, 200, 255, 0.15) !important;
  padding: 12px 16px !important;
  font-family: var(--font-mono) !important;
  font-size: 12px !important;
}

th {
  background: linear-gradient(180deg,
    rgba(0, 100, 150, 0.4) 0%,
    rgba(0, 80, 120, 0.5) 100%) !important;
  color: #00e5ff !important;
  text-transform: uppercase !important;
  font-size: 11px !important;
  letter-spacing: 0.08em !important;
  text-shadow: 0 0 10px rgba(0, 200, 255, 0.5) !important;
}

td {
  background: rgba(0, 40, 60, 0.3) !important;
  color: rgba(0, 220, 255, 0.85) !important;
}

tr:hover td {
  background: rgba(0, 200, 255, 0.12) !important;
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */

@media (max-width: 768px) {
  :root {
    --shadow-glow: 0 0 10px rgba(0, 200, 255, 0.2);
    --shadow-glow-intense: 0 0 20px rgba(0, 200, 255, 0.3);
  }
  
  /* Reduce effects for mobile performance */
  body::before {
    display: none;
  }
  
  ui-dialog {
    backdrop-filter: blur(10px) !important;
  }
  
  #taskbar {
    backdrop-filter: blur(12px) !important;
  }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  body::before {
    display: none;
  }
}

/* ========================================
   PRINT STYLES (disable effects)
   ======================================== */

@media print {
  * {
    box-shadow: none !important;
    text-shadow: none !important;
    animation: none !important;
  }
  
  body::before,
  body::after {
    display: none !important;
  }
}

/* ========================================
   INLINE STYLE OVERRIDES
   Override JS-applied inline styles that use gray Windows colors
   These must use very high specificity + !important
   ======================================== */

/* Taskbar - override inline gray background */
footer#taskbar,
#taskbar,
footer#taskbar.panel,
footer#taskbar.panel.cols,
footer.panel[style*="background"] {
  background: linear-gradient(180deg, 
    rgba(0, 180, 255, 0.08) 0%, 
    rgba(0, 120, 180, 0.12) 50%,
    rgba(0, 80, 120, 0.15) 100%) !important;
  border: none !important;
  border-top: 1px solid rgba(0, 200, 255, 0.4) !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: none !important;
  box-shadow: 
    0 -4px 30px rgba(0, 200, 255, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

/* Start/Begin button - override inline gray */
button#start,
#start,
button#start.txt-b,
#taskbar button#start,
footer#taskbar button#start {
  background: linear-gradient(135deg, 
    rgba(0, 200, 255, 0.15) 0%,
    rgba(0, 150, 200, 0.1) 50%,
    rgba(0, 200, 255, 0.2) 100%) !important;
  border: 1px solid rgba(0, 200, 255, 0.5) !important;
  border-top: 1px solid rgba(0, 200, 255, 0.5) !important;
  border-left: 1px solid rgba(0, 200, 255, 0.5) !important;
  border-right: 1px solid rgba(0, 200, 255, 0.5) !important;
  border-bottom: 1px solid rgba(0, 200, 255, 0.5) !important;
  box-shadow: 
    0 0 20px rgba(0, 200, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
  border-radius: 10px !important;
  color: #00e5ff !important;
}

/* Notification area - override inline gray */
#notificationArea,
#notificationArea.cols,
#taskbar #notificationArea,
footer#taskbar #notificationArea,
div#notificationArea[style*="background"] {
  background: rgba(0, 200, 255, 0.05) !important;
  border: 1px solid rgba(0, 200, 255, 0.25) !important;
  border-top: 1px solid rgba(0, 200, 255, 0.25) !important;
  border-left: 1px solid rgba(0, 200, 255, 0.25) !important;
  border-right: 1px solid rgba(0, 200, 255, 0.25) !important;
  border-bottom: 1px solid rgba(0, 200, 255, 0.25) !important;
  box-shadow: none !important;
  border-radius: 8px !important;
}

/* Running programs buttons in taskbar - override inline gray */
#runningPrograms button,
#runningPrograms > button,
#taskbar #runningPrograms button,
footer#taskbar #runningPrograms button,
#runningPrograms button[style*="background"],
button[style*="#c0c0c0"],
button[style*="c0c0c0"] {
  background: linear-gradient(180deg,
    rgba(0, 200, 255, 0.08) 0%,
    rgba(0, 150, 200, 0.05) 100%) !important;
  border: 1px solid rgba(0, 200, 255, 0.3) !important;
  border-top: 1px solid rgba(0, 200, 255, 0.3) !important;
  border-left: 1px solid rgba(0, 200, 255, 0.3) !important;
  border-right: 1px solid rgba(0, 200, 255, 0.3) !important;
  border-bottom: 1px solid rgba(0, 200, 255, 0.3) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  border-radius: 8px !important;
  color: rgba(0, 220, 255, 0.9) !important;
}

/* Active/pressed taskbar buttons */
#runningPrograms button:active,
#runningPrograms button[style*="#dfdfdf"],
#runningPrograms button[style*="dfdfdf"] {
  background: linear-gradient(180deg,
    rgba(0, 200, 255, 0.2) 0%,
    rgba(0, 180, 230, 0.15) 100%) !important;
  border-color: rgba(0, 220, 255, 0.6) !important;
}

/* Language selector popup - override inline gray */
div[style*="background: #c0c0c0"][style*="position: fixed"],
div[style*="background:#c0c0c0"][style*="position: fixed"] {
  background: linear-gradient(180deg,
    rgba(0, 40, 60, 0.9) 0%,
    rgba(0, 30, 50, 0.95) 100%) !important;
  border: 1px solid rgba(0, 200, 255, 0.4) !important;
  border-radius: 10px !important;
  box-shadow: 
    0 8px 40px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(0, 200, 255, 0.15) !important;
  backdrop-filter: blur(20px) !important;
}

/* Language selector items */
div[style*="background: #c0c0c0"] > div,
div[style*="background:#c0c0c0"] > div {
  color: rgba(0, 220, 255, 0.85) !important;
}

div[style*="background: #c0c0c0"] > div:hover,
div[style*="background:#c0c0c0"] > div:hover {
  background: rgba(0, 200, 255, 0.15) !important;
  color: #00ffff !important;
}

/* Selected language item (originally blue) */
div[style*="background: #000080"],
div[style*="background:#000080"] {
  background: linear-gradient(90deg,
    rgba(0, 200, 255, 0.3) 0%,
    rgba(0, 180, 230, 0.25) 100%) !important;
  color: #00ffff !important;
}

/* Quick launch area */
#quickLaunch,
#taskbar #quickLaunch {
  background: transparent !important;
}

/* Tray icons */
#tray,
#notificationArea #tray {
  color: #00e5ff !important;
}

#tray button,
#notificationArea button {
  background: transparent !important;
  border: none !important;
  color: #00e5ff !important;
  filter: drop-shadow(0 0 4px rgba(0, 200, 255, 0.5)) !important;
}

/* Clock styling */
#notificationArea #clock,
#clock {
  color: #00e5ff !important;
  text-shadow: 0 0 10px rgba(0, 200, 255, 0.6) !important;
}

/* Override any outset/inset panel styling */
.panel.outset,
.panel.inset,
[class*="panel"][style*="background"] {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Force all elements with gray inline styles to be transparent or themed */
*[style*="#c0c0c0"]:not(img):not(svg),
*[style*="rgb(192, 192, 192)"]:not(img):not(svg) {
  background: rgba(0, 200, 255, 0.05) !important;
}

*[style*="#808080"]:not(img):not(svg),
*[style*="rgb(128, 128, 128)"]:not(img):not(svg) {
  border-color: rgba(0, 200, 255, 0.3) !important;
}

*[style*="#dfdfdf"]:not(img):not(svg),
*[style*="rgb(223, 223, 223)"]:not(img):not(svg) {
  background: rgba(0, 200, 255, 0.1) !important;
}

*[style*="#404040"]:not(img):not(svg),
*[style*="rgb(64, 64, 64)"]:not(img):not(svg) {
  border-color: rgba(0, 200, 255, 0.2) !important;
}

/* ========================================
   ALL MENUS & SUBMENUS - Force Glass Style
   Override any inline styles on nested menus
   ======================================== */

/* All ui-menu elements including nested ones */
ui-menu,
ui-menu ui-menu,
ui-menu ui-menu ui-menu,
.ui-menu,
[role="menu"] {
  background: linear-gradient(135deg,
    rgba(0, 50, 80, 0.92) 0%,
    rgba(0, 35, 60, 0.95) 100%) !important;
  border: 1px solid rgba(0, 200, 255, 0.5) !important;
  border-radius: 4px 14px 14px 4px !important;
  box-shadow: 
    0 8px 40px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(0, 200, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(25px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
  padding: 8px !important;
}

/* All menu items in any menu */
ui-menu .ui-menu__menuitem,
ui-menu ui-menu .ui-menu__menuitem,
[role="menu"] [role="menuitem"],
[role="menuitem"] {
  background: transparent !important;
  color: rgba(0, 220, 255, 0.9) !important;
  border: 1px solid transparent !important;
  border-radius: 6px !important;
  padding: 8px 14px !important;
  font-family: var(--font-mono) !important;
  font-size: 12px !important;
}

ui-menu .ui-menu__menuitem:hover,
ui-menu ui-menu .ui-menu__menuitem:hover,
[role="menuitem"]:hover {
  background: linear-gradient(90deg,
    rgba(0, 200, 255, 0.2) 0%,
    rgba(0, 180, 230, 0.1) 100%) !important;
  border-left: 2px solid rgba(0, 255, 255, 0.8) !important;
  color: #00ffff !important;
}

/* ========================================
   APP CONTENT AREAS - Glass Style
   For apps that have their own styling
   ======================================== */

/* Generic app content - iframes and embedded content */
ui-dialog iframe,
ui-dialog .app-content,
ui-dialog .content,
.ui-dialog__content {
  background: transparent !important;
}

/* Account app specific overrides */
ui-dialog[aria-label*="Account"] .ui-dialog__content,
ui-dialog[aria-label*="ACCOUNT"] .ui-dialog__content {
  background: linear-gradient(180deg,
    rgba(0, 30, 50, 0.95) 0%,
    rgba(0, 25, 40, 0.98) 100%) !important;
}

/* Override white/light backgrounds in app iframes */
.sci-fi-theme iframe {
  filter: none !important;
}

/* Gray panel overrides for apps */
.sci-fi-theme .panel,
.sci-fi-theme [class*="panel"],
.sci-fi-theme .card,
.sci-fi-theme [class*="card"] {
  background: rgba(0, 40, 60, 0.7) !important;
  border: 1px solid rgba(0, 200, 255, 0.3) !important;
  color: rgba(0, 220, 255, 0.9) !important;
}

/* Tab buttons/navigation in apps */
.sci-fi-theme .tabs button,
.sci-fi-theme .tab-button,
.sci-fi-theme [role="tab"],
.sci-fi-theme nav button {
  background: rgba(0, 60, 90, 0.6) !important;
  border: 1px solid rgba(0, 200, 255, 0.3) !important;
  color: rgba(0, 200, 255, 0.8) !important;
}

.sci-fi-theme .tabs button.active,
.sci-fi-theme .tab-button.active,
.sci-fi-theme [role="tab"][aria-selected="true"],
.sci-fi-theme nav button.active {
  background: linear-gradient(180deg,
    rgba(0, 100, 150, 0.7) 0%,
    rgba(0, 80, 120, 0.6) 100%) !important;
  border-color: rgba(0, 200, 255, 0.6) !important;
  color: #00e5ff !important;
}

/* Progress bars */
.sci-fi-theme progress,
.sci-fi-theme .progress,
.sci-fi-theme [role="progressbar"] {
  background: rgba(0, 40, 60, 0.5) !important;
  border: 1px solid rgba(0, 200, 255, 0.3) !important;
  border-radius: 4px !important;
}

.sci-fi-theme progress::-webkit-progress-bar {
  background: rgba(0, 40, 60, 0.5) !important;
}

.sci-fi-theme progress::-webkit-progress-value {
  background: linear-gradient(90deg, #0066cc, #00c8ff) !important;
}

/* Stat boxes/info panels */
.sci-fi-theme .stat,
.sci-fi-theme .info-box,
.sci-fi-theme .stat-box {
  background: rgba(0, 40, 60, 0.6) !important;
  border: 1px solid rgba(0, 200, 255, 0.25) !important;
  color: rgba(0, 200, 255, 0.9) !important;
}

/* Force all gray backgrounds in sci-fi theme body */
body.sci-fi-theme *:not(img):not(svg):not(video):not(canvas) {
  --gray-bg: rgba(0, 40, 60, 0.7);
}

/* Override common gray classes */
.sci-fi-theme .bg-gray,
.sci-fi-theme .bg-grey,
.sci-fi-theme .bg-light,
.sci-fi-theme .bg-white,
.sci-fi-theme .bg-secondary {
  background: rgba(0, 40, 60, 0.7) !important;
}

/* Text inputs in apps */
.sci-fi-theme input,
.sci-fi-theme textarea,
.sci-fi-theme select {
  background: rgba(0, 30, 50, 0.7) !important;
  border: 1px solid rgba(0, 200, 255, 0.3) !important;
  color: #00e5ff !important;
}

.sci-fi-theme input::placeholder,
.sci-fi-theme textarea::placeholder {
  color: rgba(0, 200, 255, 0.4) !important;
}

/* Links in apps */
.sci-fi-theme a {
  color: #00c8ff !important;
}

.sci-fi-theme a:hover {
  color: #00ffff !important;
  text-shadow: 0 0 8px rgba(0, 255, 255, 0.5) !important;
}
