body {
    background: #111;
    color: #fff;
    font-family: 'Fira Mono', 'Consolas', 'Monaco', monospace;
    margin: 0;
    height: 100vh;
    /* Remove flex centering */
}

.terminal {
    background: #181c1f;
    border-radius: 10px;
    box-shadow: 0 8px 32px 0 rgba(0,0,0,0.45), 0 1.5px 0 #222 inset;
    max-width: 700px;
    width: 90vw;
    min-width: 320px;
    min-height: 350px;
    padding: 0 24px 16px 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
}

.terminal-bar {
    height: 32px;
    background: #23272a;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: flex;
    align-items: center;
    padding-left: 16px;
    margin-left: -24px;
    margin-right: -24px;
    margin-top: -0.5px;
    margin-bottom: 18px;
    user-select: none;
    cursor: grab;
}

.terminal-buttons {
    display: flex;
    gap: 8px;
}

.terminal-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 4px;
    display: inline-block;
}
.terminal-btn.close { background: #ff5f56; border: 1px solid #e0443e; }
.terminal-btn.min { background: #ffbd2e; border: 1px solid #dea123; }
.terminal-btn.max { background: #27c93f; border: 1px solid #13a10e; }

.terminal-title {
    color: #aaa;
    font-size: 1em;
    margin-left: 12px;
    letter-spacing: 0.5px;
}

.terminal-output {
    white-space: pre-wrap;
    margin-bottom: 16px;
    font-size: 1.1em;
    color: #fff;
}

.terminal-output .prompt {
    color: #fff;
}

.terminal-input-row {
    display: flex;
    align-items: center;
    font-size: 1.1em;
}

.prompt {
    color: #fff;
    margin-right: 8px;
}

.terminal-input {
    outline: none;
    min-width: 2ch;
    flex: 1;
    color: #fff;
    background: transparent;
    border: none;
    caret-color: #fff;
}

a {
    color: #fff;
    text-decoration: underline;
}
