/* NFIX CRM - Main styles */
body {
  font-family: 'Inter', sans-serif;
  background: radial-gradient(circle at top left, #0f172a, #020617);
  color: #cbd5e1;
  overflow: hidden;
}

.glass-box {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.custom-scrollbar::-webkit-scrollbar {
  width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 10px;
}

.input-field {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px;
  color: white;
  font-size: 13px;
  width: 100%;
}

.data-row {
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.bot-pill {
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: #818cf8;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  transition: all 0.2s;
}

.bot-pill:hover {
  background: #6366f1;
  color: white;
  transform: translateY(-1px);
}

/* Bot modal - full viewport */
#botSettingsModal .bot-modal-full {
  width: 100vw;
  height: 100vh;
  max-width: none;
  border-radius: 0;
}

/* Flow toolbar slip bar - fit window */
.flow-toolbar-btn {
  transition: transform 0.15s;
}
.flow-toolbar-btn:hover {
  transform: scale(1.1);
}
.flow-toolbar-drag {
  user-select: none;
}

/* Flow canvas performance */
#flowNodesContainer {
  will-change: transform;
}

/* Live Preview: highlight current node */
.flow-node-preview-active {
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.9);
  z-index: 30;
}

/* Dead-end / drop-off analysis highlight */
.flow-node-dead-end {
  box-shadow: 0 0 0 2px rgba(251, 146, 60, 0.8);
}
.flow-node-dropoff-highlight {
  box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.9);
  z-index: 25;
}

#flowCanvas {
  contain: layout style;
}

/* Blue connection line like reference (smooth curve) */
.flow-connection-line {
  stroke-linecap: round;
  stroke-linejoin: round;
}
