#canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#ui-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Text at bottom */
    padding: 40px;
    box-sizing: border-box;
}

/* Minimalist HUD - No Window */
.terminal-window {
    width: 100%;
    max-width: 800px;
    height: auto;
    max-height: 50vh;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    display: flex;
    flex-direction: column;
    pointer-events: auto;
}

.terminal-header {
    display: none;
    /* Remove header */
}

.terminal-content {
    font-family: var(--font-code);
    font-size: 1.1rem;
    line-height: 1.5;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
    overflow-y: auto;
    /* Hide scrollbar for cleaner look */
    scrollbar-width: none;
}

.terminal-content::-webkit-scrollbar {
    display: none;
}

#output {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.output-line {
    margin-bottom: 5px;
    animation: slideUp 0.2s ease-out forwards;
    opacity: 0;
    transform: translateY(10px);
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.input-line {
    display: flex;
    align-items: center;
    margin-top: 10px;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px;
    border-radius: 4px;
    border-left: 2px solid var(--accent-color);
}

.prompt {
    margin-right: 12px;
    color: var(--accent-color);
    font-weight: bold;
    text-shadow: 0 0 10px var(--accent-color);
}

#command-input {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-code);
    font-size: 1.1rem;
    flex-grow: 1;
    outline: none;
    caret-color: var(--accent-color);
    text-shadow: 0 0 5px var(--accent-color);
}

/* Transmission Indicator - Floating HUD Element */
#transmission-indicator {
    position: absolute;
    top: 40px;
    right: 40px;
    padding: 10px 20px;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    font-family: var(--font-code);
    font-size: 0.9rem;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    transition: opacity 0.3s ease;
    text-shadow: 0 0 10px var(--accent-color);
}

#transmission-indicator.hidden {
    opacity: 0;
}

.pulse-icon {
    margin-right: 10px;
    animation: pulse 0.5s infinite alternate;
}

@keyframes pulse {
    from {
        opacity: 1;
        transform: scale(1);
    }

    to {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

/* Utility classes */
.text-error {
    color: #ff3333;
    text-shadow: 0 0 8px #ff0000;
}

.text-success {
    color: #00ff9d;
    text-shadow: 0 0 8px #00ff00;
}

.text-dim {
    color: var(--text-secondary);
}

.text-accent {
    color: var(--accent-color);
    text-shadow: 0 0 8px var(--accent-color);
}