.website-terminal,
.website-terminal * {
  box-sizing: border-box;
}

.website-terminal {
  --wt-bg: rgba(4, 7, 10, 0.98);
  --wt-border: rgba(255, 255, 255, 0.12);
  --wt-panel: rgba(255, 255, 255, 0.06);
  --wt-text: #f5f7fa;
  --wt-muted: #aeb7b2;
  --wt-accent: #8fe6bf;
  --wt-accent-2: #82cfff;
  --wt-prompt: #f6c177;
  color: var(--wt-text);
  font-family: "JetBrains Mono", "Fira Code", Consolas, monospace;
  font-size: 0.9rem;
}

.website-terminal .wt-window {
  min-height: 280px;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  border: 0;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(130, 207, 255, 0.06), transparent 210px),
    var(--wt-bg);
  box-shadow:
    0 0 0 1px var(--wt-border),
    0 24px 70px rgba(0, 0, 0, 0.34);
}

.website-terminal .wt-header,
.website-terminal .wt-input-row {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.055);
}

.website-terminal .wt-input-row {
  margin: 0;
  border: 0;
  border-radius: 0;
  border-bottom: 0;
  padding: 0 16px 16px;
  background: transparent;
  box-shadow: none;
}

.website-terminal .wt-input-row:focus-within {
  background: transparent;
  box-shadow: none;
}

.website-terminal .wt-dots {
  display: flex;
  gap: 7px;
  margin-right: auto;
}

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

.website-terminal .wt-dot-red {
  background: #ef6f6c;
}

.website-terminal .wt-dot-yellow {
  background: #f6c177;
}

.website-terminal .wt-dot-green {
  background: #5dd39e;
}

.website-terminal .wt-title {
  color: var(--wt-muted);
  font-size: 0.78rem;
}

.website-terminal .wt-body {
  min-height: 170px;
  max-height: 360px;
  overflow-y: auto;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(143, 230, 191, 0.025), transparent 170px),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(255, 255, 255, 0.018) 32px);
  scrollbar-color: rgba(143, 230, 191, 0.42) transparent;
}

.website-terminal .wt-output {
  margin-bottom: 9px;
  animation: wt-line-in 180ms ease-out both;
  color: var(--wt-muted);
  line-height: 1.6;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.website-terminal .wt-output-typing::after {
  display: inline-block;
  width: 0.62em;
  height: 1em;
  margin-left: 2px;
  background: currentColor;
  content: "";
  transform: translateY(2px);
  animation: wt-cursor-blink 1s step-end infinite;
}

.website-terminal .wt-output[data-type="system"] {
  color: var(--wt-accent);
}

.website-terminal .wt-output[data-type="input"] {
  color: var(--wt-text);
}

.website-terminal .wt-line {
  display: flex;
  width: 100%;
  align-items: baseline;
  gap: 8px;
  line-height: 1.6;
}

.website-terminal .wt-prompt {
  color: var(--wt-prompt);
  font-weight: 700;
}

.website-terminal .wt-input {
  width: 100%;
  min-width: 0;
  min-height: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  outline: 0;
  background: transparent;
  color: var(--wt-text);
  caret-color: var(--wt-accent);
  font: inherit;
  box-shadow: none;
}

.website-terminal .wt-input:focus-visible {
  box-shadow: none;
}

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

.website-terminal .wt-live-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@keyframes wt-line-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes wt-cursor-blink {
  50% {
    opacity: 0;
  }
}
