* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    background-color: #1e1e1e;
    color: #d4d4d4;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.container {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

/* Toolbar */
.toolbar {
    background-color: #2d2d30;
    padding: 8px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #3e3e42;
    flex-shrink: 0;
}

.toolbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 24px;
    width: 24px;
}

.filename {
    color: #cccccc;
    font-size: 14px;
    padding: 4px 8px;
    background-color: #1e1e1e;
    border-radius: 3px;
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn {
    padding: 6px 12px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 13px;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.2s;
}

.btn-icon {
    font-size: 12px;
}

.btn-run {
    background-color: #0e639c;
    color: white;
}

.btn-run:hover {
    background-color: #1177bb;
}

.btn-debug {
    background-color: #007acc;
    color: white;
}

.btn-debug:hover {
    background-color: #0098ff;
}

.btn-stop {
    background-color: #c72525;
    color: white;
}

.btn-stop:hover {
    background-color: #e03030;
}

.btn-secondary {
    background-color: #3e3e42;
    color: #cccccc;
}

.btn-secondary:hover {
    background-color: #4e4e52;
}

.language-select {
    background-color: #1e1e1e;
    color: #cccccc;
    border: 1px solid #3e3e42;
    border-radius: 3px;
    padding: 4px 8px;
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
}

.info-icon,
.settings-icon {
    color: #cccccc;
    cursor: pointer;
    font-size: 16px;
    padding: 4px 8px;
}

.info-icon:hover,
.settings-icon:hover {
    color: white;
}

/* Editor Container */
.editor-container {
    flex: 1;
    display: flex;
    overflow: hidden;
    background-color: #1e1e1e;
}

.line-numbers {
    background-color: #252526;
    color: #858585;
    padding: 12px 8px;
    text-align: right;
    font-size: 14px;
    line-height: 20px;
    user-select: none;
    min-width: 50px;
    overflow: hidden;
}

.code-editor {
    flex: 1;
    background-color: #1e1e1e;
    color: #d4d4d4;
    border: none;
    padding: 12px;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 14px;
    line-height: 20px;
    resize: none;
    outline: none;
    overflow-y: auto;
    overflow-x: auto;
    white-space: pre;
    tab-size: 4;
}

.code-editor::placeholder {
    color: #6a6a6a;
}

/* Separator */
.separator {
    background-color: #2d2d30;
    border-top: 1px solid #3e3e42;
    border-bottom: 1px solid #3e3e42;
    padding: 4px 0;
    text-align: center;
    color: #858585;
    font-size: 12px;
    flex-shrink: 0;
}

/* Console */
.console-container {
    background-color: #0c0c0c;
    flex: 0 0 200px;
    overflow-y: auto;
    padding: 12px;
}

.console-output {
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.6;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.console-output .output-text {
    color: #cccccc;
}

.console-output .success-text {
    color: #4ec9b0;
}

.console-output .error-text {
    color: #f48771;
}

/* Scrollbar Styling */
.code-editor::-webkit-scrollbar,
.console-container::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

.code-editor::-webkit-scrollbar-track,
.console-container::-webkit-scrollbar-track {
    background: #1e1e1e;
}

.code-editor::-webkit-scrollbar-thumb,
.console-container::-webkit-scrollbar-thumb {
    background: #424242;
    border-radius: 6px;
}

.code-editor::-webkit-scrollbar-thumb:hover,
.console-container::-webkit-scrollbar-thumb:hover {
    background: #4e4e4e;
}

