/* B-Roll Studio - Modern SaaS Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --primary: #3b82f6;
  --primary-dark: #1d4ed8;
  --sidebar-bg: #0f172a;
  --sidebar-hover: #1e293b;
  --sidebar-active: #2563eb;
  --surface-light: #f8fafc;
  --border-light: #e2e8f0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  background-color: #f8fafc;
  color: #0f172a;
}

code, pre, .font-mono {
  font-family: 'JetBrains Mono', monospace;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Score bar container */
.score-track {
  position: relative;
  height: 10px;
  background: #e2e8f0;
  border-radius: 9999px;
  overflow: visible;
}
.score-fill {
  height: 100%;
  border-radius: 9999px;
  transition: width 0.5s ease-out;
}
.score-threshold-line {
  position: absolute;
  top: -4px;
  bottom: -4px;
  width: 2px;
  background-color: #ef4444;
  z-index: 10;
}

/* Pulsing dot */
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}
.pulse-anim {
  animation: pulse-dot 2s infinite ease-in-out;
}

/* Pipeline Stage Connectors */
.stage-connector-vertical {
  position: absolute;
  left: 1.25rem;
  top: 2.5rem;
  bottom: -1rem;
  width: 2px;
  background: #cbd5e1;
  z-index: 1;
}

/* Card subtle hover elevation */
.hover-card {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.hover-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
}

/* Tooltip standard */
.tooltip-box {
  visibility: hidden;
  position: absolute;
  z-index: 50;
  opacity: 0;
  transition: opacity 0.2s;
}
.has-tooltip:hover .tooltip-box {
  visibility: visible;
  opacity: 1;
}
