/* Terminal styles */
#terminal-container {
  width: 100%;
  max-width: 800px;
  margin-top: 2rem;
  border: 1px solid var(--secondary-color);
  box-shadow: 0 0 15px rgba(64, 209, 123, 0.1);
}

.terminal-header {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  font-family: "Mono", monospace;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.terminal-title {
  font-weight: bold;
}

.terminal-controls {
  display: flex;
  gap: 0.5rem;
}

.terminal-control {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  cursor: pointer;
}

.terminal-close {
  background-color: #ff5f56;
}

.terminal-minimize {
  background-color: #ffbd2e;
}

.terminal-maximize {
  background-color: #27c93f;
}

.terminal-body {
  background-color: #101010;
  padding: 1rem;
  font-family: "Mono", monospace;
  color: var(--text-color);
  height: 200px;
  overflow-y: auto;
  line-height: 1.5;
}

.terminal-command {
  margin-bottom: 0.5rem;
  white-space: pre-wrap;
  word-break: break-word;
}

.terminal-output {
  margin-bottom: 0.5rem;
  white-space: pre-wrap;
  word-break: break-word;
  color: #aaa;
  white-space: pre;
}

.prompt {
  color: var(--secondary-color);
  margin-right: 0.5rem;
}

.cursor {
  display: inline-block;
  width: 8px;
  height: 1em;
  background-color: var(--secondary-color);
  animation: blink 1s step-end infinite;
}

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

/* Make scrollbar match theme */
.terminal-body::-webkit-scrollbar {
  width: 8px;
}

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

.terminal-body::-webkit-scrollbar-thumb {
  background-color: var(--secondary-color);
  border-radius: 4px;
}

/* Media queries */
@media (max-width: 600px) {
  #terminal-container {
    margin-top: 1rem;
  }

  .terminal-body {
    max-height: 200px;
  }
}
