/* Basic editor layout */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

#printlabs-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    background-color: #f8f8f8;
}

#printlabs-container[data-processing="true"]::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    z-index: 1000;
}

#printlabs-container[data-processing="true"]::after {
    content: attr(data-msg);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 1001;
}

#PrintlabsDesign {
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
}

#printlabs-top-tools {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    background-color: #333;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 0 15px;
    z-index: 100;
}

.tool-group {
    display: flex;
    gap: 10px;
}

.tool-btn {
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 8px 16px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
}

.tool-btn:hover {
    background-color: #3e8e41;
}

#printlabs-layers {
    position: absolute;
    width: 250px;
    top: 50px;
    right: 0;
    bottom: 0;
    background-color: #f0f0f0;
    border-left: 1px solid #ddd;
    padding: 15px;
    overflow-y: auto;
    z-index: 90;
}

/* Responsive layout */
@media (max-width: 768px) {
    #printlabs-layers {
        width: 100%;
        top: auto;
        height: 200px;
        bottom: 0;
        border-left: none;
        border-top: 1px solid #ddd;
    }
    
    #PrintlabsDesign {
        bottom: 200px;
    }
}
EOL < /dev/null