.result-container {
    flex: 1;
    min-width: 0;
    margin-top: 0;
    border-top: none;
    padding-top: 0;
    border-left: 1px solid #eee;
    padding-left: 30px;
}
.result-container h2 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.output-section {
    margin-bottom: 10px;
    padding: 15px;
    border-radius: 5px;
    background: #f9f9f9;
}
.output-section h3 {
    margin-bottom: 10px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.output-section .content {
    font-family: 'Courier New', Courier, monospace;
    white-space: pre-wrap;
    background: white;
    padding: 10px;
    border-radius: 3px;
    border: 1px solid #eee;
    max-height: 500px;
    overflow-y: auto;
}

.stdout h3 { color: var(--success-color); }
.stderr h3 { color: var(--warning-color); }
.error h3 { color: var(--danger-color); }
.message h3 { color: var(--danger-color); }

/* Debug output section */
.debug-output h3 { color: var(--debug-color); }
.debug-output { background: #f5f0ff; }
.debug-output .content {
    font-size: 13px;
    color: #6c3483;
    border-color: #d7bde2;
    background: #faf5ff;
}

/* Markdown rendered output */
.output-section .content.markdown-rendered {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    white-space: normal;
    line-height: 1.6;
    max-height: 600px;
}
.output-section .content.markdown-rendered h1,
.output-section .content.markdown-rendered h2,
.output-section .content.markdown-rendered h3 {
    margin: 8px 0 4px 0;
}
.output-section .content.markdown-rendered ul,
.output-section .content.markdown-rendered ol {
    margin-left: 20px;
}
.output-section .content.markdown-rendered li {
    margin: 2px 0;
}

/* Image output */
.output-section .content.image-rendered {
    white-space: normal;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.output-section .content.image-rendered img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
    margin: 0 auto;
}
.output-section .content .image-error {
    color: var(--danger-color);
    font-weight: 600;
    padding: 10px;
}
.output-section .content .image-loading {
    color: var(--gray-color);
    padding: 10px;
}
