/* ScratchJr 编辑器样式 */

#scratchjr-editor-container {
    width: 100%;
    height: 100vh;
    position: relative;
}

.scratchjr-toolbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: #4CAF50;
    color: white;
    display: flex;
    align-items: center;
    padding: 0 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.scratchjr-toolbar-title {
    font-size: 20px;
    font-weight: bold;
    margin-right: auto;
}

.scratchjr-toolbar-button {
    background-color: #45a049;
    border: none;
    color: white;
    padding: 10px 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
}

.scratchjr-toolbar-button:hover {
    background-color: #3d8b40;
}

.scratchjr-canvas {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #f0f0f0;
}

.scratchjr-blocks-palette {
    position: absolute;
    top: 60px;
    left: 0;
    width: 250px;
    bottom: 0;
    background-color: #e0e0e0;
    overflow-y: auto;
}

.scratchjr-stage {
    position: absolute;
    top: 60px;
    left: 250px;
    right: 300px;
    bottom: 0;
    background-color: white;
    border: 1px solid #ccc;
}

.scratchjr-properties-panel {
    position: absolute;
    top: 60px;
    right: 0;
    width: 300px;
    bottom: 0;
    background-color: #f5f5f5;
    overflow-y: auto;
}