﻿.menu-accordion {
    display: none;
    padding-left: 20px;
}

    .menu-accordion .menu-item__ {
        border: none;
        padding: 8px 15px;
    }

.menu-item__.open .menu-accordion {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.menu-item-arrow.rotated {
    transform: rotate(180deg);
}


#bottom-side {
    height: 600px !important;
    bottom: 0;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
}

.drilldown-container {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    height: 600px;
    background: white;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.close.icon {
    background: #794AFF;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    color: white;
}

#chevron_icon {
    color: #794AFF;
}

.menu-content {
    flex: 1;
    position: relative;
    overflow: hidden;
    overflow-y: auto;
}

.menu-header_category_job {
    padding: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    position: sticky;
    top: 0;
    z-index: 10;
    box-sizing: border-box;
}

    .menu-header_category_job h3 {
        margin: 0;
    }

i.icon.close:before {
    padding-left: 1px;
}

.menu-list {
    max-height: auto;
    list-style: none;
    padding: 0;
    margin: 0px 0px 0px 0px;
    width: 100%;
    overflow-y: auto;
    transition: transform 0.3s ease;
    scrollbar-color: #B39EFD;
    scrollbar-width: thin; /* Với Firefox */
    scrollbar-color: #B39EFD #f0f0f0; /* Với Firefox */
}


    /* Webkit Scrollbar (Chrome, Edge, Safari) */
    .menu-list::-webkit-scrollbar {
        width: 10px; /* Độ rộng của scrollbar */
    }

    .menu-list::-webkit-scrollbar-thumb {
        background-color: #B39EFD; /* Màu của thanh kéo */
        border-radius: 5px; /* Bo góc */
        border: 2px solid #f0f0f0; /* Màu viền của thanh kéo */
    }

    .menu-list::-webkit-scrollbar-track {
        /*background-color: #f0f0f0;*/ /* Màu nền track của scrollbar */
        border-radius: 5px;
    }


.menu-item__ {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    /*    display: flex;
    justify-content: space-between;*/
    align-items: center;
    cursor: pointer;
    background: transparent;
}


.menu-item-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /*    flex: 1;*/
}

.category-name-item {
    font-size: 15px;
}

    .category-name-item.selected {
        background: #794AFF !important;
        color: white;
    }

.menu-item-checkbox {
    margin-right: 10px;
    /*    appearance: none;
    -webkit-appearance: none;*/
    background-color: white;
    accent-color: #794AFF;
    border: 2px solid #794AFF;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    cursor: pointer;
}

    .menu-item-checkbox:checked {
        background-color: #794AFF;
        border-color: #794AFF;
    }

.accordion-toggle.rotated {
    transform: rotate(180deg) !important;
}


.chevron.down.icon.menu-item-arrow.accordion-toggle {
    color: #666;
    font-size: 17px;
}

.submenu-drilldown {
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    background: white;
    transition: transform 0.3s ease;
}

    .submenu-drilldown .menu-list {
        overflow-y: auto;
        margin-top: 52px;
    }

    .submenu-drilldown.active {
        transform: translateX(-100%);
    }

        .submenu-drilldown.active .menu-item-arrow-right {
            display: none !important;
        }
.back-button {
    /*    padding: 12px 15px;*/
    cursor: pointer;
    display: flex;
    color: #794AFF;
    /*    margin-top: 55px;*/
    border-bottom: 1px solid #eee;
    font-size: 18px;
}

.footer-buttons {
    padding: 15px;
    background: white;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
    position: sticky;
    bottom: 0;
    z-index: 10;
}

.btn {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn-cancel {
    background: white;
    color: #794AFF;
    border: 1px solid #794AFF;
}

.btn-submit {
    background: #794AFF;
    color: white;
}

.header-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    /*    align-items: center; */
}

    .header-breadcrumb span {
        color: #666;
        font-size: 17px;
        font-weight: 500;
    }

    .header-breadcrumb i {
        color: #666;
        font-size: 17px;
    }
