#shot_designer_layout {
    display: grid;
    grid-template-columns: 200px 1fr 1fr; /* First column is 200px, rest take equal space */
    width: calc(100vw - 2rem);
    height: calc(100vh - 8rem);
    gap: .5rem;
    margin-left: 1rem;
    margin-right: 1rem;
}

.shot_designer_editor {
    grid-column: 2; /* Place the editor in the second column */
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: var(--background-100);
    border: solid 1px var(--background-300);
    border-radius: .25rem;
    position: relative;
    display: flex;
    flex-direction: column;
}

#shot_designer_canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 500px;
    height: 500px;
    background-color: var(--background-100);
    border-radius: .25rem;
    z-index: 1;
    border: solid 5px var(--background-200);
    background-image: linear-gradient(to right, var(--background-200) 1px, transparent 1px),
                      linear-gradient(to bottom, var(--background-200) 1px, transparent 1px);
    background-size: 10px 10px;
}





#shot_designer_attributes {
    grid-column: 1; /* Place the attributes in the first column */
    height: calc(100% - 1rem);
    width: calc(100% - 1rem);
    background-color: var(--background-200);
    border: solid 1px var(--background-300);
    padding: .5rem;
    font-size: small;
    border-radius: .25rem;
    color: var(--font-200);
}

.shot_designer_attribute_input_layout{
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: .5rem;

    margin-top: .5rem;
    font-size: small;



}

#shot_designer_3d_viewer{
    border: solid 1px var(--background-300);
    border-radius: .25rem;
    overflow: hidden;
}








.node_cube {
    position: absolute;
    background-color: white;
    font-size: 12px;
    box-shadow: 0px .5rem .5rem rgba(0, 0, 0, 0.3);
    cursor: move;
    z-index: 500;
    
    background-image: linear-gradient(45deg, #000000 4.55%, transparent 4.55%, transparent 50%, #000000 50%, #000000 54.55%, transparent 54.55%, transparent 100%);
    background-size: 15.56px 15.56px;
    border-radius: .25rem;
    
}



.node:hover{
    cursor: grab;
}


.node-header {
    font-weight: bold;
    margin-bottom: 5px;
    z-index: 1000;
    overflow: hidden;
    background-color: var(--background-200);
}

.node_text {
    color: var(--font-200);
    padding: 2px;
    background: black;
    color: white;
    width: fit-content;
    position: absolute;
    top: -20px;
    left: 10px;
    white-space: nowrap; /* Prevent text wrapping */
}





.node_point_light {
    position: absolute;
    background-color: white;
    font-size: 12px;
    box-shadow: 0px .5rem .5rem rgba(0, 0, 0, 0.3);
    cursor: move;
    z-index: 500;

    width: 200px; /* Set the width */
    height: 200px; /* Set the height */
    border-radius: 50%; /* Make it circular */
    
}





.node_spot_light {
    position: absolute;
    background-color: transparent; /* No background color, just the border triangle */
    font-size: 12px;
    box-shadow: 0px .5rem .5rem rgba(0, 0, 0, 0.3);
    cursor: move;
    z-index: 500;

    width: 0; /* Set width to 0 */
    height: 0; /* Set height to 0 */
    
    border-top: 10px solid transparent;  /* Adjust top border */
    border-bottom: 10px solid transparent;  /* Adjust bottom border */
    border-left: 20px solid white; /* Set the width of the triangle */

    border-radius: .25rem;
}


.node_3d_element {
    position: absolute;/* No background color, just the border triangle */
    font-size: 12px;
    box-shadow: 0px .5rem .5rem rgba(0, 0, 0, 0.3);
    cursor: move;
    z-index: 500;

    width: 20px; /* Set width to 0 */
    height: 20px; /* Set height to 0 */
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;

    border-radius: .25rem;


}
