* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0a0a0a;
    color: #4af626;
    font-family: 'Fira Code', 'Courier New', monospace;
    line-height: 1.6;
    overflow: hidden;
}

#terminal {
    width: 100%;
    height: 100vh;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.terminal-line {
    display: flex;
    gap: 8px;
    animation: slideIn 0.3s ease-out;
}

.terminal-prompt {
    color: #4af626;
    font-weight: bold;
    flex-shrink: 0;
}

.terminal-input {
    color: #4af626;
    flex: 1;
}

.terminal-output {
    color: #4af626;
    white-space: pre-wrap;
    word-wrap: break-word;
    margin-left: 20px;
    opacity: 0.9;
    line-height: 1.5;
}

.terminal-output.error {
    color: #ff6b6b;
}

.terminal-output.success {
    color: #51cf66;
}

.input-line {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.input-line input {
    background: none;
    border: none;
    color: #4af626;
    font-family: 'Fira Code', monospace;
    font-size: 14px;
    outline: none;
    flex: 1;
    padding: 4px 0;
    caret-color: #4af626;
}

.cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background-color: #4af626;
    animation: blink 1s infinite;
    margin-left: 2px;
}

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

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #4af626;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6bde3f;
}
