.playground-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

.playground-container {
    flex: 1;
    display: flex;
    padding: 1rem;
    gap: 1rem;
    background-color: #1e1e1e;
    height: calc(100vh - 2rem); /* Account for padding */
    overflow: hidden; /* Prevent scrolling of container */
}

.editor-section {
    flex: 1;
    min-width: 0;
    background-color: #252526;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

.visualization-section {
    flex: 1;
    min-width: 0;
    background-color: #252526;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.viz-controls {
    padding: 1rem;
    border-bottom: 1px solid #333;
}

.viz-selector {
    background-color: #333;
    color: #fff;
    border: 1px solid #444;
    border-radius: 4px;
    padding: 0.5rem;
    font-size: 14px;
    width: 200px;
    cursor: pointer;
}

.viz-selector:hover {
    background-color: #3c3c3c;
}

.viz-selector:focus {
    outline: none;
    border-color: #0078d4;
}

#monaco-editor {
    width: 100%;
    height: 100%;
    flex: 1;
    overflow: hidden; /* Let Monaco handle scrolling */
}

#d3-visualization {
    flex: 1;
    background-color: #1e1e1e;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
} 