/* ============================================================
   EVOLVE OS v3.2 — DEVSUITE UI
   Debug overlay + Mind Map + Idea Vault
   Clean, minimal, ASCII‑only, Cloudflare‑safe.
   ============================================================ */

/* ------------------------------------------------------------
   SECTION + BUTTONS
   ------------------------------------------------------------ */
.devsuite-section {
  font-size: 14px;
  line-height: 1.5;
}

.devsuite-section h2 {
  margin-top: 0;
  font-size: 18px;
  font-weight: bold;
}

.devsuite-btn {
  display: block;
  width: 100%;
  padding: 10px;
  margin: 6px 0;
  background: #333;
  color: #fff;
  border: none;
  cursor: pointer;
  text-align: left;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.devsuite-btn:hover {
  background: #444;
}

.devsuite-output {
  margin-top: 12px;
  padding: 10px;
  background: #1a1a1a;
  border-radius: 6px;
  font-size: 13px;
  color: #ccc;
}

/* ------------------------------------------------------------
   DEBUG OVERLAY
   ------------------------------------------------------------ */
.evolve-debug-overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  height: 100vh;
  background: rgba(0,0,0,0.85);
  color: #fff;
  z-index: 999999;
  display: none;
  padding: 12px;
  overflow-y: auto;
}

.edo-header {
  font-weight: bold;
  margin-bottom: 10px;
}

.edo-stream {
  font-size: 12px;
  line-height: 1.4;
}

.edo-line {
  padding: 4px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: #ccc;
}

/* ------------------------------------------------------------
   SUBTABS (Diagnostics / Ideas)
   ------------------------------------------------------------ */
.devsuite-subtabs {
  display: flex;
  background: #181818;
  border-bottom: 1px solid #2a2a2a;
}

.devsuite-subtab-btn {
  flex: 1;
  padding: 10px;
  background: none;
  border: none;
  color: #aaa;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s ease, color 0.2s ease;
}

.devsuite-subtab-btn:hover {
  background: #222;
  color: #fff;
}

.devsuite-subtab-btn.active {
  background: #333;
  color: #fff;
}

/* ------------------------------------------------------------
   MIND MAP
   ------------------------------------------------------------ */
.idea-mindmap-container {
  padding: 12px;
  border-bottom: 1px solid #2a2a2a;
}

.idea-mindmap-root {
  text-align: center;
  margin-bottom: 16px;
}

.idea-node {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  background: #222;
  margin: 6px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.idea-node:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(120,80,255,0.5);
}

.idea-node-title {
  font-size: 14px;
  font-weight: bold;
}

.idea-node-status {
  font-size: 12px;
  opacity: 0.7;
}

/* Status colours */
.idea-node-purple { background: #2a1a3a; }
.idea-node-blue   { background: #1a2a3a; }
.idea-node-green  { background: #1a3a2a; }
.idea-node-grey   { background: #2a2a2a; }

/* Connectors */
.idea-connector-line {
  display: block;
  width: 2px;
  height: 20px;
  margin: 0 auto;
  background: rgba(255,255,255,0.2);
}

/* ------------------------------------------------------------
   IDEA VAULT LIST
   ------------------------------------------------------------ */
.idea-list-scroll {
  max-height: 50vh;
  overflow-y: auto;
  padding: 12px;
}

.idea-row {
  padding: 12px;
  border-bottom: 1px solid #2a2a2a;
}

.idea-row-highlight {
  background: rgba(120,80,255,0.2);
  transition: background 0.6s ease;
}

.idea-status-badge {
  padding: 4px 8px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 12px;
  margin-right: 8px;
}

.idea-status-purple { background: #4a2a7a; }
.idea-status-blue   { background: #2a4a7a; }
.idea-status-green  { background: #2a7a4a; }
.idea-status-grey   { background: #444; }

.idea-row-details {
  display: none;
  margin-top: 8px;
  font-size: 13px;
  opacity: 0.85;
}

.idea-row-details.open {
  display: block;
}

.idea-add-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.idea-add-input {
  flex: 1;
  padding: 6px 8px;
  border-radius: 6px;
  border: 1px solid #333;
  background: #1a1a1a;
  color: #fff;
}

.idea-add-button {
  padding: 6px 12px;
  background: #333;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  color: #fff;
}

.idea-add-button:hover {
  background: #444;
}
