/* style.css - kept to match your look & feel */
body {
  background: #000;
  color: #00ff9f;
  font-family: monospace;
  margin: 0;
  padding: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

#terminal {
  background: #000;
  border: 2px solid #00ff9f30;
  border-radius: 6px;
  padding: 15px;
  width: 900px;
  height: 500px;
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: 0 0 10px #00ff9f30;
  text-shadow: 0 0 2px #00ff9f50, 0 0 8px #00ff9f20;
  position: relative;
}

body::after {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,255,159,0.02);
  mix-blend-mode: overlay;
  animation: flicker 0.12s infinite;
  pointer-events: none;
}

@keyframes flicker { 50% { opacity: 0.8; } }

.line { white-space: pre-wrap; margin: 4px 0; }
.prompt { color: #00ffaa; user-select: none; }

.fixed-space {
  color: #00ff9f;
  user-select: none;
  display: inline-block;
  width: 0.6ch;
}

.input-line {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  position: relative;
}

.terminal-input {
  background: transparent;
  border: none;
  color: #00ff9f;
  font: inherit;
  outline: none;
  flex: 1;
  min-width: 0;
  caret-color: transparent;
}

.caret {
  position: absolute;
  width: 2px;
  height: 1em;
  background: #00ff9f;
  top: 0.14em;
  pointer-events: none;
  animation: blink 1s step-start infinite;
}

@keyframes blink { 50% { opacity: 0; } }

::selection { background: #00ff9f; color: #000; }

.pw-input {
  background: transparent;
  border: none;
  color: #00ff9f;
  font: inherit;
  outline: none;
}