/* ─── output.css — Output blocks, prompt, input & cursor ─── */

/* ─────────────────────────────────────────────
   Output lines
───────────────────────────────────────────── */
.output-block {
  margin-bottom: 4px;
  animation: fadeInLine 0.18s ease both;
}

@keyframes fadeInLine {
  from { opacity: 0; transform: translateX(-4px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Echoed command */
.output-cmd {
  color: var(--gray-light);
  margin-bottom: 6px;
}

/* Standard output text */
.output-text {
  color: var(--white);
  white-space: pre-wrap;
  word-break: break-word;
}

.output-text.green  { color: var(--green); }
.output-text.cyan   { color: var(--cyan); }
.output-text.yellow { color: var(--yellow); }
.output-text.gray   { color: var(--gray); }
.output-text.red    { color: var(--red); }
.output-text.purple { color: var(--purple); }

/* ─────────────────────────────────────────────
   Prompt & Input line
───────────────────────────────────────────── */
.input-line {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  flex-shrink: 0;
}

.prompt {
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 13px;
}

.prompt-user  { color: var(--green); font-weight: 700; }
.prompt-at    { color: var(--gray); }
.prompt-host  { color: var(--cyan); }
.prompt-sep   { color: var(--gray); }
.prompt-path  { color: var(--yellow); }
.prompt-dollar {
  color: var(--green);
  margin-left: 4px;
}

.cli-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 13.5px;
  caret-color: var(--cursor-color);
  min-width: 0;
  letter-spacing: 0.02em;
}

.cli-input::placeholder {
  color: var(--gray);
  opacity: 0.5;
}

/* ─────────────────────────────────────────────
   Blinking cursor (fake, for output previews)
───────────────────────────────────────────── */
.blink {
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ─────────────────────────────────────────────
   ASCII art / pre blocks
───────────────────────────────────────────── */
.ascii-art {
  color: var(--green);
  font-size: 11px;
  line-height: 1.3;
  white-space: pre;
  text-shadow: 0 0 10px var(--green-glow);
  margin-bottom: 8px;
}
