@charset "utf-8";
/* 공통 */
html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: sans-serif;
    /* background: #1e1e1e; */
    color: #1e1e1e;
}

.split {
    display: flex;
    /* height: 550px; */
}

#left,
#right {
    /* height: 100%; */
    padding: 10px;
    /* overflow: auto; */
}

.gutter {
    background-color: #ccc;
    background-repeat: no-repeat;
    background-position: 50%;
}

.gutter.gutter-horizontal {
    cursor: col-resize;
    width: 10px;
}

iframe {
    display: block;
    border: none;
    max-width: 100%;
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    border: none;
}

.cm-s-3024-night.CodeMirror {
    border: 1px solid white;
    background: #23292d;
    height: 250px;
    font-size: 15px;
}

#overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10;
    pointer-events: all;
    justify-content: center;
    align-items: center;
    color: white;
}

#console-output {
    background-color: #000;
    color: #0f0;
    font-family: monospace;
    padding: 10px;
    font-size: 1.5em;
    white-space: pre-wrap;
    height: 200px;
    overflow-y: auto;
    border: 1px solid #444;
}

#input-section {
    margin-top: 1em;
    display: none;
}

#user-input {
    font-size: 1.5em;
    padding: 0.5em;
    width: 300px;
    background: #aaa;
    color: black;
    border: 1px solid #444;
}

/* 게시판 */
.board_container table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
.board_container th,
.board_container td {
    border-bottom: 1px solid #ddd;
    padding: 10px;
    text-align: left;
    font-size: 14px;
}
.board_container th {
    background-color: #f9f9f9;
}

#console-output {
    white-space: pre-wrap;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.console-line--out {
    color: #eaeaf2;
} /* 일반 출력 */
.console-line--prompt {
    color: #9aa0b4;
} /* input 프롬프트 */
.console-line--in {
    color: #ff4d4f;
} /* ← 사용자가 입력한 값(빨강) */
.console-line--err {
    color: #ffb86c;
} /* 에러 */
