/* Fonts - using a system stack for that crisp console look */
body {
    background-color: #050505; /* Deep black background for the page */
    margin: 0;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: #c9d1d9; /* Soft gray text */
}

/* The Main Window */
.terminal-container {
    width: 900px;
    height: 600px;
    background-color: #0d1117; /* Dark slate for terminal bg */
    border: 1px solid #30363d; /* Subtle gray border */
    border-radius: 6px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* The Output Area (Top part) */
#terminal-output {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    white-space: pre-wrap; /* Preserves formatting but wraps long lines */
    font-size: 14px;
    line-height: 1.5;
}

/* Scrollbar styling */
#terminal-output::-webkit-scrollbar {
    width: 8px;
}
#terminal-output::-webkit-scrollbar-thumb {
    background: #30363d;
    border-radius: 4px;
}

/* The Input Area (Bottom Bar) */
.input-bar {
    background-color: #161b22; /* Slightly lighter bar at the bottom */
    padding: 10px 15px;
    border-top: 1px solid #30363d;
    display: flex;
    align-items: center;
}

/* The Prompt symbol (>) */
.prompt {
    color: #238636; /* Green prompt like the screenshot */
    margin-right: 10px;
    font-weight: bold;
}

/* The actual input field */
#commandInput {
    background: transparent;
    border: none;
    outline: none;
    color: #c9d1d9;
    font-family: inherit;
    font-size: 14px;
    flex-grow: 1;
    width: 100%;
}

/* Utilities for coloring text in JS */
.highlight { color: #58a6ff; } /* Blue for commands */
.success { color: #238636; }   /* Green for success messages */
.error { color: #f85149; }     /* Red for errors */
