header {
    height: 58px;
    background: var(--bg-deep);
    display: flex;
    align-items: center;
    padding: 0 8px;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #ff9f1c #2d2626;
}

header::-webkit-scrollbar {
    height: 5px;
}

header::-webkit-scrollbar-track {
    background: #2d2626;
}

header::-webkit-scrollbar-thumb {
    background: #ff9f1c;
    border-radius: 3px;
}

#main-container {
    flex: 1;
    display: flex;
    overflow: hidden;
}

#sidebar {
    width: 230px;
    background: var(--bg-warm);
    border-right: 1px solid #3d3535;
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    #sidebar {
        display: none;
    }
}

#editor-pane {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.tabs-bar {
    height: 38px;
    background: #000000;
    display: flex;
    padding: 0 10px;
    gap: 4px;
    overflow-x: auto;
}

#monaco-container {
    flex: 1;
    margin: 8px;
    border-radius: 8px;
    overflow: hidden;
}

#bottom-panel {
    height: 160px;
    background: #000000;
    margin: 0 8px 8px 8px;
    border-radius: 0 0 8px 8px;
    display: flex;
    flex-direction: column;
}

.panel-header {
    height: 30px;
    background: var(--bg-warm);
    display: flex;
    align-items: center;
    padding: 0 10px;
}

.panel-content {
    flex: 1;
    padding: 12px;
    overflow-y: auto;
    font-size: 14px;
    display: none;
}

.panel-content.active {
    display: block;
}