/* Text-input + "Начать" control for feeding custom text into the 3D graph. */
.semantic-input-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 8px 0 6px;
}

.semantic-text-input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 7px 10px;
  font: inherit;
  font-size: 13px;
  color: #f4f4f4;
  background: rgba(20, 20, 24, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  outline: none;
}

.semantic-text-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.semantic-text-input:focus {
  border-color: rgba(120, 180, 255, 0.7);
  box-shadow: 0 0 0 2px rgba(120, 180, 255, 0.2);
}

.bot-action.is-primary {
  background: rgba(120, 180, 255, 0.22);
  border-color: rgba(120, 180, 255, 0.55);
  color: #eaf3ff;
}

.bot-action.is-primary:hover {
  background: rgba(120, 180, 255, 0.34);
}

.bot-action.is-busy {
  opacity: 0.6;
  pointer-events: none;
}

.semantic-motion-toggles {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.semantic-motion-toggle {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  user-select: none;
}

.semantic-motion-toggle input {
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: rgba(120, 180, 255, 0.9);
}

/* Jamming Bot dashboard: status grid (cities graph) */
body.cities-graph-page .bot-status-panel {
  margin: 0 0 8px;
  padding: 0;
}

body.cities-graph-page .bot-status-grid {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

body.cities-graph-page .semantic-demo-row {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

body.cities-graph-page .semantic-log-row #log_semantic {
  overflow-y: auto;
}

body.cities-graph-page .bot-link-chip.is-primary {
  opacity: 1;
  color: #ffffff;
  background: #ff0000;
}
