/* Desktop HUD Styles - Complete Transparency, Dark Neumorphism */
.desktop-hud {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  pointer-events: none;
  user-select: none;
  font-family: 'JetBrains Mono', 'Cascadia Code', 'Fira Code', monospace;
  background: rgba(0,0,0,0) !important;
  background-color: rgba(0,0,0,0) !important;
  padding: 0;
  margin: 0;
  border: none;
}

/* Force transparency on all child elements */
.desktop-hud * {
  background: transparent !important;
  background-color: transparent !important;
}

/* No background gradients anywhere; keep everything transparent */
.desktop-hud, .desktop-hud:before, .desktop-hud:after,
.desktop-hud *:before, .desktop-hud *:after {
  background-image: none !important;
  box-shadow: none;
}





/* Status Icon - Circular Button, dark neumorphism */
.status-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: #0d1117 !important; /* force flat dark */
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.status-icon {
  color: rgba(200, 220, 255, 0.85);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  font-size: 12px;
}

.status-icon.idle {
  color: rgba(180, 200, 230, 0.8);
  animation: gentle-glow 3s ease-in-out infinite;
}

.status-icon.recording {
  color: #39d353; /* greenish for recording */
  animation: recording-glow 0.8s ease-in-out infinite alternate;
  text-shadow: 0 0 10px rgba(57, 211, 83, 0.5);
}

.status-icon.processing {
  color: #e3b341;
  animation: processing-spin 2s linear infinite;
  text-shadow: 0 0 8px rgba(227, 179, 65, 0.4);
}

/* Assistant modes: distinct hue */
.assistant-recording .status-icon,
.status-icon.assistant-recording {
  color: #8b5cf6; /* violet */
  animation: recording-glow 0.8s ease-in-out infinite alternate;
  text-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

.assistant-processing .status-icon,
.status-icon.assistant-processing {
  color: #a78bfa; /* lighter violet */
  animation: processing-spin 2s linear infinite;
  text-shadow: 0 0 8px rgba(167, 139, 250, 0.4);
}

@keyframes gentle-glow {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

@keyframes recording-glow {
  0% { 
    opacity: 0.8;
    transform: scale(1);
  }
  100% { 
    opacity: 1;
    transform: scale(1.1);
  }
}

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





/* Recording Pulse Ring */
.recording-pulse-ring {
  position: absolute;
  width: 40px;
  height: 40px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(57, 211, 83, 0.35);
  border-radius: 50%;
  animation: pulse-ring 1.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.4;
  }
  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}



/* State-specific styling */
.desktop-hud.idle .status-section {
  width: 22px;
  height: 22px;
  background: #0d1117 !important;
  border-color: rgba(255,255,255,0.06);
  box-shadow:
    4px 4px 10px rgba(0,0,0,0.55),
    -4px -4px 10px rgba(255,255,255,0.02),
    inset 0 0 0 rgba(0,0,0,0);
  transform: scale(0.9);
}

.desktop-hud.idle .status-icon {
  font-size: 9px;
}

.desktop-hud.recording .status-section {
  border-color: rgba(255,255,255,0.08);
  background: #0d1117 !important;
  box-shadow:
    8px 8px 16px rgba(0,0,0,0.6),
    -8px -8px 16px rgba(255,255,255,0.02),
    inset 0 0 0 rgba(0,0,0,0);
  transform: scale(1.1);
}



.desktop-hud.processing .status-section {
  border-color: rgba(255,255,255,0.08);
  background: #0d1117 !important;
  box-shadow:
    6px 6px 12px rgba(0,0,0,0.6),
    -6px -6px 12px rgba(255,255,255,0.02),
    inset 0 0 0 rgba(0,0,0,0);
  transform: scale(1.05);
}

/* Collapsed state: flatten to slim bar */
.desktop-hud.collapsed .status-section {
  width: 52px;
  height: 10px;
  border-radius: 10px;
  transform: translateY(12px) scale(1);
  box-shadow: 0 0 0 rgba(0,0,0,0);
  background: #0d1117 !important;
}

.desktop-hud.collapsed .status-icon,
.desktop-hud.collapsed .recording-pulse-ring {
  opacity: 0;
}



 