body {
    background-color: #000;
    color: #00FF41; /* Classic green terminal color */
    font-family: 'VT323', monospace;
    font-size: 18px;
    margin: 0;
    padding: 20px;
    overflow: hidden;
}

.terminal {
    width: 100%;
    height: calc(100vh - 40px);
    border: 2px solid #00FF41;
    border-radius: 5px;
    box-shadow: 0 0 20px #00FF41;
    overflow-y: auto;
    box-sizing: border-box;
    padding: 10px;
}

/* CRT Scanline Effect */
.terminal::after {
    content: " ";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    z-index: 2;
    background-size: 100% 4px, 3px 100%;
    pointer-events: none;
    animation: flicker 0.15s infinite;
}

@keyframes flicker {
  0% { opacity: 0.21; }
  10% { opacity: 0.25; }
  20% { opacity: 0.23; }
  30% { opacity: 0.28; }
  40% { opacity: 0.22; }
  50% { opacity: 0.26; }
  60% { opacity: 0.24; }
  70% { opacity: 0.27; }
  80% { opacity: 0.21; }
  90% { opacity: 0.29; }
  100% { opacity: 0.2; }
}

#output {
    white-space: pre-wrap;
    word-wrap: break-word;
}

.prompt-line {
    display: flex;
    align-items: center;
}

.prompt {
    color: #15F4EE; /* Cyan for the prompt */
    margin-right: 8px;
}

.input {
    background: transparent;
    border: none;
    color: #00FF41;
    font-family: 'VT323', monospace;
    font-size: 18px;
    flex-grow: 1;
    outline: none;
}

/* --- New Themed Output Classes --- */
.output-command { color: #F7F701; } /* Yellow */
.output-error { color: #FF0000; }   /* Red */
.output-title { color: #15F4EE; }  /* Cyan */
.output-link { color: #7571F9; }   /* Purple */