/* ======================================================
   THE SUPRA MANSION - REWRITTEN CSS
   ====================================================== */

body {
    background-color: #111;
    color: #4a90e2;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    margin: 0;
    padding: 20px 0;
}

#game-container {
    width: 90%;
    max-width: 900px;
    border: 2px solid #4a90e2;
    padding: 20px;
    background-color: #111;
    display: flex;
    flex-direction: column;
}

#game-text {
    white-space: pre-wrap;
    margin-bottom: 20px;
    line-height: 1.4;
}

/* Ensures ASCII art and story paragraphs handle spacing correctly */
#game-text p {
    margin: 0 0 1rem 0;
    padding: 0;
}

#command-form {
    display: flex;
    align-items: center;
    border-top: 1px solid #4a90e2; /* Visual separator for the input */
    padding-top: 15px;
    background-color: #111;
    position: sticky; /* Keeps the input box visible at the bottom */
    bottom: 0;
}

#command-input {
    flex-grow: 1;
    background-color: transparent;
    border: none;
    color: #4a90e2;
    font-family: inherit;
    font-size: inherit;
    outline: none;
    caret-color: #fff; /* White cursor for better visibility */
}

label {
    margin-right: 10px;
    font-weight: bold;
}

/* Scrollbar styling to match the theme */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #111; }
::-webkit-scrollbar-thumb { background: #4a90e2; border-radius: 4px; }
