/* ── TERMINAL ─────────────────────────────── */
/* EDIT: top, left, width, rotate — posição e tamanho da janela terminal */
#terminal-window {
  position: fixed;
  top: calc(80px + 2vh + 320px);
  left: calc(29% + 200px);
  width: calc(30% - 8px); z-index: 15;
  transform: rotate(3.5deg); transform-origin: center center;
  border-radius: 10px;
  box-shadow: 0 25px 60px rgba(0,0,0,.8), 0 0 40px rgba(0,243,255,.15);
  border: 1px solid rgba(0,243,255,.25);
  background: rgba(6,9,20,.95);
  opacity: 0; pointer-events: none;
  transition: opacity .6s ease;
}
#terminal-window.visible { opacity: 1; pointer-events: auto; }

.terminal-header {
  background: rgba(15,18,28,.95);
  padding: 10px 14px;
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.term-dot { width: 11px; height: 11px; border-radius: 50%; }
.term-dot.red    { background: #ff5f57; }
.term-dot.yellow { background: #febc2e; }
.term-dot.green  { background: #28c840; }
.term-title {
  flex: 1; text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: rgba(255,255,255,.5); letter-spacing: .05em;
}
#terminal-body {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px; line-height: 1.6;
  color: #d0e7ff;
  padding: 14px 16px;
  height: 420px;
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-word;
}
#terminal-body::-webkit-scrollbar { width: 6px; }
#terminal-body::-webkit-scrollbar-track { background: transparent; }
#terminal-body::-webkit-scrollbar-thumb { background: rgba(0,243,255,.2); border-radius: 3px; }
.term-line { margin: 0; }
.term-prompt { color: var(--fiber); font-weight: 500; }
.term-user   { color: #a7f3d0; }
.term-path   { color: #fbbf24; }
.term-cmd    { color: #ffffff; }
.term-out    { color: rgba(240,244,248,.78); }
.term-ok     { color: #86efac; }
.term-err    { color: #fca5a5; }
.term-dim    { color: rgba(255,255,255,.4); }
.term-cyan   { color: var(--fiber); }
.terminal-input-line {
  display: flex; align-items: center; gap: 6px;
  padding: 0 16px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
}
#terminal-input {
  flex: 1; background: transparent; border: none; outline: none;
  color: #fff; font-family: inherit; font-size: inherit;
  caret-color: var(--fiber);
}
