/* === [ MS-DOS PROMPT WINDOWS 98 SHELL ] === */

.terminal-body {
  position: relative;
  background-color: #000000;
  color: #c0c0c0;
  font-family: var(--font-mono);
  font-size: 13px;
  flex: 1;
  min-height: 260px;
  box-sizing: border-box;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-top: 1px solid var(--win-gray-dark);
  border-left: 1px solid var(--win-gray-dark);
  border-right: 1px solid var(--win-white);
  border-bottom: 1px solid var(--win-white);
}

/* output buffer history container */
.terminal-output {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  user-select: text;
  -webkit-user-select: text;
  padding-bottom: 4px;
}

.terminal-output::-webkit-scrollbar {
  width: 14px;
}

.terminal-output::-webkit-scrollbar-track {
  background: #000000;
}

.terminal-output::-webkit-scrollbar-thumb {
  background: var(--win-gray);
  border-top: 1px solid var(--win-white);
  border-left: 1px solid var(--win-white);
  border-right: 1px solid var(--win-frame);
  border-bottom: 1px solid var(--win-frame);
}

.term-line {
  line-height: 1.35;
  word-break: break-word;
  white-space: pre-wrap;
  color: #c0c0c0;
}

.term-line.bright {
  color: #ffffff;
  font-weight: bold;
}

.term-line.dir {
  color: #c0c0c0;
}

.term-line.error {
  color: #ff5555;
}

/* interactive prompt input row */
.terminal-prompt-row {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  flex-shrink: 0;
}

.term-prompt-label {
  color: #c0c0c0;
  font-family: var(--font-mono);
  font-size: 13px;
  white-space: nowrap;
}

.terminal-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 13px;
  caret-color: #ffffff;
  padding: 0;
  margin: 0;
}

/* quick shortcut chips di bawah prompt */
.terminal-footer-hint {
  display: flex;
  gap: 6px;
  padding-top: 6px;
  margin-top: 4px;
  border-top: 1px solid #333333;
  font-size: 11px;
  color: #888888;
}

.terminal-footer-hint span {
  cursor: pointer;
  color: #aaaaaa;
}

.terminal-footer-hint span:hover {
  color: #ffffff;
  text-decoration: underline;
}
