/* Minimal custom helpers complementing Tailwind CSS */

.pulse-dot {
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: pulse-live 2s infinite;
}

.pulse-dot.paused {
  background-color: #fbbf24 !important;
  animation: none;
  box-shadow: none;
}

@keyframes pulse-live {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); }
  70% { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

/* Web Shell fullscreen & cursor */
#shell-panel.fullscreen {
  position: fixed;
  inset: 0;
  z-index: 60;
  border-radius: 0;
  border: 0;
}

#shell-panel.fullscreen .terminal-screen {
  height: calc(100vh - 88px);
}

.term-line {
  min-height: 20px;
  white-space: pre;
}

.term-cursor {
  background: #22d3ee !important;
  color: #05080f !important;
  border-radius: 2px;
  animation: term-blink 1.1s steps(1) infinite;
}

@keyframes term-blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0.35; }
}

/* Subtle dark scrollbars */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

::-webkit-scrollbar-track {
  background: #090d16;
}

::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #334155;
}
