﻿/* Version: 1 */

.secAQR_Tree {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    border: none;
    position: relative;
    cursor: pointer;
    min-height: 35px;
    min-width: 200px;
    outline: 1px solid #e7e8f3;
    color: #5f5f5f;
    padding: 8px 10px;
    font-size: 0.9rem;
    border-radius: 0.25rem;
    background-color: #fbfbfe;
}

    .secAQR_Tree .AQR_TreeBody {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 7px;
        cursor: default;
    }

        .secAQR_Tree .AQR_TreeBody .item {
            background-color: #e1e1e1;
            color: #444;
            padding: 1px 7px;
            border-radius: 7px;
            line-height: 1.5rem;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 5px;
        }

            .secAQR_Tree .AQR_TreeBody .item .delete {
                font-family: "Font Awesome 6 Pro";
                font-weight: 600;
                cursor: pointer;
                padding: 0px 4px;
            }

                .secAQR_Tree .AQR_TreeBody .item .delete:before {
                    content: "\f00d";
                }

            .secAQR_Tree .AQR_TreeBody .item .loader {
                margin: 5px;
                width: 20px;
                height: 20px;
                border-color: #ccc;
                border-top-color: #5f5f5f;
                border-width: 2px;
            }

.AQR_Tree{
    display: none;
}





.modalAQR_Tree {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    padding: 30px 5px;
    z-index: 999;
    align-items: center;
}

    .modalAQR_Tree ::-webkit-scrollbar {
        width: 12px;
    }

    .modalAQR_Tree ::-webkit-scrollbar-track {
        background: transparent;
    }

    .modalAQR_Tree ::-webkit-scrollbar-thumb {
        background: #777;
        border: 4px solid #fff;
        border-radius: 10px;
    }

        .modalAQR_Tree ::-webkit-scrollbar-thumb:hover {
            background: #555;
        }


    .modalAQR_Tree .parent {
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        background-color: rgba(94, 110, 141, 0.9);
        cursor: pointer;
    }

    .modalAQR_Tree .content {
        padding: 20px;
        background-color: #fff;
        border-radius: 10px;
        width: 700px;
        max-width: 95%;
        z-index: 1;
        max-height: 100%;
        display: flex;
        flex-direction: column;
    }

    .modalAQR_Tree .selectedBox {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 7px;
        padding: 5px 7px;
        font-size: 0.85rem;
        position: relative;
        border: none;
        outline: 1px solid #e7e8f3;
        color: #5f5f5f;
        border-radius: 0.25rem;
        background-color: #fbfbfe;
    }

        .modalAQR_Tree .selectedBox .item {
            background-color: #e1e1e1;
            color: #444;
            padding: 1px 7px;
            border-radius: 7px;
            line-height: 1.5rem;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 5px;
        }

            .modalAQR_Tree .selectedBox .item .delete {
                font-family: "Font Awesome 6 Pro";
                font-weight: 600;
                cursor: pointer;
                padding: 0px 4px;
            }

                .modalAQR_Tree .selectedBox .item .delete:before {
                    content: "\f00d";
                }

        .modalAQR_Tree .selectedBox .searchInput {
            border: none;
            outline: none;
            background: none;
        }

    .modalAQR_Tree .body {
        padding: 30px 0;
        height: 100%;
        overflow: auto;
    }

    .modalAQR_Tree .boxTree {
        margin-top: 10px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

        .modalAQR_Tree .boxTree .headTree {
            display: flex;
            align-items: center;
            gap: 8px;
            width: fit-content;
            border-radius: 7px;
            outline-offset: 3px;
            color: #5f5f5f;
            font-weight: 500;
        }

            .modalAQR_Tree .boxTree .headTree .toggleBodyTree {
                cursor: pointer;
                font-family: "Font Awesome 6 Pro";
                font-weight: 900;
                border-radius: 7px;
                padding: 3px 7px;
            }

                .modalAQR_Tree .boxTree .headTree .toggleBodyTree.disabled {
                    opacity: 0.3;
                    pointer-events: none;
                }

                .modalAQR_Tree .boxTree .headTree .toggleBodyTree:hover {
                    background-color: #f0f0f0;
                }

                .modalAQR_Tree .boxTree .headTree .toggleBodyTree:before {
                    content: "\f104";
                }

                .modalAQR_Tree .boxTree .headTree .toggleBodyTree.open:before {
                    content: "\f107";
                }

            .modalAQR_Tree .boxTree .headTree .checkbox {
                position: relative;
                border: 2px solid #8a8989;
                border-radius: 6px;
                cursor: pointer;
                height: 18px;
                width: 18px;
                opacity: 0.95;
            }

                .modalAQR_Tree .boxTree .headTree .checkbox.fill {
                    background-color: #7BC4CA;
                    border: 2px solid #7BC4CA;
                    opacity: 1;
                    transition: all .2s;
                }

                    .modalAQR_Tree .boxTree .headTree .checkbox.fill:before {
                        content: '';
                        position: absolute;
                        right: 50%;
                        top: 50%;
                        width: 3px;
                        height: 8px;
                        border: solid #FFF;
                        transform: rotate(45deg) translate(-50%, -50%);
                        border-width: 0 2px 2px 0;
                        transition: all .2s;
                        margin: -1px -1px 0 -1px;
                    }

                .modalAQR_Tree .boxTree .headTree .checkbox.check {
                    outline: 4px solid #7BC4CA;
                    border-color: transparent;
                    outline-offset: -4px;
                }

            .modalAQR_Tree .boxTree .headTree .title span {
                background-color: #ffee5c59;
                border-radius: 5px;
            }

        .modalAQR_Tree .boxTree .bodyTree {
            padding: 0 30px 10px;
            display: none;
        }



    .modalAQR_Tree .secBtn .btn {
        justify-content: center;
    }










.secAQR_Tree .loader {
    border: 3px solid #14b1d047;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border-top-color: #12b1d0;
    animation: RotateAnime 2s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
    margin: 10px auto;
}

@keyframes RotateAnime {
    0% {
        transform: rotate(45deg);
    }

    50% {
        transform: rotate(405deg);
    }

    100% {
        transform: rotate(765deg);
    }
}
