.terminal {
  background: #000000;
  border: 1px solid var(--color-terminal-green);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.06);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(0, 255, 65, 0.08);
  flex-shrink: 0;
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.terminal-dot.red { background: #ff5f56; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green { background: #27c93f; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #888;
  margin-left: 0.5rem;
}

.terminal-body {
  padding: 0.85rem 1rem;
  min-height: 220px;
  max-height: 360px;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--color-terminal-green);
  flex: 1;
}

.terminal-body::-webkit-scrollbar {
  width: 4px;
}

.terminal-body::-webkit-scrollbar-track {
  background: transparent;
}

.terminal-body::-webkit-scrollbar-thumb {
  background: rgba(0, 255, 65, 0.2);
  border-radius: 2px;
}

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

.terminal-line.output {
  color: #aaa;
  margin-bottom: 0.2rem;
}

.terminal-line.output-green {
  color: var(--color-terminal-green);
  margin-bottom: 0.2rem;
}

.terminal-line.error {
  color: var(--color-error);
  margin-bottom: 0.2rem;
}

.terminal-input-line {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.2rem;
}

.terminal-prompt {
  color: var(--color-terminal-green);
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 0.82rem;
}

.terminal-input-wrapper {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.terminal-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #e0e0e0;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  caret-color: var(--color-terminal-green);
  padding: 0;
}

.terminal-input::placeholder {
  color: transparent;
}


.terminal-section-title {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--color-text-dim);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.terminal-section-title::before {
  content: '$';
  color: var(--color-terminal-green);
}
