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

.vtx-terminal {
  border-radius: 24px;
  background: #06062e;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 11px 22px rgba(2, 2, 129, 0.22);
  overflow: hidden;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.vtx-terminal-bar {
  display: flex;
  gap: 8px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
}

.vtx-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #fc5186;
  display: block;
  flex: 0 0 auto;
}

.vtx-dot:nth-child(2) {
  background: rgba(255, 255, 255, 0.45);
}

.vtx-dot:nth-child(3) {
  background: rgba(255, 255, 255, 0.25);
}

.vtx-terminal pre {
  white-space: pre-wrap;
  margin: 0;
  padding: 20px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 13px;
  line-height: 1.7;
  color: inherit;
  background: transparent;
}

.vtx-typing-terminal {
  flex: 1 1 auto;
  min-height: var(--vtx-terminal-min-height, 382px);
}

.vtx-pink {
  color: #fc5186;
}

.vtx-green {
  color: #10b981;
}

.vtx-muted-white {
  color: rgba(255, 255, 255, 0.68);
}

.vtx-terminal-line {
  display: block;
  opacity: 1;
  transform: none;
}

.vtx-terminal-line--revealing {
  opacity: 0;
  transform: translateY(4px);
  animation: vtxTerminalLineIn var(--vtx-terminal-line-animation, 300ms) ease forwards;
}

body.vx-edit-mode .vtx-terminal-line--revealing {
  opacity: 1 !important;
  transform: none !important;
}

@keyframes vtxTerminalLineIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

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

.vtx-cursor {
  display: inline-block;
  color: #fc5186;
  animation: vtxCursorBlink 1s steps(1, end) infinite;
  margin-left: 2px;
}

@keyframes vtxCursorBlink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

@media (max-width: 767px) {
  .vtx-typing-terminal {
    min-height: var(--vtx-terminal-mobile-min-height, 460px);
    font-size: 12px;
  }
}
