.cpp-runner {
    max-width: 900px;
    margin: auto;
    --cpp-editor-height: 300px;
}

.cpp-editor {
    width: 100%;
    height: var(--cpp-editor-height);
    box-sizing: border-box;
    padding: 12px;
    border: 1px solid #d0d7de;
    border-radius: 6px;
    font-family: monospace;
    font-size: 16px;
    line-height: 1.45;
    resize: vertical;
}

.cpp-run-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    margin: 12px 0;
    padding: 0 18px;
    border: 0;
    border-radius: 6px;
    background: #2563eb;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.cpp-run-button:hover {
    background: #1d4ed8;
}

.cpp-run-button:disabled {
    background: #94a3b8;
    cursor: wait;
}

.cpp-output {
    margin: 0;
    padding: 15px;
    min-height: 150px;
    background: #111;
    color: #00ff00;
    white-space: pre-wrap;
}

.cpp-output[hidden] {
    display: none;
}
