body {
  margin: 0;
  padding: 0;
  background-color: black;
  color: white;
  font-family: monospace;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

#console {
  position: relative;
  width: 90%;
  max-width: 800px;
  min-height: 400px;
  border: 1px solid #333;
  padding: 20px;
  background-color: black;
  box-shadow: 0 0 25px rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
}

#output {
  white-space: pre-wrap;
  overflow-y: scroll;
  overflow-x: hidden;
  flex-grow: 1;
  max-height: 300px;
  padding-right: 5px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
#output::-webkit-scrollbar {
  display: none;
}

#copyright {
  margin-bottom: 10px;
}

.input-line {
  display: flex;
  align-items: center;
}

.cmd-prompt {
  margin-right: 5px;
  color: #00ff00;
}

#input, #litepaper-response {
  background: black;
  color: white;
  border: none;
  outline: none;
  font-family: monospace;
  font-size: 16px;
  width: 100%;
}

footer {
  margin-top: 20px;
  font-size: 14px;
  color: #666;
}

.litepaper-section {
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.startup {
  font-family: monospace;
  white-space: pre-wrap;
  padding: 10px;
  line-height: 1.5;
}

.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  color: #00ff00;
  font-family: monospace;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal-content {
  background-color: black;
  border: 1px solid #444;
  padding: 20px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 0 10px rgba(0,255,0,0.3);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.modal-title {
  font-weight: bold;
  font-size: 18px;
}

.modal-close {
  cursor: pointer;
  color: red;
}

.modal-body input {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  background: black;
  color: #00ff00;
  border: 1px solid #333;
  font-family: monospace;
}

.modal-body button {
  background: black;
  color: #00ff00;
  border: 1px solid #00ff00;
  padding: 8px 16px;
  cursor: pointer;
  font-family: monospace;
}

.modal-body button:hover {
  background: #00ff00;
  color: black;
}

.modal-response {
  margin-top: 10px;
  font-size: 14px;
  color: red;
  white-space: pre-wrap;
}

/* ✅ Typing indicator at bottom-right */
.typing-display {
  position: absolute;
  bottom: 65px;
  right: 20px;
  font-style: italic;
  color: gray;
  font-size: 14px;
  background: rgba(0, 0, 0, 0.75);
  padding: 2px 8px;
  border-radius: 4px;
  pointer-events: none;
  z-index: 5;
}
