/* Terminal Styles */
.terminal-container {
  min-height: 100vh;
  background-color: #0a0a0a;
  color: #00ff00;
  font-family: 'Courier New', monospace;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  position: relative;
}

.terminal-content {
  max-width: 800px;
  width: 100%;
}

.terminal-line {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.prompt {
  color: #00ff00;
  margin-right: 0.5rem;
  font-weight: bold;
}

.line-text {
  color: #ffffff;
}

.line-text strong {
  color: #00ff00;
  font-weight: bold;
}

.link {
  color: #00aaff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.link:hover {
  color: #0088cc;
  text-decoration: underline;
}

.cursor {
  color: #00ff00;
  font-weight: bold;
  animation: blink 1s infinite;
}

.cursor.visible {
  opacity: 1;
}

.cursor.hidden {
  opacity: 0;
}

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

.version {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  color: #666;
  font-size: 0.8rem;
  font-family: 'Courier New', monospace;
}

/* Input Line Styles */
.input-line {
  position: relative;
}

.input-line .prompt {
  color: #00ff00;
  font-weight: bold;
}

.output-line {
  margin-bottom: 0.2rem;
}

.output-line .line-text {
  color: #ffffff;
  white-space: pre;
}

/* Terminal Cursor */
#terminal-cursor {
  color: #00ff00;
  font-weight: bold;
  font-size: 1rem;
  animation: none; /* Remove blinking animation, we'll handle it with JS */
}

/* Focus styles */
body {
  outline: none;
}

/* Prevent text selection on terminal elements */
.terminal-container {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* Allow text selection only on output lines for copying */
.output-line {
  user-select: text;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
}

/* Responsive Design */
@media (max-width: 768px) {
  .terminal-container {
    padding: 1rem;
  }
  
  .terminal-line {
    font-size: 1rem;
  }
  
  .version {
    bottom: 0.5rem;
    right: 0.5rem;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Selection styling */
::selection {
  background-color: #00ff00;
  color: #0a0a0a;
}

/* Reset styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
}
