/* OS SimLab - Terminal Styling */

.terminal-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  background-color: var(--term-bg, #040a06);
  font-family: "Fira Code", "Cascadia Code", "JetBrains Mono", Consolas, Menlo, monospace;
  font-size: 13.5px;
  line-height: 1.5;
  color: #e8f7ee;
  padding: 12px 16px;
  overflow-y: auto;
  cursor: text;
}

.terminal-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: #09180f;
  border-bottom: 1px solid #142e1f;
  font-size: 12px;
  color: #8eb89f;
}

.term-window-dots {
  display: flex;
  gap: 6px;
}

.term-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot-red { 
  background: #ef4444; 
  box-shadow: 0 0 7px rgba(239, 68, 68, 0.7); /* Zářivý červený puntík */
}
.dot-yellow { background: #eab308; }
.dot-green { 
  background: #10b981; 
  box-shadow: 0 0 7px rgba(16, 185, 129, 0.6);
}

.term-title {
  font-family: inherit;
  font-weight: 600;
  color: #a7f3d0;
}

.term-output {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.term-line {
  white-space: pre-wrap;
  word-break: break-all;
}

.term-command-echo {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.term-prompt-echo {
  user-select: none;
}

.term-cmd-text {
  color: #fff;
  font-weight: 500;
}

/* Vstupní řádek */
.term-input-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}

.term-prompt {
  white-space: nowrap;
  user-select: none;
}

.term-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: inherit;
  color: #fff;
  padding: 0;
  caret-color: #00ff88;
}

/* ANSI & Barvy */
.term-green { color: #22c55e; }
.term-blue { color: #38bdf8; }
.term-red { 
  color: #f87171; 
  text-shadow: 0 0 4px rgba(248, 113, 113, 0.35); /* Červený detail chyb a root účtu */
}
.term-yellow { color: #facc15; }
.term-magenta { color: #f472b6; }
.term-cyan { color: #2dd4bf; }
.term-muted { color: #547864; }
.font-bold { font-weight: 700; }
