﻿.terminal-window {
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.terminal-panel {
  width: 94vw;
  max-width: 420px;
  height: 65vh;
  min-height: 420px;
  max-height: 520px;
  background: #09090b;
  border: 1px solid #3f3f46;
}

@media (min-width: 768px) {
  .terminal-panel {
    width: 400px;
    height: 480px;
  }
}

.terminal-fab {
  background: #18181b;
  color: #f4f4f5;
  border: 1px solid #3f3f46;
}

.terminal-fab:hover {
  background: #27272a;
}

.terminal-titlebar {
  background: #18181b;
  border-bottom: 1px solid #3f3f46;
  color: #d4d4d8;
}

.terminal-body {
  background: #09090b;
  color: #e5e7eb;
}

.terminal-footer {
  background: #18181b;
  border-top: 1px solid #3f3f46;
}

.terminal-close {
  color: #a1a1aa;
}

.terminal-close:hover {
  color: #f4f4f5;
}

.terminal-run-btn {
  color: #d4d4d8;
  border: 1px solid #52525b;
  background: #18181b;
}

.terminal-run-btn:hover {
  color: #f4f4f5;
  border-color: #71717a;
  background: #27272a;
}

.terminal-scroll {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.terminal-scroll::-webkit-scrollbar {
  display: none;
}

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

.terminal-line--header {
  color: #f5f5f5;
  font-weight: 600;
}

.terminal-line--dim {
  color: #9ca3af;
}

.terminal-line--output {
  color: #d1d5db;
}
.terminal-line--error {
  color: #fca5a5;
}

.terminal-line--code {
  color: #67e8f9;
}

.terminal-line--prompt {
  color: #e5e7eb;
}

.terminal-prompt-prefix {
  color: #86efac;
}

.terminal-input {
  background: #09090b !important;
  color: #f4f4f5 !important;
  caret-color: #4ade80;
}

.terminal-input::placeholder {
  color: #6b7280;
}

.terminal-footer-hint {
  color: #71717a;
}

.terminal-line--active-prompt {
  color: #f4f4f5;
}

.terminal-prompt-input {
  color: #f4f4f5;
}

.terminal-caret {
  display: inline-block;
  width: 0.62ch;
  height: 1.1em;
  margin-inline: 0.02ch;
  vertical-align: text-bottom;
  background: #4ade80;
  animation: terminal-caret-blink 1s steps(1, end) infinite;
}

@keyframes terminal-caret-blink {
  0%,
  48% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

.terminal-body::selection,
.terminal-body *::selection {
  background: #14532d;
  color: #f4f4f5;
}

.terminal-hidden-input {
  position: absolute;
  left: -9999px;
  top: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

