@import "tailwindcss";

:root {
  --pulse-cyan: #38bdf8;
  --pulse-bg: #020617;
}

body {
  margin: 0;
  background-color: var(--pulse-bg);
  color: #e2e8f0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  min-height: 100vh;
}

/* Glass morphism card base */
.glass-card {
  background: rgba(30, 41, 59, 0.5);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(56, 189, 248, 0.1);
  border-radius: 0.75rem;
}

/* Pulse glow animation */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 5px rgba(56, 189, 248, 0.3); }
  50% { box-shadow: 0 0 20px rgba(56, 189, 248, 0.6); }
}

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

/* Status indicator dot */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.status-dot.working {
  background: #22c55e;
  animation: blink 1s infinite;
}

.status-dot.idle {
  background: #38bdf8;
}

.status-dot.stopped {
  background: #64748b;
}

/* Slow breathing animation for idle status dots */
@keyframes breathe {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.animate-breathe {
  animation: breathe 4s ease-in-out infinite;
}

/* 3D Brain tooltip — glassmorphism card */
.brain-3d-tooltip {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  min-width: 140px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(56, 189, 248, 0.1);
}
