/* Matrix-style green-on-black terminal aesthetic. */
html, body {
  margin: 0;
  padding: 0;
  background: #000;
  color: #00ff66;
  font-family: Consolas, "Courier New", monospace;
  overflow: auto;
  min-height: 100%;
}

body {
  caret-color: transparent;
}

#screen {
  white-space: pre;
  font-family: Consolas, "Courier New", monospace;
  font-size: 14px;
  line-height: 1.0;
  letter-spacing: 0;
  padding: 12px;
  outline: none;
  text-shadow: 0 0 4px currentColor;
  color: #00ff66;
}

#screen:focus {
  outline: none;
}

/* Code editor for bots: also terminal-ish. */
textarea.bot-editor {
  width: 90vw;
  height: 50vh;
  background: #000;
  color: #00ff66;
  border: 1px solid #00ff66;
  font-family: Consolas, "Courier New", monospace;
  font-size: 14px;
  padding: 8px;
  resize: vertical;
  caret-color: #00ff66;
  text-shadow: 0 0 3px #00ff66;
  outline: none;
}

input.bot-name {
  background: #000;
  color: #00ff66;
  border: 1px solid #00ff66;
  font-family: Consolas, "Courier New", monospace;
  font-size: 14px;
  padding: 4px 8px;
  outline: none;
  width: 30ch;
}

#overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
}

#overlay.active {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  z-index: 10;
  flex-direction: column;
  padding: 20px;
  gap: 10px;
}

::selection { background: #003311; }
