/* General Styling */
body {
  font-family: "Courier New", Courier, monospace;
  background-color: #282c34;
  color: #61dafb;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /*height: 100vh;*/
}

/* Monitor Design */
.monitor {
  width: 600px;
  height: 400px;
  background-color: #333;
  border: 12px solid #222;
  border-radius: 10px;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.terminal {
  width: 100%;
  height: 100%;
  background: black;
  color: #61dafb;
  font-family: "Cascadia Code", "Courier New", Courier, monospace;
  font-size: 14px;
  padding: 10px;
  border-radius: 5px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

#output {
  flex-grow: 1;
  overflow-y: auto;
  white-space: pre-wrap;
}

#promptLine {
  display: flex;
  align-items: center;
}

.prompt {
  color: #61dafb;
}

.cursor {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: #61dafb;
  animation: blink 0.8s steps(1) infinite;
}

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

/* Submit Button */
#submitButton {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #61dafb;
  border: none;
  color: white;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

#submitButton:disabled {
  background-color: #555;
  cursor: not-allowed;
}
