/* ==========================================================================
   SCOPPIATOMC - INTERACTIVE CYBER TERMINAL CLI
   ========================================================================== */

.terminal-container {
  width: 100%;
  max-width: 820px;
  margin: 3rem auto 0 auto;
  background: #020704;
  border: 1.5px solid var(--border-matrix);
  border-radius: var(--radius-md);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.9), 0 0 30px rgba(0, 255, 102, 0.12);
  overflow: hidden;
  position: relative;
  z-index: 10;
  cursor: text;
}

.terminal-header {
  background: #06140b;
  padding: 0.65rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-matrix);
  user-select: none;
}

.terminal-dots {
  display: flex;
  gap: 7px;
}

.t-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.t-dot.red { background: var(--tnt-red); box-shadow: 0 0 6px rgba(255, 0, 60, 0.6); }
.t-dot.yellow { background: var(--tnt-gold); box-shadow: 0 0 6px rgba(255, 170, 0, 0.6); }
.t-dot.green { background: var(--hacker-green); box-shadow: 0 0 6px rgba(0, 255, 102, 0.6); }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.terminal-actions {
  display: flex;
  gap: 0.5rem;
}

.terminal-body {
  padding: 1.25rem;
  min-height: 220px;
  max-height: 340px;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--text-main);
  line-height: 1.6;
}

.terminal-line {
  margin-bottom: 0.45rem;
  word-break: break-word;
}

.terminal-line.cmd-prompt {
  color: #ffffff;
}

.terminal-line.system-msg {
  color: var(--text-muted);
}

.terminal-line.success-msg {
  color: var(--hacker-green);
  text-shadow: 0 0 8px var(--matrix-glow);
}

.terminal-line.tnt-msg {
  color: var(--tnt-orange);
  font-weight: 700;
  text-shadow: 0 0 8px var(--tnt-glow);
}

.terminal-line.error-msg {
  color: var(--tnt-red);
}

.terminal-input-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #030c06;
  border-top: 1px solid var(--border-subtle);
  padding: 0.75rem 1.1rem;
}

.terminal-prompt-label {
  font-family: var(--font-mono);
  color: var(--hacker-green);
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  user-select: none;
}

.terminal-input {
  flex-grow: 1;
  background: transparent;
  border: none;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  color: #ffffff;
  outline: none;
  caret-color: var(--hacker-green);
}

.terminal-hints {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 0.6rem 1.1rem 0.85rem 1.1rem;
  background: #020704;
  border-top: 1px dashed rgba(0, 255, 102, 0.12);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-dim);
  user-select: none;
}

.terminal-chip {
  background: rgba(0, 255, 102, 0.08);
  border: 1px solid var(--border-matrix);
  color: var(--hacker-green);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  transition: var(--transition-fast);
}

.terminal-chip:hover {
  background: var(--hacker-green);
  color: #020804;
  box-shadow: 0 0 10px var(--matrix-glow);
}
