.SquareBox_parent{
    display: block;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(83, 83, 87, 0.356);
    z-index: 99;
}


.SquareBox{
    display: block;
    font-family: 'Pretendard';
    /* background : rgb(231, 230, 230); */
    background : rgb(242, 242, 242);
    border: 1px solid rgba(255,255,255,0.18);
    width: 350px;
    height: 210px;
    position: absolute;
    top:50%;
    transform: translateY(-50%);
    box-shadow: -1px -1px 10px rgba(94, 94, 94, 0.171);
    border-radius: 5px;
}


.SquareBox_input{
    position:absolute;
    width: 150px;
    height: 30px;
    top:30px;
    line-height: 30px;
    left:-10px;
    text-align: left;
    padding-left: 10px;
    font-size:14px;
    background-color:rgb(255, 255, 255);
    border-radius: 6px;
    /* border-color: rgb(218, 218, 218); */
    border: 1px solid rgb(207, 207, 207);

}

.SquareBox_input2{
    position:absolute;
    width: 150px;
    height: 26px;
    top:25px;
    line-height: 26px;
    left:0px;
    text-align: center;
    font-size:14px;
    background-color:rgb(255, 255, 255);
    border-radius: 6px;
    border: 1px solid rgb(207, 207, 207);

}


.SquareBox_input3{
    position:absolute;
    width: 150px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-size:14px;
    background-color:rgb(255, 255, 255);
    border-radius: 6px;
    border: 1px solid rgb(207, 207, 207);
}



.SquareBox_select{
    position:absolute;
    width: 100px;
    height: 30px;
    top:30px;
    line-height: 30px;
    text-align: center;
    font-size:14px;
    background-color:rgb(255, 255, 255);
    border-radius: 6px;
    border: 1px solid rgb(207, 207, 207);
}



.SquareBox_title{
    position: absolute;
    top: 0px;
    width: 100%;
    height: 30px;
    background : rgb(230, 230, 230);
    vertical-align: middle;
    font-size: 14px;
    font-weight: 500;
}

.SquareBox_title_text{
    position: absolute;
    height: 20px;
    top: 5px;
    left: 10px;
    color: black;
}

.SquareBox_close_button{
    position: absolute;
    cursor: pointer;
    width: 14px;
    height: 14px;
    top: 8px;
    right: 5px;
}


.SquareBox_group{
    position: absolute;
    top: 50px;
}

.SquareBox_group_title{
    position: absolute;
    font-size: 16px;
    height: 20px;
    color: rgb(32, 32, 32);
    top: 0px;
    left: 0px;
    font-weight: 400;
}


.SquareBox_group_title2{
    position: absolute;
    font-size: 18px;
    height: 20px;
    color: rgb(32, 32, 32);
    top: 0px;
    left: 0px;
    font-weight: 600;
}

.SquareBox_group_title_button{
    position: absolute;
    cursor:pointer;
    font-size: 18px;
    height: 20px;
    color: black;
    top: 0px;
    left: 15px;
    padding-left:10px;
    transition: all 0.1s ease-in-out;
}

.SquareBox_group_title_button:hover{
    background-color: rgba(214, 214, 214, 0.815);
}



.SquareBox_button{
    position:absolute;
    cursor: pointer;
    width: 90px;
    height: 30px;
    line-height: 26px;
    transition: all 0.1s ease-in-out;
    border: solid 2px gray;
    font-size: 14px;
    text-align: center;
    background-color: rgb(242,242,242);
}

.SquareBox_button:hover{
    background-color: rgb(126, 126, 126);
}

.SquareBox_button:active{
    background-color: rgb(145, 148, 160);
}





.SquareBox_button2{
    position:absolute;
    cursor: pointer;
    width: 90px;
    height: 30px;
    line-height: 26px;
    transition: all 0.05s ease-in-out;
    border: solid 1px rgb(209, 209, 209);
    font-size: 14px;
    text-align: center;
    border-radius: 8px;
    background-color: rgb(255, 255, 255);
    font-weight: 600;
}

.SquareBox_button2:hover{
    background-color: rgb(196, 196, 196);
}

.SquareBox_button2:active{
    background-color: rgb(167, 167, 167);
}




.SquareBox_button2_none{
    position:absolute;
    width: 90px;
    height: 30px;
    line-height: 26px;
    border: solid 1px rgb(209, 209, 209);
    font-size: 14px;
    text-align: center;
    border-radius: 8px;
    background-color: rgb(172, 172, 172);
    font-weight: 600;
    user-select: none;
}



.SquareBox_scrollView2{
    position: absolute;
    height: 140px;
    bottom: 0px;
    width: 100%;
    background: rgb(255, 255, 255);
    overflow: auto;
    border-radius: 5px;
}


.SquareBox_scrollView_item3{
    height: 30px;
    line-height: 30px;
    font-weight: 500;
    color: rgb(68, 68, 68);
    width: 100%;
    transition: all 0.1s ease-in-out;
    cursor: pointer;
    list-style:none;
    padding-left: 10px;
    font-size: 14px;
}

.SquareBox_scrollView_item3:hover{
    background-color: rgb(219, 219, 219);
}

.SquareBox_scrollView_item3:active{
    background-color: rgb(225, 225, 225);
}





.SquareBox_scrollView{
    position: absolute;
    height: 120px;
    bottom: 0px;
    width: 100%;
    background: rgb(255, 255, 255);
    overflow: auto;
}

.SquareBox_scrollView_item{
    height: 22px;
    width: 100%;
    position: relative;
    transition: all 0.1s ease-in-out;
    cursor: pointer;
}

.SquareBox_scrollView_item:hover{
    background-color: rgb(219, 219, 219);
}

.SquareBox_scrollView_item:active{
    background-color: rgb(225, 225, 225);
}


.SquareBox_scrollView_item_inside{
    position: relative;
    color: black;
    font-size: 14px;
    left: 6px;
    width: 90%;
    line-height: 22px;
}


.SquareBox_scrollView_item_inside2{
    position: relative;
    color: black;
    font-size: 16px;
    left: 0px;
    width: 90%;
    line-height: 30px;
    padding-left: -20px;
    font-weight: 400;
}




.SquareBox_scrollView_item_inside_radio{
    position:absolute;
    width: 14px;
    height:14px;
}

.SquareBox_scrollView_item2{
    height: 30px;
    width: 100%;
    position: relative;
    color: black;
    font-size: 16px;
    text-align: center;
}







.SquareBox_CheckBox{
    width: 20px; /*Desired width*/
    height: 20px; /*Desired height*/
    cursor: pointer;
}







.Layer_Menu_check{
    position: absolute;
    top: 5px;
    width: 20px;
    height: 20px;
    left:200px;
    cursor: pointer;
}

.Layer_Menu_color{
    position: absolute;
    top: 5px;
    width: 20px;
    height: 20px;
    left:250px;
    cursor: pointer;
}

.Layer_Menu_name{
    position: relative;
    color: black;
    font-size: 16px;
    left: 10px;
    width: 60%;
    line-height: 30px;
}

.Layer_Menu_li{
    height: 30px;
    width: 100%;
    position: relative;
}


.SquareBox_tool_button{
    position:absolute;
    cursor: pointer;
    width: 60px;
    height: 60px;
    top:10px;
    background-color: rgba(184, 184, 184, 0);
    transition: all 0.1s ease-in-out;
    border-radius: 3px;
}


.SquareBox_tool_button:hover{
    background-color: rgba(196, 196, 196, 0.815);
}

.SquareBox_tool_button:active{
    background-color: rgb(145, 148, 160);
}

.SquareBox_scrollView_item_floor{
    position:absolute;
    left:4px;
    width: 80px;
    height:14px;
    bottom:5px;
    background-color:rgb(145, 207, 207);
    border: solid 1px rgb(109, 109, 109);
    text-align: center;
    line-height: 14px;
}












/* Style the caret/arrow */
.caret, .caret_sun , .caret_view , .caret_private , .caret_light{
    
cursor: pointer;
user-select: none; /* Prevent text selection */
position:relative;
width: 100%;
}

/* Create the caret/arrow with a unicode, and style it */
.caret::before, .caret_sun::before , .caret_view::before , .caret_private::before , .caret_light::before  {
content: "\25B6";
color: rgb(0, 0, 0);
display: inline-block;
margin-right: 6px;
}

/* Rotate the caret/arrow icon when clicked on (using JavaScript) */
.caret-down::before , .caret_sun-down::before , .caret_view-down::before , .caret_private-down::before , .caret_light-down::before{
transform: rotate(90deg);
}


/* .caret_light_dong{
    position: absolute;
    cursor: pointer;
    user-select: none; 
    width: 100%;
}

.caret_light_dong::before {
    content: "\25B6";
    color: rgb(0, 0, 0);
    display: inline-block;
    margin-right: 6px;
} */

/* .caret_light_dong-down::before {
    transform: rotate(90deg);
} */

.caret_light_dong{
    width: 200px;
}

.caret_light_dong:hover{
    background-color: rgba(196, 196, 196, 0.815);
}

.caret_light_dong:active{
    background-color: rgb(145, 148, 160);
}



.caret_light_name{
    width: 200px;
}

.caret_light_name:hover{
    background-color: rgba(196, 196, 196, 0.815);
}

.caret_light_name:active{
    background-color: rgb(145, 148, 160);
}


.caret_light_group{
    width: 200px;
}

.caret_light_group:hover{
    background-color: rgba(196, 196, 196, 0.815);
}

.caret_light_group:active{
    background-color: rgb(145, 148, 160);
}



/* Hide the nested list */
.nested {
display: none;
}

/* Show the nested list when the user clicks on the caret/arrow (with JavaScript) */
.active {
display: block;
}

.treeli {
    position:relative;
    left:16px;
    line-height: 30px;
}

.treeli_group {
    position:relative;
    left:16px;
}


.treeli_name {
    position:relative;
    left:16px;
}

.treeli_dong {
    position:relative;
    left:16px;
}

.treeli_sun_line, .treeli_view_line, .treeli_private_line , .treeli_light_line {
    position:relative;
    left:16px;
    cursor: pointer;
    transition: all 0.1s ease-in-out;
}





.treeli_sun_line:hover, .treeli_view_line:hover, .treeli_private_line:hover , .treeli_light_line:hover{
    background-color: rgba(196, 196, 196, 0.815);
}

.treeli_sun_line:active, .treeli_view_line:active, .treeli_private_line:active, .treeli_light_line:active{
    background-color: rgb(145, 148, 160);
}

.treeli_sun_line-select , .treeli_view_line-select, .treeli_private_line-select, .treeli_light_line-select{
    background-color: rgb(142, 255, 246);
}

.treeli_sun_line-select:hover, .treeli_view_line-select:hover, .treeli_private_line-select:hover, .treeli_light_line-select:hover{
    background-color: rgb(128, 226, 218);
}

.treeli_sun_line-select:active, .treeli_view_line-select:active, .treeli_private_line-select:active, .treeli_light_line-select:active{
    background-color: rgb(95, 167, 161);
}

.treeli_light_dong:hover{
    background-color: rgba(196, 196, 196, 0.815);
}

.treeli_light_line:active{
    background-color: rgb(145, 148, 160);
}


.treeli_icon {
    cursor: pointer;
    user-select: none; /* Prevent text selection */

    content: "\25FE";
    display: inline-block;
    margin-right: 6px;
}

/* Create the caret/arrow with a unicode, and style it */
.treeli_icon::before {
    content: "\25FC";
    color: rgb(0, 0, 0);
    display: inline-block;
    margin-right: 6px;
}

/* Rotate the caret/arrow icon when clicked on (using JavaScript) */
.treeli_icon-select::before {
    content: "\2611";
}





.treeli_layer {
    position:relative;
    left:16px;
    line-height: 30px;
}


.treeli_icon_layer {
    user-select: none; /* Prevent text selection */
    content: "\25FE";
    display: inline-block;
    margin-right: 6px;
}






.projectListitem {
    position: relative;
    height: 48px;
    width: 100%;
    border: 1px solid rgb(207, 207, 207);
    cursor: pointer;
}


.projectListitem:hover {
    background-color:#d2d2d2;
}


.projectListitem_title {
    position: absolute;
    height:48px;
    line-height: 48px;
    font-size:14px;
    width:260px;
    padding-left:10px;
    text-align: center;
}

.projectListitem_date {
    position: absolute;
    height: 48px;
    line-height: 48px;
    font-size: 12px;
    width: 120px;
    color: #3396FF;
    left: 260px;
    text-align: center;
}

.projectListitem_buttonbox {
    position: absolute;
    height: 48px;
    width: 80px;
    left: 380px;
}

.projectListitem_button {
    position: absolute;
    height: 34px;
    width: 34px;
    top: 7px;
    right: 10px;
    border-radius: 20px;
    cursor: pointer;
}

.projectListitem_button:hover {
    background-color:#d2d2d2;
}


/* SNV account project manager */
#ProjectListBox {
    position: fixed;
    z-index: 95;
    top: 50%;
    left: 50%;
    width: min(700px, calc(100vw - 32px));
    height: min(590px, calc(100vh - 90px));
    min-height: 500px;
    transform: translate(-50%, -50%);
    overflow: hidden;
    border: 1px solid #d9dee8;
    border-radius: 14px;
    background: #f7f8fb;
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.28);
}

#ProjectListBox .SquareBox_title {
    height: 46px;
    border-bottom: 1px solid #dce1ea;
    border-radius: 14px 14px 0 0;
    background: #ffffff;
}

#ProjectListBox .SquareBox_title_text {
    top: 0;
    left: 20px;
    height: 46px;
    line-height: 46px;
    font-size: 17px;
    font-weight: 700;
    color: #172033;
}

#ProjectListBox .snv-project-close {
    top: 11px;
    right: 14px;
    width: 30px;
    height: 30px;
    padding: 8px;
    border: 0;
    border-radius: 50%;
    background: transparent;
}

#ProjectListBox .snv-project-close img {
    display: block;
    width: 14px;
    height: 14px;
}

#ProjectListBox .snv-project-close:hover {
    background: #eef1f6;
}

.snv-project-editor {
    position: absolute;
    top: 62px;
    right: 20px;
    left: 20px;
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) 104px;
    gap: 10px 12px;
    align-items: center;
    padding: 16px;
    border: 1px solid #dfe4ec;
    border-radius: 12px;
    background: #ffffff;
}

.snv-project-label {
    font-size: 14px;
    font-weight: 700;
    color: #344054;
}

.snv-project-name {
    min-width: 0;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #cbd2dd;
    border-radius: 8px;
    outline: 0;
    font: inherit;
    font-size: 14px;
    color: #172033;
    background: #ffffff;
}

.snv-project-name:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.16);
}

#ProjectListBox .snv-project-save {
    position: static;
    width: 104px;
    height: 38px;
    line-height: 36px;
    border-color: #2563eb;
    color: #ffffff;
    background: #2563eb;
}

#ProjectListBox .snv-project-save:hover:not(:disabled) {
    background: #1d4ed8;
}

.snv-project-address-row {
    grid-column: 1 / -1;
    display: flex;
    min-width: 0;
    gap: 12px;
    align-items: center;
    padding-top: 2px;
    font-size: 13px;
}

.snv-project-address-label {
    flex: 0 0 92px;
    color: #667085;
}

.snv-project-address {
    min-width: 0;
    overflow: hidden;
    color: #344054;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.snv-project-list-header {
    position: absolute;
    top: 184px;
    right: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 32px;
    color: #25324a;
}

.snv-project-list-header strong {
    font-size: 15px;
}

.snv-project-list-header span {
    margin-left: 7px;
    color: #667085;
    font-size: 13px;
}

.snv-project-status {
    position: absolute;
    top: 220px;
    right: 20px;
    left: 20px;
    min-height: 20px;
    margin: 0;
    overflow: hidden;
    color: #667085;
    font-size: 12px;
    line-height: 20px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.snv-project-status[data-state="success"] {
    color: #067647;
}

.snv-project-status[data-state="error"] {
    color: #b42318;
}

.snv-project-status[data-state="saving"] {
    color: #175cd3;
}

.snv-project-list {
    position: absolute;
    top: 246px;
    right: 20px;
    bottom: 72px;
    left: 20px;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    list-style: none;
    border: 1px solid #dfe4ec;
    border-radius: 10px;
    background: #ffffff;
}

.snv-project-list .projectListitem {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 76px;
    border: 0;
    border-bottom: 1px solid #edf0f4;
    background: #ffffff;
}

.snv-project-list .projectListitem:last-child {
    border-bottom: 0;
}

.snv-project-list .projectListitem:hover {
    background: #f8fafc;
}

.snv-project-list .projectListitem.is-selected {
    background: #eef5ff;
    box-shadow: inset 3px 0 0 #2563eb;
}

.snv-project-row-button {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 5px 16px;
    width: 100%;
    min-height: 76px;
    padding: 12px 16px;
    border: 0;
    text-align: left;
    color: inherit;
    background: transparent;
    cursor: pointer;
    font: inherit;
}

.snv-project-row-name {
    min-width: 0;
    overflow: hidden;
    color: #172033;
    font-size: 14px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.snv-project-row-address {
    min-width: 0;
    overflow: hidden;
    color: #667085;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.snv-project-row-meta {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
    color: #667085;
    font-size: 11px;
    line-height: 18px;
    text-align: right;
    white-space: nowrap;
}

.snv-project-empty {
    position: absolute;
    z-index: 1;
    top: 246px;
    right: 21px;
    bottom: 73px;
    left: 21px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px;
    color: #667085;
    text-align: center;
    pointer-events: none;
}

.snv-project-empty[hidden] {
    display: none;
}

.snv-project-empty strong {
    color: #344054;
    font-size: 14px;
}

.snv-project-empty span {
    font-size: 12px;
}

.snv-project-actions {
    position: absolute;
    right: 20px;
    bottom: 18px;
    left: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

#ProjectListBox .snv-project-actions .Round_li_Button {
    position: static;
    width: 104px;
    height: 36px;
    line-height: 32px;
    color: #344054;
    background: #ffffff;
}

#ProjectListBox .snv-project-delete:not(:disabled) {
    border-color: #3478f6;
    color: #ffffff;
    background: linear-gradient(135deg, #3478f6, #5b5ce2);
    box-shadow: 0 8px 20px rgba(55, 92, 220, 0.22);
}

#ProjectListBox .snv-project-delete:hover:not(:disabled) {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #3b82f6, #7c3aed);
}

#ProjectListBox button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

#ProjectListBox button:focus-visible,
#UserPage_Project:focus-visible {
    outline: 3px solid rgba(59, 130, 246, 0.55);
    outline-offset: 2px;
}

@media (max-width: 640px) {
    #ProjectListBox {
        width: calc(100vw - 20px);
        height: calc(100vh - 76px);
        min-height: 0;
    }

    .snv-project-editor {
        top: 56px;
        right: 12px;
        left: 12px;
        grid-template-columns: 1fr 96px;
        padding: 12px;
    }

    .snv-project-label {
        grid-column: 1 / -1;
    }

    #ProjectListBox .snv-project-save {
        width: 96px;
    }

    .snv-project-address-label {
        flex-basis: auto;
    }

    .snv-project-list-header {
        top: 190px;
        right: 12px;
        left: 12px;
    }

    .snv-project-status {
        top: 226px;
        right: 12px;
        left: 12px;
    }

    .snv-project-list,
    .snv-project-empty {
        top: 252px;
        right: 12px;
        left: 12px;
    }

    .snv-project-list {
        bottom: 66px;
    }

    .snv-project-empty {
        bottom: 67px;
    }

    .snv-project-row-button {
        grid-template-columns: minmax(0, 1fr);
    }

    .snv-project-row-meta {
        grid-column: 1;
        grid-row: auto;
        text-align: left;
    }

    .snv-project-actions {
        right: 12px;
        bottom: 12px;
        left: 12px;
    }
}
