.builder {
    display: flex;
    height: 100vh;
}
 
.canvas {
    flex: 1;
    position: relative;
    background: #f5f5f5;
}
 
.layer {
    position: absolute;
    width: 100%;
    height: 100%;
}
 
.menu {
    width: 280px;
    background: #f7f7f7;
    padding: 20px;
    border-left: 1px solid #ddd;
}
 
.title {
    font-size: 18px;
    margin-bottom: 15px;
}
 
/* TABS */
.tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
}
 
.tab {
    flex: 1;
    padding: 10px;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: bold;
}
 
.tab.active {
    color: red;
    border-bottom: 2px solid red;
}
 
/* GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
 
/* OBJETOS */
.obj {
    width: 50px;
    height: 50px;
    background: #e5e5e5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s;
    font-size: 18px;
}
 
.obj:hover {
    background: #d0d0d0;
    transform: scale(1.1);
}
 
.text-btn {
    border-radius: 10px;
    background: #ccc;
}
 
/* LEFT BAR */
.left-bar {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
 
/* RIGHT TOOLBAR */
.right-bar {
    position: absolute;
    display: none;
    flex-direction: column;
    gap: 10px;
    background: white;
    padding: 5px;
    border: 1px solid #ccc;
}
 
/* ITEMS */
.item {
    position: absolute;
    background: #663399;
    color: white;
    padding: 5px 10px;
    cursor: move;
}
 
.item.active {
    outline: 2px solid red;
}