.display_flex_only {
    display: flex;
}

.top_7px {
    top: 7px !important;
}

.z_index_1 {
    z-index: 1 !important;
}

.justify_content_space_between {
    justify-content: space-between !important;
}

.gap_1rem {
    gap: 1rem;
}

.wd_100_px_only {
    width: 100px;
}

.top_0_only {
    top: 0;
}

.left_0_only {
    left: 0;
}

.padding_left_25px {
    padding-left: 25px !important;
}


/*--for tree-view--*/
.tree_value_wrap {
    padding: 0.5rem 1rem !important;
    border: 1px solid #c1e3ff !important;
    background: #e9f5ff !important;
    color: #3f6a7f !important;
    border-radius: 5px !important;
    min-height: 54px !important;
    flex-direction: row;

}

.unorder_li {
    flex-flow: column !important;
    gap: 1rem !important;
    list-style: none !important;
    border-left: 1px solid #2196F3 !important;
}

.lisacc {
    --lc-pl: 30px;
    padding-left: var(--lc-pl) !important;
    border-left: 1px solid #2196F3 !important;
    margin-left: -1px !important;
}

.tree_brunch_line {
    position: absolute !important;
    width: 31px !important;
    height: 56px !important;
    left: -32px !important;
    top: -22px !important;
    border-left: 1px solid #2196F3 !important;
    border-bottom: 1px solid #2196F3 !important;
}

.unorder_li li:nth-last-child(1) {
    border-left: 1px solid #ffffff !important;
}

#mainUL {
    margin-left: 0px !important;
    border-left: none !important;
    padding-top: 0px !important;
    padding-bottom: 2rem;
}

/* Target only the first level of li inside the first ul */
#mainUL>li {
    padding-left: 0px !important;
    border-left: none !important;
    margin-left: 0px !important;
}

.order_color {
    border: 1px solid black !important;
    background: #FFEB3B !important;
    color: black !important;

    .input_box_wrap_div input {
        color: black !important;
    }

    .caret_arrow::before {
        color: black !important;
    }

    .last_update_text {
        color: black !important;
    }

    .last_update_labels {
        color: black !important;
    }
}

.dragging {
    background: blue !important;
    color: white !important;
    border: 1px solid blue !important;
    box-shadow: 0px 0px 5px 0px gray !important;

    .input_box_wrap_div input {
        color: white !important;
    }

    .caret_arrow::before {
        color: white !important;
    }

    .last_update_text {
        color: white !important;
    }

    .last_update_labels {
        color: white !important;
    }
}

.expand_collapse {
    left: -4px !important;
    top: 6px !important;
}



.tree_button {
    /* Already Exist in Resp.css */
    position: unset !important;
}

.edit_req_wrap .input_wrapper input {
    /* Already Exist in Resp.css */
    border: 2px solid #abdaff;
    border-radius: 5px;
    padding: 0.5rem 1rem;
    margin-left: 20px;
}

.input_box_wrap {
    justify-content: left;
}

.input_box_wrap_div label {
    background: #e9f5ff;
    width: 100px;
    padding: 0px 5px;
}

.removed_element {
    border: 1px solid #9E9E9E !important;
}

.tbl-display-order-wrap {
    min-width: 15px;
    height: 15px;
    justify-content: center;
    align-items: center;
    background: #2196f330;
    top: 9px;
    left: -35px;
    transform: rotate(-45deg);
    z-index: 8;
    color: #1f5acf;
}

.tbldo-container {
    width: 50px;
}

.cursor_move {
    cursor: grab !important;
}

/*--for tree-view--*/


.toggle_viewedit_wrap {
    position: relative;
    width: 78px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.toggle_viewedit_checkbox {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
    margin: 0;
    z-index: 2;
}

.toggle_viewedit_button {
    position: relative;
    width: 78px;
    height: 32px;
    border-radius: 999px;
    cursor: pointer;
    display: block;
    overflow: hidden;
    z-index: 1;
}

.toggle_viewedit_layer {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    transition: background-color 0.3s ease;
}

.toggle_viewedit_button:before {
    position: absolute;
    top: 3px;
    left: 5px;
    width: 34px;
    height: 26px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    background-color: #607D8B;
    color: #ffffff;
    transition: left 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    content: 'View';
}

.toggle_viewedit_wrap .toggle_viewedit_checkbox:checked+.toggle_viewedit_button:before {
    left: 39px !important;
    background-color: #6b6b6b !important;
    color: #ffffff !important;
}

.toggle_viewedit_wrap .toggle_viewedit_checkbox:checked~.toggle_viewedit_layer {
    background-color: #1f2937 !important;
}

.toggle_viewedit_wrap .toggle_viewedit_layer {
    background-color: #e9f5ff !important;
    border: 1px solid #c1e3ff !important;
}

.toggle_viewedit_wrap .toggle_viewedit_checkbox:checked+.toggle_viewedit_button:before {
    content: 'Edit' !important;
}

/* from canvas_view.php */
#Root,
#Editor {
    width: 100%;
    height: 100%;
}

/* from form_view.php */
.arrows_right {
    display: none;
}

.validation_error_style {
    border: 2px solid red !important;
    box-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
}

/* from sales_values.php */
#header_container_wrapper {
    z-index: 9999;
    background-color: #ffffff;
}

#workflow_container {
    position: relative;
    width: 100%;
    height: calc(100vh - 90px);
    overflow: auto;
    z-index: 1;
}

.workflow-anim {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
}

.workflow-anim.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}