﻿:root {
    --max-height: 550px;
    --nav-height: 5%;
}

/* Tùy chỉnh thanh cuộn cho Chrome, Edge, Safari */
::-webkit-scrollbar {
    width: 5px; /* Độ rộng thanh cuộn */
    height: 5px;
}

::-webkit-scrollbar-track {
    background: #EFEEEE; /* Màu nền của thanh cuộn */
    border-radius: 8px;
}

::-webkit-scrollbar-thumb {
    background: #ED1C25; /* Màu thanh cuộn */
    border-radius: 8px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #ba151d; /* Màu khi di chuột vào */
    }

html {
    font-size: 12px;
}

.dropdown-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    width: 100%;
    padding: 0px 0rem 6px 16px;
    background-repeat: no-repeat;
    background-size: 16px 12px;
}

.col-sidebar {
    flex: 0 0 auto;
    width: 21%;
}

.col-content-body {
    flex: 0 0 auto;
    width: 79%;
}

.bg-red {
    background-color: #ca2128 !important;
}

.bg-dark-green {
    background-color: #3b601f !important;
}

.bg-green {
    background-color: #4daa54 !important;
}

.bg-pink {
    background-color: #ffbebe !important;
}

.bg-white {
    background-color: white !important;
}

.color-white {
    color: white !important;
}

.color-red {
    color: #ED1C25 !important;
}

.h-0 {
    height: 0px !important;
    visibility: hidden;
}

.h-100-cus {
    height: 100%;
}

.mb-5rem {
    margin-bottom: 5rem !important;
}

.form-label-custom {
    font-size: 14px;
    font-family: 'bevietnampro-Medium';
    font-weight: 500;
    line-height: 20px;
}

.navigationTabs {
    max-height: 30px;
}

.nowrap {
    white-space: nowrap;
}

.display-none {
    display: none !important;
}

.border-red {
    border: solid 2px #fbd0d2;
    border-radius: 15px;
}

.border-normal {
    border: solid 2px #EFEEEE;
    border-radius: 15px;
}

.backgroundImg-none {
    background-image: none;
}

.select2-container--default .select2-results__option--highlighted {
    background-color: #fcdada !important;
    color: #ed1c25 !important;
}

.select2-results__option {
    font-size: 1.2rem;
    font-weight: 500;
}

.select2-container--default .select2-results__option[aria-selected="true"] {
    background-color: #fff !important;
    color: #ed1c25 !important;
}

.w-20 {
    flex: 0 0 auto;
    width: 20% !important;
}

.col-w-1 {
    width: 50px !important;
}

.col-w-2 {
    width: 75px !important;
}

.col-w-3 {
    width: 100px !important;
}

.col-w-4 {
    width: 125px !important;
}

.col-w-5 {
    width: 150px !important;
}

.col-w-6 {
    width: 175px !important;
}

.col-w-7 {
    width: 200px !important;
}

.btn-instruct {
    background-color: #4daa54;
    color: white;
    font-weight: 600;
    border-color: #4daa54;
    font-size: 1.1rem;
    transition: all 0.3s ease-in-out;
    border-radius: 4px;
    gap: 4px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
}

    .btn-instruct:hover {
        background-color: #3c8d43;
        border-color: #3c8d43;
        color: white;
        box-shadow: 0px 4px 10px rgba(77, 170, 84, 0.4);
        transform: translateY(-2px);
    }

.btn-organ {
    background-color: #ff9500;
    color: white;
    font-weight: 600;
    border-color: #ff9500;
    font-size: 1.1rem;
    border-radius: 4px;
    transition: all 0.3s ease-in-out;
    gap: 4px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
}

    .btn-organ:hover {
        background-color: #e68400;
        border-color: #e68400;
        color: white;
        box-shadow: 0px 4px 10px rgba(255, 149, 0, 0.4);
        transform: translateY(-2px);
    }

.btn-view-menu {
    background-color: #548ed1;
    color: white;
    font-weight: 600;
    border-color: #548ed1;
    font-size: 1.1rem;
    border-radius: 4px;
    transition: all 0.3s ease-in-out;
    gap: 4px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
}

    .btn-view-menu:hover {
        background-color: #417bbd;
        border-color: #417bbd;
        color: white;
        box-shadow: 0px 4px 10px rgba(84, 142, 209, 0.4);
        transform: translateY(-2px);
    }

.btn-blue {
    background-color: #2d7ff9;
    color: white;
    font-weight: 600;
    border: 2px solid #2d7ff9;
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

    .btn-blue:hover {
        background-color: white;
        color: #2d7ff9;
        border: 2px solid #2d7ff9;
    }


.btn-add {
    color: #ed1c25;
    background-color: transparent;
    border-color: #ed1c25;
    font-weight: 600;
}

    .btn-add i {
        margin-right: 0.25rem;
    }

    .btn-add:hover {
        color: white;
        background-color: #ed1c25;
        border-color: #ed1c25;
    }

.btn-delete {
    color: white;
    background-color: #ed1c25;
    border-color: #ed1c25;
}

    .btn-delete:hover {
        font-weight: 600;
    }

.btn-search {
    color: white !important;
    background-color: #ed1c25 !important;
    border-color: #ed1c25 !important;
}

    .btn-search:hover {
        font-weight: 600;
    }

.btn-cancel {
    color: #ed1c25;
    background-color: transparent;
    border-radius: 10px !important;
    border: solid 2px #ed1c25 !important;
    position: relative;
    padding: 0.375rem 0.75rem;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

    .btn-cancel:hover {
        font-weight: 600;
        color: white;
        background-color: #ed1c25;
    }

.btn-save {
    background-color: #e63946;
    color: white;
    font-weight: 600;
    border: 2px solid #e63946;
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    margin-right: 0.75rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

    .btn-save:hover {
        background-color: white;
        color: #e63946;
        border: 2px solid #e63946;
    }


.btn-dayofweek {
    border-radius: 35px;
    border: solid 2px #d1d3d5;
    position: relative;
    padding: 0.375rem 0.75rem;
}

    .btn-dayofweek:hover {
        font-weight: 600;
        background-color: red;
        color: white;
        border: solid 2px red;
    }

    .btn-dayofweek.active {
        border: solid 2px red;
        background-color: red;
        color: white;
    }

    .btn-dayofweek.saved {
        border: solid 2px #2eb553;
    }

        .btn-dayofweek.saved:before {
            font-family: "Font Awesome 6 Free";
            content: "\f058";
            color: #2eb553;
            font-weight: 900;
            position: absolute;
            top: -0.7rem;
            right: -0.3rem;
            font-size: 1rem;
        }

.btn-readmore {
    color: white;
    background-color: #ED1C25;
    border-color: #ed1c25;
    stroke: white;
    width: 100px;
}

    .btn-readmore:hover {
        color: #ed1c25;
        background-color: white;
        border-color: #ed1c25;
        font-weight: 600;
        stroke: #ED1C25;
    }

.container-button-poster {
    display: flex;
    justify-content: start;
}

.btn-download {
    border-radius: 25px;
    padding: 0.5rem 1rem;
    white-space: nowrap;
    min-width: 9rem;
    max-height: 2.8rem;
    background-color: #e63946 !important;
    color: white !important;
    border-color: #ED1C25 !important;
    margin-bottom: 5px;
    margin-top: 5px;
}



    .btn-download:hover {
        font-weight: 600;
        background-color: #FFC9C9 !important;
        color: #ED1C25 !important;
    }


.btn-disable {
    background-color: #ADB0B7 !important;
    color: white !important;
    border: unset;
}

.btn-download svg {
    stroke: #fff !important;
}

.btn-download:hover svg {
    fill: #ED1C25 !important;
    stroke: #ED1C25 !important;
}

.pe-return-default {
    padding-right: 2rem;
}

.custom-dropdown {
    width: 100%;
    position: relative;
    font-family: sans-serif;
}

    .custom-dropdown .dropdown-toggle {
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 8px;
        cursor: pointer;
        user-select: none;
        position: relative;
    }

        .custom-dropdown .dropdown-toggle:after {
            position: absolute;
            right: 2%;
            content: "▼";
            float: right;
            margin-left: 5px;
            color: #2C2F32;
            border-top: unset;
        }

        .custom-dropdown .dropdown-toggle.placeholder-cus {
            color: #BFC1C7;
        }

    .custom-dropdown .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100% !important;
        border-radius: 10px;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        background: white;
        display: none;
        z-index: 10000;
    }

    .custom-dropdown .dropdown-item {
        padding: 12px 16px;
        cursor: pointer;
        border-bottom: 1px solid #eee;
        color: #333;
        width: 100%;
    }

        .custom-dropdown .dropdown-item:last-child {
            border-bottom: none;
        }

        .custom-dropdown .dropdown-item:hover {
            background-color: #FFF6F6;
            color: #ED1C25;
        }

.icon-eye-cus {
    color: #ADB0B7;
    font-size: 16px;
}

.form-check-input:focus {
    border-color: #ED1C25;
    outline: 0;
    box-shadow: 0 0 0 0.25rem #ffb9b9;
}

.card-title-search {
    color: #ed1c25;
}

.card-header.search {
    background-color: #fef0f0
}

.modal-header {
    background-color: white;
    color: #312920;
}

.modal-body.popup-video {
    padding: unset;
}

.dishName {
    color: red !important;
    background-color: #fde8e9 !important;
    font-weight: 600;
}

.nav-custom-container {
    width: var(--avn_content-width);
    margin-left: 40px;
}

.nav-custom {
    display: flex;
    width: 100%;
}

    .nav-custom li {
        background-color: #d7d4d5;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        margin-left: 1px;
        overflow: hidden
    }

    .nav-custom a {
        color: red;
        font-weight: 700;
    }

    .nav-custom a {
        color: red;
        font-weight: 700;
        cursor: pointer;
    }

    .nav-custom .nav-link:hover {
        color: white !important;
    }

    .nav-custom li .line {
        position: absolute;
        left: 0;
        right: 0;
        margin: 0 auto;
        height: 4px;
        background-image: linear-gradient(#bf2a4f, #8b0022);
        top: 0px;
    }

    .nav-custom .active {
        background-color: red;
        color: white;
        /*        font-weight: 600;*/
    }

        .nav-custom .active a {
            color: white;
            /*            font-weight: 600;*/
        }

    .nav-custom .nav-item {
        position: relative;
        flex-grow: 1;
        text-align: center;
    }

        .nav-custom .nav-item.active svg path {
            stroke: #fff
        }

    .nav-custom .nav-link.active {
        background-color: red;
        color: white;
        font-weight: 600;
    }

    .nav-custom .nav-link {
        padding: 0.5rem 0px;
    }

.td_day-of-week {
    background-color: #c5e2c3 !important;
}

    .td_day-of-week:hover {
        cursor: pointer
    }

.table-custom td {
    text-align: center;
    vertical-align: middle;
    padding: 0px 2px;
}

.table-custom .form-select {
    margin: 0px;
    padding: 3px 2px;
}

.table-custom th {
    text-align: center;
    vertical-align: top;
}

#tb_nutrition-infor td {
    font-size: 0.8rem;
}

    #tb_nutrition-infor td:nth-child(1) {
        width: 10%;
    }

    #tb_nutrition-infor td:nth-child(2) {
        width: 90%;
    }

#tb_nutrition-infor .color-standard {
    background-color: #c3e8b1;
    width: 10px;
    height: 10px;
    margin: auto;
}

#tb_nutrition-infor .color-actual {
    background-color: #ffbebe;
    width: 10px;
    height: 10px;
    margin: auto;
}

.title-page {
    color: #ff0000;
    font-weight: 700;
}

.dish-title {
    text-align: center;
    font-size: 1.3rem;
    color: #548ed1;
    font-weight: 700;
}

.help {
    position: absolute;
    top: 40px;
    right: 2rem;
    z-index: 10;
}

.dt-paging-button .page-link {
    background-color: #d0b389;
    color: black;
    font-weight: 500;
}

#tb_IngredientsList {
    /*    overflow-y: scroll;*/
    /*    max-height: 310px;*/
    border: 1px solid red;
    margin-top: 1rem;
    padding: 3px;
    position: relative;
}

    #tb_IngredientsList #ConversionInformation {
        position: absolute;
        bottom: 6px;
        left: 69%;
        color: blue;
        font-weight: 600;
        font-size: 14px;
    }

    #tb_IngredientsList td:nth-child(1) {
        width: 5%;
    }

    #tb_IngredientsList td:nth-child(3) {
        width: 10%;
    }

    #tb_IngredientsList td:nth-child(4) {
        width: 15%;
    }

    #tb_IngredientsList td:nth-child(5) {
        width: 15%;
    }

    #tb_IngredientsList td:nth-child(6) {
        width: 10%;
    }

    #tb_IngredientsList th {
        background-color: #f5aa2d;
        color: white;
        font-size: 16px;
        font-weight: 500;
        text-align: center;
        line-height: 16px;
    }

    #tb_IngredientsList td {
        font-size: 14px;
    }

    #tb_IngredientsList .dt-paging {
        display: flex;
        justify-content: center !important;
    }



    #tb_IngredientsList .dt-paging-button.active .page-link {
        background-color: black;
        color: white;
    }

    #tb_IngredientsList .dt-paging-button .previous:nth-child(1):after {
        content: " Trước";
        font-size: 0.8rem;
    }

    #tb_IngredientsList .dt-paging-button .next:nth-child(1):before {
        content: "Sau ";
        font-size: 0.8rem;
    }


#tb_MaterialSubstitution {
    overflow-y: scroll;
    max-height: 370px;
    border: 1px solid red;
    margin-top: 1rem;
    padding: 3px;
}

    #tb_MaterialSubstitution th,
    #createMenuFromIng th,
    #createMenuFromIngTab2 th {
        height: 25px;
        padding-top: 2px;
        border-top: 2px solid #FFF;
        border-left: 1px solid #FFF;
        border-right: 1px solid #FFF;
        background-color: #96B82D;
        color: #FFF;
        font-size: 14px;
        font-weight: 500;
        text-align: center;
        line-height: 14px;
        vertical-align: middle;
        margin-top: 1rem;
    }

    #tb_MaterialSubstitution td,
    #createMenuFromIng td,
    #createMenuFromIngTab2 td {
        text-align: center;
        font-weight: inherit;
        font-size: 14px;
        padding: 3px 0.3rem;
    }

    #tb_MaterialSubstitution .form-select {
        padding: 1px 0px;
        font-size: 1rem;
    }

#tb_dish-infor th {
    background-color: #3b601f;
    color: white;
}

#tb_dish-infor td {
    font-weight: 600;
}

#tb_dish-infor .standard-value {
    background-color: #c3e8b1;
}

#tb_dish-infor .actual-value {
    background-color: #ffbebe;
}

#tb_dish-infor .result_pin {
    background-color: transparent;
}

#tb_dish-infor .pin-title {
    position: absolute;
    top: auto
}

#tab_createMenuFromIng {
    overflow-y: scroll;
    max-height: 380px;
    border: 1px solid #cecece;
    padding: 0.5rem;
    border-radius: 5px;
    margin-top: 0.5rem;
}

.table-striped-custom {
    /*    --cui-table-color: #fff;
    --cui-table-bg: #212631;*/
    /*    --cui-table-border-color: #4d515a;*/
    --cui-table-striped-bg: #ffe1e1 !important;
    /*    --cui-table-striped-color: #fff;*/
    /*    --cui-table-active-bg: #373c46;
    --cui-table-active-color: #fff;*/
    --cui-table-hover-bg: #ffc8c8 !important;
    /*    --cui-table-hover-color: #fff;*/
    /*    color: var(--cui-table-color);
    border-color: var(--cui-table-border-color);*/
}

table.table.dataTable.table-hover-custom > tbody > tr:hover > * {
    box-shadow: inset 0 0 0 9999px #FFF0F0;
}

table.table.dataTable.table-striped-custom > tbody > tr:nth-of-type(2n+1) > * {
    box-shadow: inset 0 0 0 9999px #ffc8c8 !important
}


.modal-header.alternative-ingredients-list {
    background-color: #fbdb02;
    color: black;
}

    .modal-header.alternative-ingredients-list h3 {
        margin: auto
    }

.modal-body.alternative-ingredients-list {
}

    .modal-body.alternative-ingredients-list label {
        font-size: 1.3rem;
        font-weight: 600;
    }

    .modal-body.alternative-ingredients-list .form-select, .modal-body.alternative-ingredients-list .form-control {
        font-size: 14px;
    }

    .modal-body.alternative-ingredients-list th {
        font-size: 14px;
        background-color: #f5aa2d;
        color: white;
        font-weight: 500;
        padding: 1rem 3px;
    }

    .modal-body.alternative-ingredients-list td {
        font-size: 14px;
    }

.modal-footer.alternative-ingredients-list {
    justify-content: center;
}

    .modal-footer.alternative-ingredients-list button {
        font-size: 1.3rem;
        background-color: #548ed1;
        padding: 0.5rem 1rem;
    }

.input-group-text {
    border: unset;
    background-color: unset;
    font-size: 14px;
    font-weight: 600;
}

.input-group .form-control, .input-group .form-select {
    font-size: 14px;
}

.conversionInformation {
    height: 100%;
    position: relative;
    padding: 0 2rem;
    width: 98%;
}

    .conversionInformation hr {
        border-top: 4px solid #f5141a;
    }

    .conversionInformation label {
        position: absolute;
        top: 10%;
        font-size: 16px;
        right: 25px;
        font-weight: 500;
        color: #548ed1;
        font-style: italic;
    }

    .conversionInformation li {
        font-size: 15px;
    }

#tbIngredientModal th:nth-child(1) {
    width: 5%;
}

#tbIngredientModal th:nth-child(2) {
    width: 50%;
}

#tbIngredientModal th:nth-child(3) {
    width: 15%;
}

#tbIngredientModal th:nth-child(4) {
    width: 10%;
}

#tbIngredientModal th:nth-child(5) {
    width: 5%;
}

#tbIngredientModal th:nth-child(6) {
    width: 5%;
}

#tbIngredientModal th:nth-child(7) {
    width: 5%;
}

#tbIngredientModal th:nth-child(8) {
    width: 5%;
}

#tbIngredientModal th:nth-child(9) {
    width: 5%;
}

.tbIngredient th:nth-child(2) {
    width: 30%;
}

#NutritionalCalculation .description {
    background-image: url('../images/icon/pagenote.svg');
    height: 295px; /* Chiều cao cố định, có thể điều chỉnh */
    background-size: cover; /* Hình nền lấp đầy */
    width: 654px;
    margin: auto;
    overflow: hidden;
    color: #333;
}

    #NutritionalCalculation .description label {
        position: absolute;
        width: 50%;
        top: 30%;
        left: 37%;
    }

.form-control:focus {
    color: black;
    background-color: white;
    border-color: #acabeb;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(88, 86, 214, 0.25);
}

.poster {
    background-color: white;
    height: 490px;
    width: 100%;
}

    .poster .title {
        color: red;
        font-weight: 600;
        font-size: 1.7rem;
    }

    .poster .listRelated {
        overflow-y: scroll;
        height: 460px !important;
        padding: 10px;
    }

    .poster .listRelatedVideo {
        overflow-y: scroll;
        height: 420px !important;
        padding: 10px;
    }

    .poster .content {
        height: 440px;
        padding: 10px;
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: transparent transparent;
    }

    .poster .relatedPoster {
        border: solid 1px #d1d3d5;
        border-radius: 10px;
        margin-bottom: 1rem;
        margin-right: 3px;
        margin-left: 3px;
        padding: 4px 5px;
        -webkit-box-shadow: 0 0 7px #bfbfbf;
        box-shadow: 0 0 7px #bfbfbf;
    }

        .poster .relatedPoster.video {
            font-weight: 500;
            font-size: 14px;
            font-family: 'bevietnampro-Medium';
            vertical-align: middle;
        }

            .poster .relatedPoster.video:hover {
                background-color: #FFF0F0;
            }

            .poster .relatedPoster.video .title-related {
                color: #33394C;
                margin: auto;
            }

                .poster .relatedPoster.video .title-related:hover {
                    color: #ED1C25;
                }

    .poster .ThumbnailImage img {
        height: 100px;
        aspect-ratio: 3 / 3;
        object-fit: cover;
        border-radius: 10px;
        /*        margin-left: -7px;*/
    }

    .poster .relatedTitle {
        font-weight: 500;
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

.nutritionEducation {
    width: 100%;
}

    .nutritionEducation .thumbnailVideo {
        width: 100%;
        height: auto;
        min-height: 300px;
        margin: auto;
    }

    .nutritionEducation .ThumbnailImage img {
        height: 70px;
        aspect-ratio: 4 / 3;
        object-fit: cover;
        border-radius: 10px;
        margin: auto;
    }

.popup-video iframe {
    width: 100%;
    height: auto;
    min-height: 700px;
}

.nutritionEducation .content {
    height: 500px;
    overflow-y: scroll;
}

.nutritionEducation .ck-content {
    border: none;
}

.thumbnailVideo {
    position: relative;
    display: inline-block;
}

/*.btn-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .btn-play:hover {
        background: rgba(0, 0, 0, 0.7);
    }*/

.listSampleKitchen {
    max-height: 480px;
    overflow-y: auto;
    background-color: white;
}

    .listSampleKitchen .sampleKitchen {
        border: solid 1px #d1d3d5;
        border-radius: 15px;
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
        margin: 1rem;
        position: relative;
    }

        .listSampleKitchen .sampleKitchen:hover {
            color: #ed1c25;
            background-color: #FFF0F0;
        }

        .listSampleKitchen .sampleKitchen .ThumbnailImage img {
            height: 130px;
            aspect-ratio: 4 / 3;
            margin: 5px;
            border-radius: 10px;
        }

        .listSampleKitchen .sampleKitchen .title {
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 1rem;
        }

.schoolHealth {
    background-color: white;
    height: 510px;
    width: 100%;
}

    .schoolHealth .sidebar-container {
        height: 460px;
    }

    .schoolHealth .list-content {
        height: 500px;
        overflow-y: scroll;
    }

        .schoolHealth .list-content .title {
            font-weight: 600;
            font-size: 1.2rem;
        }

    .schoolHealth .ThumbnailImage img {
        width: 90%;
        aspect-ratio: 4 / 3;
        border-radius: 10px;
        object-fit: contain;
    }

    .schoolHealth .content {
        border: solid 1px #d1d3d5;
        border-radius: 15px;
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
        position: relative;
        margin: 0.4rem
    }

    .schoolHealth label {
        font-size: 1.3rem;
        font-weight: 500;
    }

.menu-from-dish {
    max-height: calc(100% - var(--breadcrumb-height));
    overflow-y: auto;
    margin-top: 10px;
}

    .menu-from-dish label {
        font-size: 1.2rem;
        font-weight: 600;
    }

    .menu-from-dish table {
        width: 100% !important;
    }

        .menu-from-dish table th {
            text-align: center;
            font-weight: 500;
            color: white;
            vertical-align: middle;
            font-size: 1.1rem;
        }

    .menu-from-dish table, .menu-from-dish th, .menu-from-dish td {
        border: 1px double #dddddd;
        border-collapse: collapse;
        border-radius: 3px;
        text-align: center;
        vertical-align: middle;
        min-width: 100px;
    }

    .menu-from-dish #tb_creat-menu-dish td {
        font-size: 1.1rem;
        padding: 0.5rem 0rem;
    }

    .menu-from-dish #tb_creat-menu-dish .main-text {
        display: block;
        max-height: 50px;
        line-height: 1.3;
    }

    .menu-from-dish table, .menu-from-dish th, .menu-from-dish .td_day-of-week {
        min-width: fit-content;
    }

    .menu-from-dish #tb_creat-menu-dish .select2-container--default .select2-selection--single {
        min-height: 55px;
        /*            min-width: 130px !important;*/
        display: flex;
        align-items: center;
        margin: 0;
        padding: 0px;
    }

    .menu-from-dish .select2-selection__arrow {
        height: 26px;
        position: absolute;
        top: 20% !important;
        right: 1px;
        width: 20px;
    }

    .menu-from-dish #tb_creat-menu-dish .select2-selection__rendered {
        display: flex !important;
        flex-direction: column;
        white-space: normal !important;
        padding: 6px 3px;
    }

    .menu-from-dish #tb_creat-menu-dish .main-text {
        display: block;
        max-height: 30px;
        padding-right: 13px;
        padding-left: 3px;
        text-align: start;
    }

    .menu-from-dish #tb_creat-menu-dish .sub-text {
        font-size: 12px;
        color: gray;
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        max-height: 50px;
    }

    .menu-from-dish #tb_creat-menu-dish td .select2 {
        width: 100% !important;
    }

    .menu-from-dish #listIngredient input {
        text-align: right;
    }

        .menu-from-dish #listIngredient input::-webkit-inner-spin-button,
        .menu-from-dish #listIngredient input::-webkit-outer-spin-button {
            -webkit-appearance: none;
            margin: 8px;
        }

    .menu-from-dish #listIngredient .priceDish {
        padding-right: 2.1rem;
    }

    .menu-from-dish table#table_ingredient th:nth-child(1) {
        width: 10% !important;
    }

    .menu-from-dish table#table_ingredient th:nth-child(2) {
        width: 30% !important;
    }

    .menu-from-dish table#table_ingredient th:nth-child(7) {
        width: 12% !important;
    }

    .menu-from-dish #table_ingredient td {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .menu-from-dish #table_ingredient i {
        top: 35%;
        right: 1.5rem;
    }

    .menu-from-dish .btn {
        max-height: 3rem;
        margin: 0 0.5rem;
    }

    .menu-from-dish .select-week button {
        border-radius: 30px;
        padding: 10px 20px 30px 20px;
        font-size: 1.1rem;
        font-weight: 600;
        color: #808080;
        border-color: #808080;
    }

        .menu-from-dish .select-week button:hover {
            font-weight: 600;
            color: #ed1c25;
            border-color: #ed1c25;
            background-color: #fff;
        }

        .menu-from-dish .select-week button.actived {
            font-weight: 600;
            color: #ed1c25;
            border-color: #ed1c25;
        }

            .menu-from-dish .select-week button.actived:hover {
                font-weight: 600;
                color: #fff;
                border-color: #fff;
                background-color: #ed1c25;
            }

.table-icon img {
    cursor: pointer;
    width: 100px;
    height: 20px;
}

.table-icon .icon-balance {
    width: 100px;
    height: 35px;
}

.table-icon-recipe img {
    cursor: pointer;
    width: 50px;
    height: 20px;
}

.table-icon-replace img {
    cursor: pointer;
    width: 50px;
    height: 20px;
}

.modal-lg-custom {
    max-width: 1200px !important;
}

    .modal-lg-custom .modal-body {
        max-height: 70vh;
        overflow-y: scroll;
        overflow-x: hidden;
    }

    .modal-lg-custom .modal-header {
        background-color: #ffcc00;
    }

        .modal-lg-custom .modal-header h3 {
            color: #333;
            font-weight: 700;
            margin: auto;
            font-size: 2rem;
        }

        .modal-lg-custom .modal-header button {
            right: 1rem;
            border: solid 2px #fff;
            border-radius: 50%;
            padding: 0.6rem 0.7rem 0.4rem 0.7rem;
            background-color: transparent;
        }

            .modal-lg-custom .modal-header button i {
                color: #fff;
                font-size: 1.3rem;
            }

    .modal-lg-custom .modal-body {
        font-size: 1.3rem;
    }

        .modal-lg-custom .modal-body .title span {
            color: red;
        }

        .modal-lg-custom .modal-body .input-age {
            background-color: #f5aa2d;
            padding: 1rem 1rem;
            border-radius: 5px;
        }

            .modal-lg-custom .modal-body .input-age label {
                font-weight: bold;
                color: #fff;
            }

            .modal-lg-custom .modal-body .input-age span {
                vertical-align: middle;
                margin-top: 3px;
            }

        .modal-lg-custom .modal-body table {
            font-size: 1.1rem;
        }

            .modal-lg-custom .modal-body table th {
                background-color: #f5aa2d;
                text-align: center;
                font-size: 12px;
                color: #fff;
                font-weight: 500;
                border: solid 1px #fff;
                border-radius: 3px;
            }

            .modal-lg-custom .modal-body table td {
                border: solid 1px #d3d3d3;
                border-radius: 3px;
                vertical-align: middle;
            }

            .modal-lg-custom .modal-body table option {
                text-align: center;
            }

        .modal-lg-custom .modal-body .summary label {
            font-weight: 600;
            margin-top: 3px;
        }

        .modal-lg-custom .modal-body .summary input {
            max-width: 160px;
        }

        .modal-lg-custom .modal-body .div-btn button {
            font-size: 1.3rem;
            font-weight: 500;
            border-radius: 8px;
            padding: 7px 10px
        }

.ingredientList {
    /*    max-height: 590px;*/
    overflow: scroll;
    font-size: 1.1rem;
    display: flex;
    flex-direction: column;
    width: 100%;
}

    .ingredientList .dt-search {
        display: none;
    }

    .ingredientList select, .ingredientList input {
        font-size: 1.1rem;
    }



    .ingredientList .search {
        padding: 5px 10px 5px 10px;
        border: solid 1px #d1d3d5;
        border-radius: 10px;
        margin: 0 0.5rem 1rem 1rem;
        width: auto;
        /*        max-height: 70px;*/
    }

        .ingredientList .search label {
            font-size: 1.1rem;
            font-weight: 600;
        }

    .ingredientList table {
        display: block;
        width: 100%;
        font-size: 1.1rem;
    }

        .ingredientList table th:nth-child(1) {
            width: 5% !important;
        }

        .ingredientList table th:nth-child(2) {
            width: 45% !important;
        }

        .ingredientList table th:nth-child(3) {
            width: 20% !important;
        }

        .ingredientList table th:nth-child(4),
        .ingredientList table th:nth-child(5) {
            width: 15% !important;
        }

        .ingredientList table th {
            color: #fff;
            background-color: #f5aa2d !important;
            font-size: 1.3rem;
        }

        /*        .ingredientList table #IngredientListTable {
            height: 300px;
        }*/

        .ingredientList table select {
            font-size: 1.1rem;
        }

        .ingredientList table input {
            text-align: right;
            font-size: 1.1rem;
        }

    .ingredientList .footer {
        /*        max-height: 70px;*/
    }

        .ingredientList .footer button {
            font-size: 1.2rem;
            margin: 0 0.5rem;
            /*            margin-top: 1rem;*/
            font-weight: 500;
        }

    .ingredientList .dt-paging {
        display: flex;
        justify-content: center;
        margin-top: 1rem !important;
    }

.related-title {
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 5px;
    color: #ED1C25;
}

.check-input:checked {
    accent-color: #ED1C25;
}

.sub-text-th {
    font-size: 10px;
}

.menu-from-ing {
    min-height: 513px;
}

    .menu-from-ing .div-step {
        margin-left: 1rem;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .menu-from-ing .step {
        vertical-align: top;
    }

    .menu-from-ing .step-box {
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #F2F2F2;
        border-radius: 50px;
        color: #666A79;
        font-family: 'bevietnampro-Medium';
        font-size: 12px;
        font-weight: 500;
        padding: 1px 12px;
    }

        .menu-from-ing .step-box.active {
            background-color: #ED1C25;
            color: white;
            border: 2px solid #ED1C25;
        }

            .menu-from-ing .step-box.active .circle-step {
                background-color: white;
                color: #ED1C25;
                border: 2px solid #ED1C25;
            }

        .menu-from-ing .step-box.success {
            background-color: #D2F9DC;
            color: #666A79;
            border: 2px solid #D2F9DC;
        }

            .menu-from-ing .step-box.success .circle-step {
                background-color: white;
                color: #34C759;
                border: 2px solid #34C759;
            }

    .menu-from-ing .circle-step {
        background-color: white;
        color: #666A79;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 14px;
        width: 28px;
        height: 28px;
        border: solid 1px #666A79;
        margin: 0 0.5rem;
    }

    .menu-from-ing .form-label {
        font-family: 'bevietnampro-Medium';
        font-size: 14px;
        line-height: 22px;
    }

    .menu-from-ing .form-control, .menu-from-ing .form-select {
        padding: 0.6rem 1rem;
    }

    .menu-from-ing .div-step-2 .dropdown-dish {
        background-color: #f1f1f1;
        border-radius: 8px;
        padding: 0.8rem;
        margin-left: 1rem;
    }

    .menu-from-ing .div-step-2 .flex-fill {
        flex: 1 0 0; /* chia đều và không co giãn */
        min-width: 19%;
    }

    .menu-from-ing .div-step-2 .custom-dropdown {
        width: 100%;
        position: relative;
        font-family: sans-serif;
    }

    .menu-from-ing .div-step-2 .dropdown-toggle {
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 8px;
        cursor: pointer;
        user-select: none;
        position: relative;
    }

        .menu-from-ing .div-step-2 .dropdown-toggle:after {
            position: absolute;
            right: 2%;
            content: "▼";
            float: right;
            margin-left: 5px;
            color: #2C2F32;
            border-top: unset;
        }

        .menu-from-ing .div-step-2 .dropdown-toggle.placeholder-cus {
            color: #BFC1C7;
        }

    .menu-from-ing .div-step-2 .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        border-radius: 10px;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        background: white;
        display: none;
        z-index: 10;
    }

    .menu-from-ing .div-step-2 .dropdown-item {
        padding: 12px 16px;
        cursor: pointer;
        border-bottom: 1px solid #eee;
        color: #333;
    }

        .menu-from-ing .div-step-2 .dropdown-item:last-child {
            border-bottom: none;
        }

        .menu-from-ing .div-step-2 .dropdown-item:hover {
            background-color: #FFF6F6;
            color: #ED1C25;
        }

    .menu-from-ing .div-step-2 .div-table {
        max-height: 250px;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .menu-from-ing .div-step-2 table th {
        background-color: #96b82d;
        border: solid 1px #fff;
        border-radius: 3px;
        /*        padding: 15px;*/
        color: white;
        text-align: center;
        font-size: 13px;
        font-weight: 400;
        font-family: 'bevietnampro-Regular';
        position: relative;
        vertical-align: middle;
    }

    .menu-from-ing .div-step-2 table td {
        border: double 2px #e5e5e5;
        border-radius: 3px;
        padding: 10px;
        vertical-align: middle;
    }

        .menu-from-ing .div-step-2 table td:last-child {
            text-align: center;
        }

    .menu-from-ing .div-step-2 table .form-control {
        text-align: right;
    }

    .menu-from-ing .div-step-3 .div-table {
        overflow-y: auto;
        overflow-x: scroll;
    }

    .menu-from-ing .div-step-3 table th {
        background-color: #F5AA2D;
        border: solid 1px #fff;
        border-radius: 3px;
        padding: 5px 15px;
        color: white;
        text-align: center;
        font-size: 12px;
        font-weight: 400;
        font-family: 'bevietnampro-Regular';
        position: relative;
        vertical-align: middle;
    }

    .menu-from-ing .div-step-3 table#table-step3 th:nth-child(1) {
        min-width: 95px;
    }

    .menu-from-ing .div-step-3 table#table-step3 th:nth-child(2) {
        min-width: 210px;
    }

    .menu-from-ing .div-step-3 table#table-step3 th:nth-child(3) {
        min-width: 120px;
    }

    .menu-from-ing .div-step-3 table#table-step3 th:nth-child(4) {
        min-width: 110px;
        text-align: right;
    }

    .menu-from-ing .div-step-3 table#table-step3 th:nth-child(5) {
        min-width: 100px;
    }

    .menu-from-ing .div-step-3 table#table-step3 th:nth-child(6) {
        min-width: 100px;
    }

    .menu-from-ing .div-step-3 table#table-step3 th:nth-child(7) {
        min-width: 100px;
        text-align: right;
    }

    .menu-from-ing .div-step-3 table#table-step3 th:nth-child(8) {
        min-width: 120px;
    }

    .menu-from-ing .div-step-3 .step3-cost {
        font-size: 1rem;
        font-weight: 500;
    }

    .menu-from-ing .div-step-3 table td {
        border: double 2px #e5e5e5;
        border-radius: 3px;
        padding: 4px;
        vertical-align: middle;
    }

    .menu-from-ing .div-step-3 table#table-step3 td:nth-child(4) .form-control {
        text-align: right !important;
    }

    .menu-from-ing .div-step-3 table#table-step3 td:nth-child(5) .form-control {
        text-align: right !important;
    }

    .menu-from-ing .div-step-3 table#table-step3 td:nth-child(6) .form-control {
        text-align: right;
    }

    .menu-from-ing .div-step-3 table#table-step3 td:nth-child(7) .form-control {
        text-align: right;
    }

    .menu-from-ing .div-step-3 table#table-step3 td:last-child {
        text-align: right;
    }

    .menu-from-ing .cost-sumary label {
        font-weight: 600;
        margin-top: 3px;
    }

    .menu-from-ing .cost-sumary input {
        max-width: 200px;
    }

    .menu-from-ing .div-step-3 #divTableBalance {
        padding-top: 1rem;
        padding-bottom: 5rem;
    }

.step-footer {
    height: 65px;
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 98%;
    background-color: #f1f1f1;
    padding: 10px 10px;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
    display: flex;
    /*    justify-content: end;*/
    align-items: center;
    border-radius: 5px;
}

    .step-footer .btn-add {
        margin-right: 0.5rem;
        font-size: 1rem;
        padding: 0.6rem 1.5rem;
        border-radius: 8px;
        transition: all 0.2s ease;
    }

    .step-footer .btn-delete {
        margin-right: 0.5rem;
        font-size: 1rem;
        padding: 0.6rem 1.5rem;
        border-radius: 8px;
        transition: all 0.2s ease;
    }

        .step-footer .btn-delete:hover {
            background-color: white;
            color: #ed1c25;
            border-color: #ed1c25;
        }

        .step-footer .btn-delete:disabled {
            background-color: #c7c7c7;
            color: #585858;
            border: unset;
        }

.custom-tooltip {
    position: relative;
    cursor: pointer;
    font-size: 14px;
    white-space: wrap;
}

    .custom-tooltip::before,
    .custom-tooltip::after {
        position: absolute;
        opacity: 0;
        transition: all 0.1s ease-in-out;
        pointer-events: none;
    }

    .custom-tooltip::before {
        content: '';
        position: absolute;
        top: 1.5rem;
        left: 50%;
        transform: translateX(-40%) rotate(45deg);
        width: 14px;
        height: 14px;
        background: white;
        border-left: 1px solid #ff3c3c;
        border-top: 1px solid #ff3c3c;
        /*        transform: translateX(-50%) rotate(90deg);*/
        z-index: 1001;
    }

    .custom-tooltip::after {
        content: attr(data-text);
        background: white;
        color: #333;
        padding: 0.8rem 1rem;
        border-radius: 12px;
        border: 1px solid #ff3c3c;
        top: 2.1rem;
        left: 50%;
        transform: translateX(-35%) translateY(10%);
        width: max-content;
        max-width: 230px;
        text-align: left;
        line-height: 1.4;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .custom-tooltip:hover::after {
        opacity: 1;
        transform: translateX(-40%) translateY(0);
    }

    .custom-tooltip:hover::before {
        opacity: 1;
    }

.custom-tooltip-big::before {
    top: 5rem;
}

.custom-tooltip-big::after {
    top: 5.6rem;
}

.menuFromIngModal .modal-xl {
    min-width: 1250px;
}

.menuFromIngModal .modal-content {
    background-color: #efefef;
}

.menuFromIngModal .bg-white {
    padding: 1rem;
    border-radius: 10px;
}

.menuFromIngModal .modal-header {
    background-color: #FFCC00;
    color: #333;
    text-align: center;
    position: relative;
}

    .menuFromIngModal .modal-header h5 {
        margin: auto;
        font-size: 32px;
        font-family: 'bevietnampro-SemiBold';
    }

    .menuFromIngModal .modal-header button {
        position: absolute;
        right: 1rem;
        top: 20%;
        border: solid 2px white;
        border-radius: 50%;
        padding: 0.2rem 0.75rem;
        background-color: transparent;
        color: white !important;
        font-size: 1.5rem;
    }

        .menuFromIngModal .modal-header button:hover {
            border: solid 2px red;
            color: red !important;
            font-weight: 600;
        }

.menuFromIngModal .modal-body {
    min-height: 620px;
    margin: 1rem;
}

.menuFromIngModal .ingredient-list {
    min-height: 500px;
    height: 600px;
    position: relative;
}

    .menuFromIngModal .ingredient-list.list-selected {
        min-height: 500px;
        height: 600px;
    }

    .menuFromIngModal .ingredient-list .form-control,
    .menuFromIngModal .ingredient-list .form-select {
        padding: 0.6rem 1rem;
    }

    .menuFromIngModal .ingredient-list h5 {
        font-size: 18px;
        vertical-align: middle;
        margin-top: 0.6rem;
        margin-left: 1.5rem;
    }

    .menuFromIngModal .ingredient-list .list-group-item {
        height: 3rem;
        font-size: 14px;
        border: solid 1px #d1d3d5;
        border-radius: 5px;
        font-weight: 500;
        margin-bottom: 0.1rem;
        vertical-align: middle;
        padding: 0.5rem 1.1rem;
        text-align: left;
    }

        .menuFromIngModal .ingredient-list .list-group-item:hover {
            background-color: #fef1f1;
            cursor: pointer;
        }

        .menuFromIngModal .ingredient-list .list-group-item span {
            margin-top: auto;
            margin-bottom: auto;
        }

    .menuFromIngModal .ingredient-list button.add {
        border-radius: 50%;
        font-size: 1.3rem;
        font-weight: 900;
        background-color: #548ED1;
        border: solid 1px #548ED1;
        color: white;
        height: 25px;
        width: 25px;
        min-width: 25px;
        margin-top: auto;
        margin-bottom: auto;
        padding: 0px;
    }

    .menuFromIngModal .ingredient-list button.minus {
        border-radius: 50%;
        font-size: 1.3rem;
        font-weight: 900;
        background-color: #FF000D;
        border: solid 1px #FF000D;
        color: white;
        height: 25px;
        width: 25px;
        min-width: 25px;
        margin-top: auto;
        margin-bottom: auto;
        padding: 0;
    }

    .menuFromIngModal .ingredient-list button.tick {
        border-radius: 50%;
        font-size: 1.3rem;
        font-weight: 900;
        color: #4DAA54;
        height: 25px;
        width: 25px;
        min-width: 25px;
        margin-top: auto;
        margin-bottom: auto;
        padding: 0;
        border: unset;
    }

.menuFromIngModal .btn-save {
    background-color: #548ED1;
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    margin-right: 0.5rem;
}

.menuFromIngModal .btn-search-item {
    background-color: #548ED1;
    color: white;
    padding: 5px 12px;
}

.menuFromIngModal .pagination {
    position: absolute;
    bottom: 2%;
    left: 28%;
}

    .menuFromIngModal .pagination .btn {
        background-color: #d5d5d5;
        border: none;
        font-size: 16px;
        padding: 0 0.7rem;
        border-radius: 10px
    }

        .menuFromIngModal .pagination .btn.btn-danger {
            background-color: #ED1C25;
            border: none;
            font-size: 16px;
            color: white;
        }

.saveMenuModal .modal-body .btn-close-model {
    position: absolute;
    right: 1rem;
    top: 1rem;
    border: solid 2px #ED1C25;
    border-radius: 50%;
    background-color: transparent;
    font-size: 1.2rem;
    color: #ED1C25 !important;
}

#leftListDish div.active {
    color: #4DAA54;
}

    #leftListDish div.active button.tick {
        display: unset !important;
    }

#leftListDish .list-group-item.active {
    background-color: unset;
}

.file-area {
    position: relative;
    /*    width: 100%;*/
    position: relative;
    border: 1px dashed #ED1C25;
    border-radius: 10px;
    background-color: white;
    margin: auto;
}

    .file-area input[type=file] {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        opacity: 0;
        cursor: pointer;
    }

.file-dummy {
    pointer-events: none; /* Ngăn input file kích hoạt khi click */
    padding: 5px;
    text-align: center;
    position: relative;
    font-size: 16px;
    border-radius: 16px;
}

    .file-dummy.has-file button {
        pointer-events: auto; /* Bật lại cho nút */
    }

.file-area .file-dummy {
    outline: none !important;
    width: 100%;
    padding: 20px;
    background-color: #FFF0F0;
    /*        border: 2px dashed rgba(255, 255, 255, 0.2);*/
    text-align: center;
    /*    transition: background 0.3s ease-in-out;*/
}

    .file-area .file-dummy.has-file {
        /*        border: 1px solid #ED1C25;*/
        border-radius: 10px;
        margin: 2%;
        width: 96%;
        padding: 0.5rem;
        /*        box-shadow: 0px 0px 11.38px 0px #E6E6E6 !important;*/
    }

        .file-area .file-dummy.has-file img {
            width: 50px;
            margin-left: 1rem;
            margin-right: 1rem;
        }

        .file-area .file-dummy.has-file label {
            font-weight: 600;
            font-size: 16px;
        }

    .file-area .file-dummy .success {
        display: none;
    }

.file-area:hover .file-dummy {
    /*    background: rgba(255, 255, 255, 0.1);*/
}

.calc-bmi .div-tab {
    display: flex;
    justify-content: space-around;
    padding: 0.5rem 0.2rem;
    border-radius: 16px;
    box-shadow: 0 1px 4px #bfbfbf;
    width: 98%;
    margin: auto;
    margin-bottom: 2rem;
}

    .calc-bmi .div-tab button {
        width: 49%;
        padding: 12px 10px;
        border-radius: 16px;
        font-size: 14px;
        font-weight: 600;
    }

.calc-bmi .noti-bmi {
    vertical-align: middle;
    margin-top: 1.5rem;
}

    .calc-bmi .noti-bmi label {
        color: #4DAA54;
        font-size: 16px;
        vertical-align: middle;
        margin: auto;
        font-family: "bevietnampro-Regular";
    }

.calc-bmi .step {
    border: solid 1px #FFBEBE;
    border-radius: 16px;
    padding: 1.2rem 0.2rem;
}

.calc-bmi .div-bmi h4 {
    color: #333;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
}

    .calc-bmi .div-bmi h4 span {
        color: #ED1C25;
    }

.calc-bmi .div-bmi p {
    text-align: center;
    font-size: 16px;
    font-family: "bevietnampro-Regular";
    margin: 1.1rem;
}

    .calc-bmi .div-bmi p a {
        color: #ED1C25 !important;
        text-decoration: underline !important;
    }

        .calc-bmi .div-bmi p a:hover {
            cursor: grab;
            color: dodgerblue !important;
        }

.calc-bmi .div-bmi button {
    text-align: center;
    margin: auto;
}

.calc-bmi p.text-info {
    color: #4DAA54 !important;
    font-size: 16px;
    text-align: left;
    margin: 1rem 2rem;
}

.calc-bmi table th {
    background-color: #F5AA2D;
    color: white;
    font-size: 14px;
    font-family: "bevietnampro-Medium";
    font-weight: 500;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}

.calc-bmi table#table-error th:first-child, .calc-bmi #table-dub th:nth-child(2) {
    width: 150px;
}

.calc-bmi #table-dub th:first-child {
    min-width: 140px;
    white-space: wrap;
}

.calc-bmi table#table-error th:nth-child(6) .calc-bmi #table-dub th:nth-child(7) {
    max-width: 200px;
}

.calc-bmi table#table-error th:nth-child(7) .calc-bmi #table-dub th:nth-child(8) {
    max-width: 250px;
}

.calc-bmi table td {
    background-color: #FFF0F0;
    color: #3A3E42;
    font-size: 12px;
    font-family: "bevietnampro-Medium";
    font-weight: 500;
    text-align: center;
    vertical-align: middle;
    padding: 0.8rem;
    white-space: nowrap;
}

    .calc-bmi table td input[type='checkbox'] {
        width: 1.3rem;
        height: 1.3rem;
        border-radius: 16px;
    }

        .calc-bmi table td input[type='checkbox']:checked {
            accent-color: #ED1C25;
        }

    .calc-bmi table td.error {
        color: #ED1C25;
        border: solid 1px #ED1C25;
    }

    .calc-bmi table td:first-child {
        white-space: wrap;
    }

.calc-bmi .step-2 button {
    color: white;
    background-color: #ED1C25;
    font-size: 14px;
    border-radius: 8px;
    /*    margin-left: 93%;*/
}

    .calc-bmi .step-2 button:hover {
        color: #ED1C25;
        background-color: white;
    }

.calc-bmi .div-btn {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

    .calc-bmi .div-btn button {
        margin: 1rem;
        /*        color: white;*/
        font-size: 14px;
    }

        .calc-bmi .div-btn button.btn-success {
            color: white;
        }

            .calc-bmi .div-btn button.btn-success:hover {
                color: #4DAA54;
                background-color: white;
            }

.calc-bmi .report h3 {
    font-size: 22px;
    font-weight: 700;
    padding: 1rem 16px;
    font-family: "bevietnampro-Bold";
}

.calc-bmi .report p {
    font-size: 14px;
    font-family: "bevietnampro-Regular";
    line-height: 20px;
    padding: 0px 16px;
}

.calc-bmi .report .form-check {
    /*    padding: 0.1rem;*/
    padding-bottom: 0.5rem;
    padding-top: 0.5rem;
}

.calc-bmi .report .col-3.text-center {
    border-right: solid 1px #d1d3d5;
}

.calc-bmi .report .col-label {
    margin: auto;
}

.calc-bmi .report .col-12.row {
    /*    background-color: #f2f2f2;*/
    border-radius: 8px;
    /*    margin: 0.5rem;*/
    margin: auto;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    align-items: center;
}

.section-filter {
    background-color: #f2f2f2;
}

.calc-bmi .report label.form-label {
    font-size: 16px;
    font-family: "bevietnampro-Bold";
    line-height: 20px;
    /*    padding: 0px 6px;*/
    vertical-align: middle;
    margin: auto;
}

.calc-bmi .report .form-check-label {
    font-size: 14px;
    font-family: "bevietnampro-Regular";
    vertical-align: middle;
    padding-left: 0.5rem;
    padding-top: 2px;
}

.calc-bmi .report input[type='checkbox'] {
    width: 20px;
    height: 20px;
    border: 2px solid #c1c1c1;
}

    .calc-bmi .report input[type='checkbox']:checked {
        accent-color: #ED1C25;
        background-color: #ED1C25;
        border-color: #ED1C25;
    }

.calc-bmi .form-multi-select {
    width: calc(100% - 3.2rem);
}

.calc-bmi .form-multi-select-search {
    font-size: 1.3rem;
    line-height: 1.5;
    padding: 0.3rem;
}

.calc-bmi .form-multi-select-selection {
    flex-wrap: nowrap;
}

.calc-bmi .form-multi-select-selection-tags {
    overflow-x: hidden;
}

.calc-bmi .form-multi-select-tag {
    font-size: 1.2rem;
    padding: 0.3rem;
    white-space: nowrap;
}

.calc-bmi .selectStudent .filter-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .calc-bmi .selectStudent .filter-container select,
    .calc-bmi .selectStudent .filter-container input {
        padding: 6px 10px;
        border: 1px solid #ccc;
        border-radius: 4px;
        font-size: 14px;
        color: #555;
    }

    .calc-bmi .selectStudent .filter-container select {
        appearance: none;
        background: white url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6'><path fill='%23555' d='M0 0l5 6 5-6z'/></svg>") no-repeat right 8px center;
        background-size: 10px 6px;
        padding-right: 25px;
    }

.calc-bmi .selectStudent .arrow-red {
    width: 1.5rem;
}

.calc-bmi .file-remove {
    position: absolute;
    right: 25px;
    top: 40%;
    display: none;
}

.calc-bmi .file-dummy {
    margin: auto;
}

    .calc-bmi .file-dummy .file-box {
        display: flex;
        justify-content: start;
        align-items: center;
        border: 1px solid #D1D3D5;
        border-radius: 8px;
        padding: 10px 15px;
        background-color: white;
        /*        margin-left: 10px;*/
        position: relative;
        overflow: hidden;
    }

    .calc-bmi .file-dummy .file-box {
    }

        .calc-bmi .file-dummy .file-box .file-name {
            font-weight: 600;
            color: #333;
            padding-left: 1.5rem;
            text-align: start;
        }

            .calc-bmi .file-dummy .file-box .file-name span {
                font-size: 14px;
                color: #777;
            }

.calc-bmi .div-tab .btn-delete:hover {
    color: white;
    background-color: #ED1C25;
    border: solid 1px #ED1C25;
}

.calc-bmi .div-tab .btn-delete.inactive:not(:disabled) {
    color: #ED1C25;
    background-color: #d7d4d5;
    border: none;
}

    .calc-bmi .div-tab .btn-delete.inactive:not(:disabled):hover {
        color: white;
        background-color: #ED1C25;
        border: solid 1px #ED1C25;
    }

.calc-bmi .form-multi-select-all {
    font-size: 14px;
    color: #ED1C25;
    font-family: beVietNamPro-Regular
}

.calc-bmi .form-multi-select-option {
    font-size: 16px;
}

    .calc-bmi .form-multi-select-option::before {
        width: 20px;
        height: 20px;
        padding-right: 1.5rem;
        accent-color: #ED1C25;
        /*        background-color: #ED1C25;*/
        border-color: #ED1C25;
    }

    .calc-bmi .form-multi-select-option.form-multi-selected::before {
        accent-color: #ED1C25;
        background-color: #ED1C25;
        border-color: #ED1C25;
    }

.calc-bmi .selectStudent table, .calc-bmi .dt-scroll-headInner {
    width: 100% !important;
}

    .calc-bmi .selectStudent table th {
        background-color: #ED1C25;
        width: auto !important;
    }

.calc-bmi .selectStudent .modal-header {
    background-color: #fff6f6;
    color: #ED1C25;
    font-size: 20px;
    font-family: beVietNamPro-Medium;
}

.calc-bmi .selectStudent table {
    border: solid 2px #ED1C25;
}

.calc-bmi .selectStudent .filter-container span {
    font-size: 14px;
    font-family: beVietNamPro-Medium;
}

.calc-bmi .selectStudent .filter-container label {
    font-size: 14px;
    font-family: beVietNamPro-Medium;
    margin-right: 0.5rem;
}

.calc-bmi .selectStudent .pagination {
    margin: auto;
    text-align: center;
}

    .calc-bmi .selectStudent .pagination .dt-paging-button.active .page-link {
        background-color: #ED1C25;
        color: white;
    }

    .calc-bmi .selectStudent .pagination .dt-paging-button .page-link {
        background-color: #d5d5d5;
        border: none;
        font-size: 16px;
        padding: 0.2rem 0.7rem;
        border-radius: 10px;
        margin-left: 0.5rem;
        margin-right: 0.5rem;
        color: #262626;
    }

.calc-bmi .filter-container-student-list label {
    font-size: 14px;
    font-family: beVietNamPro-Medium;
}

.calc-bmi .selectStudentList table.table.dataTable.table-striped > tbody > tr:nth-of-type(2n+1) > * {
    box-shadow: inset 0 0 0 9999px #DAF6FF;
}

.calc-bmi .filter-container-student-list .form-multi-select {
    width: 200px;
}

.calc-bmi .selectStudentList table, .calc-bmi .dt-scroll-headInner {
    width: 100% !important;
}

    .calc-bmi .selectStudentList table th {
        background-color: #F5AA2D;
        width: auto !important;
    }

.calc-bmi .selectStudentList .filter-container span {
    font-size: 14px;
    font-family: beVietNamPro-Medium;
}

.calc-bmi .selectStudentList .filter-container label {
    font-size: 14px;
    font-family: beVietNamPro-Medium;
    margin-right: 0.5rem;
}

.calc-bmi .selectStudentList .dt-paging {
    display: flex;
    justify-content: center !important;
    margin-top: 0.8rem;
}

.calc-bmi .selectStudentList .pagination {
    margin: auto;
    text-align: center;
}

    .calc-bmi .selectStudentList .pagination .dt-paging-button.active .page-link {
        background-color: #ED1C25;
        color: white;
    }

    .calc-bmi .selectStudentList .pagination .dt-paging-button .page-link {
        background-color: #d5d5d5;
        border: none;
        font-size: 16px;
        padding: 0.2rem 0.7rem;
        border-radius: 10px;
        margin-left: 0.5rem;
        margin-right: 0.5rem;
        color: #262626;
    }

.calc-bmi #div-chart h4 {
    font-size: 16px;
    font-family: beVietNamPro-Medium;
    border-bottom: solid 1px #c7c7c7;
    padding-bottom: 1rem;
}

.calc-bmi #div-chart canvas {
    width: 100% !important;
}

.calc-bmi .modal .modal-header {
    color: #ED1C25;
    font-size: 20px;
    font-family: beVietNamPro-Medium;
    font-weight: 500;
    background-color: #f8e6e6;
}

.calc-bmi .modal .modal-body label {
    font-size: 14px;
    font-family: beVietNamPro-Medium;
}

.calc-bmi .modal .modal-body .text-alert {
    width: 98%;
    color: #ED1C25;
    background-color: #f8e6e6;
    padding: 1rem;
    margin: 1.5rem 1%;
    border-radius: 8px;
    font-size: 12px;
}

.calc-bmi .modal .modal-body .form-check-input:checked {
    background-color: #ED1C25;
    border-color: #ED1C25;
}

#dropdown-tab {
    position: relative;
}

    #dropdown-tab .dropdown-menu {
        display: none;
        position: absolute;
        top: 100%; /* ngay dưới nav-item */
        left: 0;
        background: #fff;
        border: 1px solid #ddd;
        min-width: 180px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.15);
        z-index: 10000;
        color: red;
        width: 100%;
    }

        #dropdown-tab .dropdown-menu .dropdown-item {
            color: #333;
            font-size: 9px;
            font-family: 'bevietnampro-SemiBold';
            padding: 8px 4px;
            text-align: center;
            border-radius: 2px;
        }

            #dropdown-tab .dropdown-menu .dropdown-item:hover {
                background-color: #FFF6F6;
                color: #ED1C25;
                cursor: pointer;
            }

    #dropdown-tab:hover .dropdown-menu {
        display: block;
    }

.dropdown-toggle-custom {
    padding: 8px 12px;
    cursor: pointer;
    color: red;
    font-weight: 600;
    text-decoration: none;
    border: none;
}

.nav-custom .active .dropdown-toggle-custom {
    color: white;
}

.dataTable-green th {
    background-color: #96B82D !important;
    color: white;
    font-size: 16px;
    padding: 10px;
    border: 1px solid #ddd !important;
}

.dataTable-green td {
    font-size: 14px;
    color: #33394C;
    border: 1px solid #ddd !important;
}

.dataTable-green .pagination {
    margin: auto;
    text-align: center;
}

    .dataTable-green .pagination .dt-paging-button.active .page-link {
        background-color: #ED1C25;
        color: white;
    }

    .dataTable-green .pagination .dt-paging-button .page-link {
        background-color: #d5d5d5;
        border: none;
        font-size: 16px;
        padding: 0.2rem 0.7rem;
        border-radius: 10px;
        margin-left: 0.5rem;
        margin-right: 0.5rem;
        color: #262626;
    }

.dataTable-organ th {
    background-color: #F5AA2D !important;
    color: white;
    font-size: 14px;
    padding: 10px;
    border: 1px solid #ddd !important;
    text-align: center;
    vertical-align: middle;
}

    .dataTable-organ th span {
        font-size: 9px;
    }

.dataTable-organ td {
    font-size: 14px;
    color: #33394C;
    border: 1px solid #ddd !important;
}

.dataTable-organ .pagination {
    margin: auto;
    text-align: center;
}

    .dataTable-organ .pagination .dt-paging-button.active .page-link {
        background-color: #ED1C25;
        color: white;
    }

    .dataTable-organ .pagination .dt-paging-button .page-link {
        background-color: #d5d5d5;
        border: none;
        font-size: 16px;
        padding: 0.2rem 0.7rem;
        border-radius: 10px;
        margin-left: 0.5rem;
        margin-right: 0.5rem;
        color: #262626;
    }

.view-menu-ing h4 {
    color: #ED1C25;
    font-size: 16px;
    font-family: 'bevietnampro-SemiBold';
    font-weight: 600;
}

.view-menu-ing-deltail {
    font-size: 14px;
    color: #333;
}

    .view-menu-ing-deltail label {
        font-weight: 600;
        margin-top: 3px;
        margin-bottom: 3px;
    }

    .view-menu-ing-deltail input:read-only {
        background-color: #e9ecef;
    }

    .view-menu-ing-deltail td:first-child {
        vertical-align: middle;
    }

    .view-menu-ing-deltail .cost-sumary input {
        max-width: 200px;
    }

.snack-menu {
    font-size: 14px;
    color: #333;
    padding-left: 2rem;
    padding-right: 2rem;
    margin-top: 1.5rem;
}

    .snack-menu h4 {
        color: #ED1C25;
        font-size: 20px;
        font-family: 'bevietnampro-SemiBold';
        margin-bottom: 1rem;
    }

    .snack-menu label {
        font-weight: 600;
        margin-top: 1rem;
        font-size: 16px;
        margin-left: 1.5rem;
    }

    .snack-menu .snack-item {
        border: 1px solid #dddddd;
        border-radius: 8px;
        margin-bottom: 1rem;
    }

        .snack-menu .snack-item .snack-image {
            width: 100%;
            object-fit: cover;
            border-radius: 8px;
            margin: 0.5rem;
            padding-top: 0.5rem;
            padding-bottom: 0.5rem;
            border-radius: 8px;
        }

        .snack-menu .snack-item .btn-recipe {
            width: 200px;
            right: 1rem;
            top: 1rem
        }

        .snack-menu .snack-item .btn-function-item {
            display: grid;
            justify-content: center;
            align-content: center;
            align-items: center;
            justify-items: center;
            margin: 0 1.5rem;
            font-size: 12px;
        }

            .snack-menu .snack-item .btn-function-item:hover,
            .snack-menu .snack-item .btn-function-item.active {
                cursor: pointer;
                color: #ED1C25;
                stroke: #ED1C25;
            }

                .snack-menu .snack-item .btn-function-item:hover svg path,
                .snack-menu .snack-item .btn-function-item.active svg path,
                .snack-menu .snack-item .btn-function-item:hover svg rect,
                .snack-menu .snack-item .btn-function-item.active svg rect {
                    stroke: #ED1C25;
                }

        .snack-menu .snack-item .div-recipe {
            text-align: center;
        }

        .snack-menu .snack-item .label-recipe,
        .snack-menu .snack-item .label-info,
        .snack-menu .snack-item .label-instruct {
            font-weight: 600;
            margin-top: 1rem;
            margin-bottom: 1px;
            font-size: 16px;
            padding: 1rem;
        }

        .snack-menu .snack-item .label-recipe,
        .snack-menu .snack-item .label-info {
            background-color: #D5E0EE;
            position: relative;
        }

            .snack-menu .snack-item .label-recipe span,
            .snack-menu .snack-item .label-info span {
                position: absolute;
                right: 1.5rem;
            }

                .snack-menu .snack-item .label-recipe span:hover,
                .snack-menu .snack-item .label-info span:hover {
                    color: #ED1C25;
                    cursor: pointer;
                }

        .snack-menu .snack-item .label-instruct {
            background-color: #C1E4BF;
        }

        .snack-menu .snack-item .div-info {
            text-align: center;
        }

#selectStudentModal .form-multi-select-search {
    border: none !important;
}

#material-substitution-modal #table-ingredient td:nth-child(3) input {
    text-align: right;
}

#material-substitution-modal #table-ingredient td:nth-child(4) input {
    text-align: right;
}

#material-substitution-modal #table-ingredient td:nth-child(6) input {
    text-align: right;
}

.snack-menu table#table-ingredient td:nth-child() {
}

.deleteYearModal .modal-header {
    color: #ED1C25;
    font-size: 20px;
    font-family: beVietNamPro-Medium;
    background-color: #FFF6F6;
    font-weight: 500;
}

.deleteYearModal .modal-body .form-label {
    font-size: 15px;
}

.deleteYearModal .modal-body .form-check-label {
    font-size: 16px;
}

.deleteYearModal .modal-body .form-check-input {
    width: 16px;
    height: 16px;
    border: 2px solid #9d9d9d;
    margin-right: 0.5rem;
}

    .deleteYearModal .modal-body .form-check-input:checked {
        accent-color: #ED1C25;
        background-color: #ED1C25;
        border-color: #ED1C25;
    }

.check-duplicate-code {
    text-align: start !important;
    color: #ED1C25 !important;
}

.input-disable {
    background-color: #dbdbdb;
}

#table-ingredient .input-disable {
    background-color: transparent;
    border: none;
}

.truncate-name {
    max-width: 140px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.step-1,
.step-2,
.step-3 {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

#table-dub .custom-tooltip::after {
    left: 50px !important;
}

#table-dub .custom-tooltip::after,
#table-dub .custom-tooltip::before {
    border: 0px !important;
    color: #ED1C25 !important;
    background: #FBD0D2 !important;
}

.thumbnailVideo img {
    max-width: 100%;
}

.cost-input {
    font-size: 14px;
    font-weight: 600;
    height: 35px;
}
