/*
                                                            
    @@@@       @@@@@@@@@@@@@@@@@@@@@@@@@@@                   
    @@@@@@@@   @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@              
    @@@@@@@@@  @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@            
    @@@@@@@@@  @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@          
    @@@@@@@@@  @@@@@@@@                     @@@@@@@@@@         
    @@@@@@@@@  @@@@@@@@                      @@@@@@@@@         
    @@@@@@@@@  @@@@@@@@                      @@@@@@@@@         
    @@@@@@@@@  @@@@@@@@                    @@@@@@@@@@          
    @@@@@@@@@  @@@@@@@@@@@@@@@@@@@    @@@@@@@@@@@@@@           
    @@@@@@@@@  @@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@             
    @@@@@@@@@  @@@@@@@@@@@@@@@@@@@   @@@@@@@@@@@@@             
    (@@@@@@@@@                          @@@@@@@@@@@@@@         
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@      
        @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@    
        @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@     
                ,@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@       
                
            LIGHTS | CONTROL | RIGGING
                ---- PREP PORTAL ---- 
            COBAIN SCHOFIELD 2021-Present
            -----------------------------
                Label Builder stylesheet
            -----------------------------
    
// ----------------------------------------------------
// REVISION HISTORY
// ----------------------------------------------------
// - 05/09/2026 - Initial version based on v1 prototype
// ----------------------------------------------------
*/

#Builder_Canvas_Wrap {
    overflow: auto;
    padding: 20px;
    background: repeating-conic-gradient(#f3f3f3 0% 25%, #ffffff 0% 50%) 50% / 20px 20px;
    border-radius: 4px;
    display: inline-block;
    max-width: 100%;
}

#Builder_Canvas {
    position: relative;
    background: #ffffff;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.15), 0 4px 12px rgba(0,0,0,0.1);
    margin: 0 auto;
}

#Builder_Preview_Frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: none;
}

#Builder_Overlay_Layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.builder-overlay-box {
    position: absolute;
    border: 1px dashed rgba(0, 123, 255, 0.5);
    cursor: move;
    box-sizing: border-box;
}

.builder-overlay-box:hover {
    border-color: #007bff;
    background: rgba(0, 123, 255, 0.08);
}

.builder-overlay-box.selected {
    border: 2px solid #007bff;
    background: rgba(0, 123, 255, 0.12);
}

.layer-row {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    border-radius: 4px;
    cursor: pointer;
}

.layer-row:hover {
    background: #f5f5f5;
}

.layer-row.dragging {
    opacity: 0.4;
}

.layer-row.selected {
    background: #e7f1ff;
}

.layer-row-indented {
    padding-left: 22px;
    border-left: 2px solid #e9ecef;
    margin-left: 8px;
}

.layer-group-header {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 4px 4px 0;
    margin-top: 4px;
    background: #f8f9fa;
    border-radius: 4px;
    cursor: pointer;
}

.layer-row-checkbox {
    cursor: pointer;
    flex: 0 0 auto;
}

.layer-group-proxy {
    font-style: italic;
    border: 1px dashed #ced4da;
}

.layer-name {
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.layer-actions {
    flex: 0 0 auto;
    white-space: nowrap;
}

.anchor-picker {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    max-width: 150px;
}

.anchor-btn {
    width: 46px;
    height: 46px;
    border: 1px solid #ced4da;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.anchor-btn span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #adb5bd;
}

.anchor-btn:hover {
    border-color: #007bff;
}

.anchor-btn.active {
    border-color: #007bff;
    background: #e7f1ff;
}

.anchor-btn.active span {
    background: #007bff;
}

.image-search-result {
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
}

.image-search-result:hover {
    background: #f0f0f0;
}

.image-search-result img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 2px;
    margin-right: 8px;
    flex: 0 0 auto;
}
