/* ==========================================================================
   EXECUTION CONTROLS — running.css
   ========================================================================== */

/* Controls pill — floats inside the canvas container */
.execution-controls {
  position: absolute !important;
  top: 10px !important; right: 16px !important;
  z-index: 200 !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: #fff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 999px !important;
  padding: 5px 10px 5px 6px !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.10) !important;
}

.execution-btn {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #374151;
  font-size: 12px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.12s;
}
.execution-btn:hover { border-color: #d1d5db; background: #f3f4f6; }
.execution-btn.active,
.execution-btn#run-button {
  background: #f9fafb; border-color: #d1d5db; color: #4b5563;
}
.execution-btn#run-button.active {
  background: #eef2ff; border-color: #6366f1; color: #4f46e5;
}
.execution-btn#pause-button.active {
  background: #fffbeb; border-color: #f59e0b; color: #d97706;
}
.execution-btn#run-button:hover { background: #f3f4f6; color: #111827; }
.execution-btn:disabled { opacity: 0.35; cursor: not-allowed; }

.execution-status {
  font-size: 12px; font-weight: 600; color: #6b7280;
  padding-left: 4px; white-space: nowrap;
  text-transform: capitalize;
}
.execution-status.running { color: var(--primary); }
.execution-status.done    { color: #16a34a; }
.execution-status.error   { color: #dc2626; }
