﻿:root {
    --avn-screen-width: 1240px;
    --max-height: 550px;
    --breadcrumb-height: 5%;
    --breadcrumb-height-menu: 10%;
    --navigation-tab-height-menu: 10%;
    --avn_content-width: 1160px;
    --avn_content-height: 550px;
    --primary-color: #ed1c25;
    --primary-hover-color: #ed1c25;
    --primary-hover-text-color: #FFFFFF;
    --primary-background-color-hover: #FFF6F6;
}

body {
    background-color: #b2decd;
    background-image: url('/images//navbar/Bg.png'); /* Đường dẫn đến ảnh */
    background-repeat: no-repeat;
    background-size: contain; /* Hoặc cover nếu muốn phủ toàn bộ */
    background-position: bottom center; /* Canh sát dưới và nằm giữa */
    background-attachment: local; /* Hoặc fixed */
    margin: 0;
    height: auto; /* ❗ Hủy bỏ 100vh */
    min-height: 100vh;
}

    body .background_body {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100vw;
        object-fit: cover;
        z-index: -1;
    }

.pen_overlay {
    position: absolute;
    top: 5%;
    right: -5px;
    transform: scale(1.2);
    pointer-events: none;
}

.menu-mobile, .mobile-menu {
    display: none;
}

.with_breadcrumb {
    max-height: calc(100% - var(--breadcrumb-height));
}

.with_breadcrumb_menu {
    max-height: calc(100% - var(--breadcrumb-height-menu));
}

.with_navigation-tab_menu {
    max-height: calc(100% - var(--navigation-tab-height-menu));
}

.avn_body {
    width: var(--avn-screen-width);
    height: 585px;
    margin: 0px auto;
    background: url("../images/book.png") no-repeat center top;
    align-content: center;
    background-size: cover;
    position: relative;
    box-sizing: border-box;
}

.avn_content {
    width: var(--avn_content-width);
    height: var(--avn_content-height);
    margin-left: 40px;
    background-color: #ffffff;
    border-top: 0px solid #d80023;
    border-bottom: 0px solid #d80023;
    border-radius: 8px;
    overflow-x: hidden
}

    .avn_content.avn-content-padding {
        padding: 10px 10px 10px 10px;
    }

    .avn_content .avn_full {
        /*        height: 100%;*/
        display: flex;
        position: relative;
        background-color: #ffffff;
        border-radius: 8px;
    }

    .avn_content .avn_left {
        width: var(--left-width);
        height: var(--left-height);
        margin-top: 27px;
        margin-left: 25px;
        margin-right: 25px;
        border-top: 0px solid #d80023;
        border-bottom: 0px solid #d80023;
        float: left;
        padding-bottom: var(--padding-content);
        position: relative;
        /*overflow: hidden;*/
    }

    .avn_content .avn_right {
        width: var(--right-width);
        height: var(--right-height);
        margin-top: 27px;
        border-top: 0px solid #d80023;
        border-bottom: 0px solid #d80023;
        float: left;
        padding-bottom: var(--padding-content);
        position: relative;
        /*overflow: hidden;*/
    }

.avn_introduce {
    padding-left: 20px;
    margin-right: 285px;
    color: white;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 41px;
    background: url("../images/Background-index.png") repeat-x left top;
}

.description {
    height: 290px;
    font-size: 16px;
    width: 242px;
    float: left;
    color: white;
    padding: 12px 10px;
    margin-top: 2px;
    /* font-weight: bold; */
    background: url("../images/Background-index.png");
    text-align: justify;
    overflow: scroll;
}

.img {
    width: 504px;
    height: 146px;
}

.img-introduce {
    width: 100%;
    object-fit: cover;
}

.img-shadow {
    position: absolute;
}

.category {
    padding: 20px 0;
    margin-left: 265px;
    height: 110px;
}

    .category .title {
        color: #d80023;
        font-size: 20px;
        font-weight: bold;
        text-transform: uppercase;
        line-height: 27px;
    }

    .category .list {
        width: 220px;
        overflow-y: auto;
    }

        .category .list .detail {
            padding-left: 14px;
            background: url("../images/icon/icon-index.png") no-repeat;
            background-position-x: 0;
            background-position-y: 5px;
            color: #6d6e71;
            font-size: 14px;
            line-height: 17px;
            cursor: pointer;
        }

        .category .list div {
            padding-bottom: 5px;
        }

        .category .list hr {
            margin: 0.5rem 0;
        }

        .category .list .detail.active {
            background: url('../images/icon/icon-index-active.png') no-repeat;
            color: #FF0000;
            background-position-x: 0;
            background-position-y: 5px;
        }

.avn_footer {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.avn_signal {
    float: left;
    color: #312920;
    font-size: 17px;
    line-height: 18px;
}

    .avn_signal a {
        padding-right: 7px;
        color: #312920;
        line-height: 18px;
    }

.avn_signal_title1 {
    cursor: pointer;
    float: left;
    margin-left: 73px;
}

.avn_signal_slash {
    float: left;
    display: inline;
    padding-right: 7px;
}

.avn_signal_title2 {
    cursor: pointer;
}

a {
    text-decoration: none !important;
}

/* Font */
.font_patrick {
    font-family: "Patrick Hand", cursive;
}
/* End Font */

/* Header */
/*header {
    width: 1228px;
    margin: 0 auto;
    padding-bottom: 20px;
}*/

.avn_top {
    width: var(--avn-screen-width);
    height: 86px;
    margin-bottom: 20px;
    margin-top: 10px;
    display: flex;
}

.avn_top_logo {
    flex: 1 1 300px;
    display: block;
    width: 100%;
    max-width: 623px;
    height: auto;
    aspect-ratio: 623 / 90;
    background: url("../images/brand/logo.svg") no-repeat left top;
    background-size: contain;
}

    .avn_top_logo a {
        display: block;
        width: 100%;
        height: 100%;
    }

    .avn_top_logo .textTooltip {
        width: 100%;
        height: auto;
        position: relative;
    }

        .avn_top_logo .textTooltip .textContent {
            position: absolute;
            z-index: 1;
            left: 250px;
            top: 78px;
            background-color: black;
            color: #fff;
            text-align: center;
            border-radius: 6px;
            padding: 5px 10px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: all 0.3s ease-in-out;
        }

    .avn_top_logo:hover .textTooltip .textContent {
        visibility: visible;
        position: absolute;
        z-index: 1;
        left: 250px;
        top: 78px;
        background-color: black;
        color: #fff;
        text-align: center;
        border-radius: 6px;
        padding: 5px 10px;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

.avn_clear {
    clear: both;
}

.avn_top_logo2 {
    flex: 1 1 300px;
    width: 540px;
    height: 90px;
    float: left;
    margin-left: 7rem;
    padding-left: 2rem;
    border-radius: 10px;
    display: flex;
    background-color: white;
}

    .avn_top_logo2 a {
        border: none;
        width: 170px;
        display: flex;
        justify-content: center;
        align-items: end;
        color: #333;
        font-weight: 900;
        font-family: beVietNamPro-SemiBold;
    }

        .avn_top_logo2 a label {
        }

        .avn_top_logo2 a#logo_bgd {
            background: url(../images/brand/bo_gd_dt.png) no-repeat center center;
            background-size: contain;
        }

        .avn_top_logo2 a#logo_aji {
            background: url(../images/brand/logo-ajinomoto.png) no-repeat center center;
            background-size: contain;
        }

        .avn_top_logo2 a#logo_vdd {
            background: url(../images/brand/logo_large.png) no-repeat center center;
            background-size: contain;
        }

.avn_menu {
    width: 100%;
}

.avn_menu_left {
    width: 10px;
    height: 47px;
    margin-left: -10px;
    float: left;
    background: url("../images/navbar/menu-left.svg") no-repeat left top;
}

.avn_menu_mid {
    font-size: 1.4rem;
    width: 1150px;
    background: url(../images/navbar/nav-mid.png) repeat-x left top;
}

    .avn_menu_mid .menu-text {
        color: white !important;
    }


    .avn_menu_mid .navigation {
        position: relative;
        transition: color 0.3s ease;
        height: 47px;
        padding: 0 0.5rem;
        border-right: 1px dashed #fff;
        float: left;
        color: #fff;
        text-align: center;
        line-height: 47px;
    }

        .avn_menu_mid .navigation .avn_menu-active,
        .avn_menu_mid .navigation:hover, .avn_login:hover, .menu-notification-icon:hover {
            background: url("../images/navbar/nav-mid-active.png") repeat-x left top;
        }

        .avn_menu_mid .navigation .sub_menu {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            background-color: #fff;
            border: 1px solid #ddd;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            z-index: 10;
            min-width: 200px;
            text-align: left;
            color: #000;
            white-space: nowrap
        }

            .avn_menu_mid .navigation .sub_menu a {
                display: block;
                color: #404557;
                font-family: beVietNamPro-SemiBold;
                font-size: 12px;
                white-space: nowrap;
                padding: 0rem 1rem;
                font-weight: 600;
            }

                .avn_menu_mid .navigation .sub_menu a:hover {
                    background-color: #FFF6F6;
                    color: #ed1c25;
                }

        .avn_menu_mid .navigation:hover .sub_menu {
            display: block;
        }

    .avn_menu_mid .homeMenu {
        padding-left: 0.1rem;
        padding-right: 0.1rem;
    }

.avn_menu .Icon_home {
    width: 5rem;
    height: 5rem;
    cursor: pointer;
    margin-left: 0px;
    margin-top: -5px;
}

.avn_menu_userName {
    margin-left: -1px;
    padding-left: 0px;
    padding-right: 0px;
    float: left;
    height: 47px;
    position: relative;
}

    .avn_menu_userName .menu-search {
        display: flex;
        justify-content: center;
        align-items: center;
    }

        .avn_menu_userName .menu-search:hover {
            background: url("../images/navbar/nav-mid-active.png") repeat-x left top;
        }

    .avn_menu_userName .menu-icon-search {
        color: #db0012;
        background-color: white;
        border-radius: 30px;
        padding: 6px 6px 6px 6px;
        font-size: 16px;
    }

    .avn_menu_userName .menu-noti-icon {
        color: white;
        font-size: 2rem;
        margin: auto;
    }

        .avn_menu_userName .menu-noti-icon:hover {
            background: url("../images/navbar/nav-mid-active.png") repeat-x left top;
        }

    .avn_menu_userName .menu-noti-count {
        color: white;
        position: absolute;
        top: 0.2rem;
        left: 2rem;
        border: solid 1px #fff;
        border-radius: 30px;
        padding: 0 5px;
        font-weight: 600;
        font-size: 0.9rem;
        background-color: #da0012;
    }

.avn_unLogin {
    display: flex;
    justify-content: center;
    align-items: center;
}

.avn_menu_userName .avn_button_menu {
    font-size: 1.4rem;
    color: white;
    border: none;
    white-space: nowrap;
    border-radius: 15px;
}

    .avn_menu_userName .avn_button_menu:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 10px #312920;
        border-radius: 15px;
    }

.avn_login {
    background-color: transparent;
    font-size: 1rem;
    color: white;
    padding: 0.2rem 0;
    display: grid;
    grid-template-columns: 30px auto;
    height: 47px;
}

    .avn_login span {
        font-size: 10px;
    }

    .avn_login label {
        font-size: 14px;
        font-weight: 600;
        white-space: nowrap;
    }

.avn_menu_right {
    width: 10px;
    height: 47px;
    background: url("../images/navbar/nav-right.png") no-repeat left top;
}

.section-title {
    color: #D60000;
    font-weight: bold;
    font-size: 18px;
    position: relative;
    display: block;
    margin: 0; /* Bỏ margin mặc định của h5 */
}

.sub-title {
    color: #D60000;
    font-weight: bold;
    position: relative;
    display: block;
    margin: 0; /* Bỏ margin mặc định của h5 */
    font-family: "Patrick Hand", cursive;
}

.title-border {
    border-bottom: 2px solid transparent; /* Ensures a border exists */
    box-shadow: 0 4px 2px -2px gray;
    width: 100%;
}

.divider, .custom-border-bottom {
    box-shadow: 0 4px 2px -2px gray;
    margin-bottom: 5px;
}

.divider {
    width: 90%;
    margin: 20px auto;
    height: 10px;
}

.custom-border-bottom {
    border-bottom: 2px solid transparent; /* Đảm bảo có border */
    box-shadow: 0 4px 2px -2px gray;
}

.news-title {
    color: #d80023;
    font-size: 15px;
    text-transform: uppercase;
    line-height: 27px;
    border-bottom: 0.8px;
    border-color: #D5CFCF;
}

.scrollable-content-left {
    width: 100%;
    max-width: var(--left-width); /* Đặt chiều rộng tối đa nếu cần */
    height: calc(var(--left-height) - 60px);
    overflow-y: auto; /* Tạo thanh cuộn dọc khi nội dung vượt quá chiều cao */
    box-sizing: border-box;
}

.scrollable-content-right {
    width: 100%;
    max-width: var(--left-width); /* Đặt chiều rộng tối đa nếu cần */
    height: calc(var(--right-height) - 60px);
    overflow-y: auto; /* Tạo thanh cuộn dọc khi nội dung vượt quá chiều cao */
    box-sizing: border-box;
}

.news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-img {
    width: 100%;
    object-fit: cover;
}

.img-description {
    font-weight: 400;
    font-size: 15px;
    line-height: 19px;
    text-align: center;
    font-family: "Patrick Hand", cursive;
}

.back-button-row {
    justify-content: flex-end; /* Căn nút về phía bên phải */
    padding-right: 10px; /* Tạo khoảng cách nhỏ với lề phải */
}

.btn-back {
    color: #f8f9fa;
    display: inline-flex;
}

    .btn-back i {
        margin-right: 8px;
        font-size: 23px;
    }

.label-required::before {
    content: '*';
    color: red;
    margin-right: 5px;
}

.select2 {
    width: 100% !important;
}

@media (min-width: 1400px) {
    .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
        max-width: 1320px;
    }
}

.play-button-container {
    opacity: .9;
    cursor: pointer;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%)
}

.play-button-circle {
    animation: oneclick-circle-anim 1.2s ease-in-out 0s infinite normal none running;
    background-color: transparent;
    border: 4px dashed #fff;
    border-radius: 100%;
    height: 80px;
    width: 80px;
    top: -10px;
    left: -10px;
    opacity: .1;
    position: absolute;
    transform-origin: 50% 50% 0;
    transition: all .5s ease 0s;
}

.play-button-img {
    width: 60px;
    opacity: 1;
    cursor: pointer;
}

@keyframes oneclick-circle-anim {
    0% {
        opacity: .1;
        transform: rotate(0deg) scale(.5) skew(1deg)
    }

    30% {
        opacity: .5;
        transform: rotate(0deg) scale(.7) skew(1deg)
    }

    to {
        opacity: .1;
        transform: rotate(0deg) scale(1) skew(1deg)
    }
}


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

::-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 */
    }

.breadcrumb {
    --cui-breadcrumb-item-active-color: #9BA0A5;
    --cui-breadcrumb-divider-color: #9BA0A5;
    font-weight: 500;
    font-size: 1.3rem;
    --cui-btn-active-border-color: #0F44A0;
}

    .breadcrumb .active {
        color: #ED1C25;
    }

    .breadcrumb a {
        color: #717682;
        text-decoration: none;
    }

        .breadcrumb a:hover {
            color: #ed1c25;
        }

#dropdown-search {
    transform: translate3d(0px, 49.3333px, 0px);
    position: absolute;
    top: 15px !important;
    right: 30px !important;
    width: 700px !important;
    font-family: var(--cui-font-sans-serif);
}

    #dropdown-search .input-group {
        padding: 1rem 1rem;
        display: flex;
        justify-content: space-around;
    }

    #dropdown-search .btn {
        margin: 0 1rem;
        border-radius: 15px;
    }

        #dropdown-search .btn:hover {
            color: red;
            background-color: snow;
        }

    #dropdown-search .form-control {
        font-size: 1.4rem;
    }

.icon-close {
    color: red;
}

::placeholder {
    color: #808080 !important;
    opacity: 1; /* Đảm bảo màu hiển thị đầy đủ */
}

.list-articles-wrapper {
    overflow: hidden;
    box-shadow: 0px 0px 11.38px #E6E6E6;
    border: 1px solid #FBD0D2;
    border-radius: 12px;
    height: 100%;
}
/* Viền ngoài cùng bo góc màu đỏ */
.list-articles {
    padding: 10px;
    max-height: 100%;
    overflow-y: auto;
    height: inherit !important;
}

    /* Card bài viết */
    .list-articles .card {
        border-radius: 12px;
        box-shadow: 0px 0px 11.38px 0px #E6E6E6;
        transition: all 0.3s ease-in-out;
        background-color: #fff;
    }

        /* Hiệu ứng hover cho card */
        .list-articles .card:hover {
            background-color: #ffe5e5; /* Màu nền nhạt khi hover */
            color: #d00;
        }

.article-title {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Giới hạn 2 dòng */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal; /* Giữ text tự động xuống dòng */
    font-size: 14px;
    line-height: 20px;
}

/* Tiêu đề trong card */
.list-articles .card:hover .article-title {
    color: #d00;
}

/* Hình ảnh trong card */
.article-image {
    width: 103px;
    height: 103px;
    border-radius: 8px;
    border: 1px solid #EFEEEE; /* Viền hình ảnh */
    object-fit: contain; /* Đảm bảo hình ảnh không bị méo */
    background-color: #fff;
}

.artile-image-unknow {
    width: 103px;
    height: 103px;
    border-radius: 8px;
    border: 1px solid #EFEEEE; /* Viền hình ảnh */
    object-fit: contain; /* Đảm bảo hình ảnh không bị méo */
    background-color: #C4C4C4;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .artile-image-unknow i {
        color: #6b7084;
        font-size: 40px;
    }

/* Nút "Xem thêm" */
.btn-view-more {
    background-color: white;
    color: #ED1C25;
    padding: 6px 16px;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
    border: 2px solid #ED1C25;
    gap: 8px;
    border-radius: 4px;
    border-width: 1px;
    padding-right: 8px;
    padding-left: 8px;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
}

    .btn-view-more:hover {
        background-color: #d00;
        border-color: #d00;
        color: white;
    }

.back-btn {
    margin-top: 20px;
}

.article-container {
    overflow-y: auto;
    padding: 20px;
}

    .article-container .article-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.article-detail-title {
    --font-size: 20px;
    font-weight: 600;
    font-size: var(--font-size);
    line-height: calc(var(--font-size) * 3 / 2);
    color: #ED1C25;
}

.article-detail-img {
    width: 150px;
    height: 150px;
    border-radius: 4px;
    object-fit: cover; /* Đảm bảo hình ảnh không bị méo */
    gap: 10px;
    box-shadow: 0px 0px 10px 0px #747070;
}

.article-detail-short-description {
    font-weight: 500;
    font-style: italic;
    font-size: 14px;
    line-height: 20px;
    color: #ED1C25;
}

.article-detail-btn {
    align-items: center;
    gap: 12px;
    border-radius: 38px;
    padding: 8px 12px;
    background-color: #d00;
    font-weight: 500;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    color: white;
}

    .article-detail-btn:hover {
        transform: translateY(-2px);
        Nhẹ nhàng nâng lên box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
        background-color: #EFEEEE;
        border-color: #d00;
        color: #ED1C25;
    }

.btn-article-back {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 10px 20px;
}

/* Hiệu ứng khi click */
.article-detail-btn:active {
    transform: scale(0.95);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
/* Hiệu ứng khi click */
.article-detail-btn:active {
    transform: scale(0.95);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sidebar-nav {
    --cui-sidebar-nav-padding-x: 0;
    --cui-sidebar-nav-padding-y: 0;
}

/* Viền đỏ và bo tròn menu */
.sidebar {
    border: 1px solid #FBD0D2;
    border-radius: 12px;
    width: 100%;
    max-height: 100%;
    overflow: auto;
    box-shadow: 0px 0px 11.38px #E6E6E6;
}

    .sidebar::-webkit-scrollbar {
        border-radius: 12px;
        margin-right: 2px;
    }

    .sidebar::-webkit-scrollbar-thumb {
        border-radius: 12px;
    }

.sidebar-nav .nav-link:hover {
    background: #ed1c25 !important;
    color: white;
}

/* Viền dưới cho từng mục trong menu */
.sidebar-nav .nav-item,
.sidebar-nav .nav-group {
    border-radius: 0;
}

/* Xóa đường viền của nav-link bên trong nav-group */
.sidebar-nav .nav-group-items .nav-item {
    border-bottom: none;
    margin-bottom: 0;
}

.sidebar-nav .nav-link {
    white-space: normal;
    word-wrap: break-word;
    --cui-sidebar-nav-link-border-radius: 0;
}

    /* Khi active */
    .sidebar-nav .nav-link.active {
        background-color: unset; /* Màu nền khi chọn */
        color: #ED1C25; /* Màu chữ khi chọn */
        /* border-radius: 5px; /* Bo góc nhẹ */ */
    }

        .sidebar-nav .nav-link.active:hover {
            color: white; /* Màu chữ khi chọn */
        }

/* Tăng kích thước chữ và độ đậm */
.sidebar-nav .nav-link,
.sidebar-nav .nav-group-toggle {
    /*font-size: 16px;*/ /* Kích thước lớn hơn */ /*Kích thước cũ*/
    font-size: 14px; /* Kích thước mới khách hàng yêu cầu */
    font-weight: 500; /* Độ đậm hơn */
}

.sidebar-nav .nav-group.show > .nav-group-toggle {
    background-color: #ED1C25; /* Nền đỏ */
    color: white; /* Chữ trắng */
}

    .sidebar-nav .nav-group.show > .nav-group-toggle::after {
        background-color: #ffffff !important;
        transform: scale(1.5) rotate(-180deg);
        transform-origin: center;
    }

.sidebar-nav .nav-group-toggle::before,
.sidebar-nav .nav-group-toggle::after {
    transform: scale(1.5);
    transform-origin: center;
}

/* Khi có class is-qna */
.sidebar-nav .nav-group.show > .nav-group-toggle.is-qna {
    background-color: white; /* Nền trắng */
    color: black; /* Chữ đen */
}

    .sidebar-nav .nav-group.show > .nav-group-toggle.is-qna:hover {
        color: white;
    }

    .sidebar-nav .nav-group.show > .nav-group-toggle.is-qna::after {
        background-color: black !important;
    }

    .sidebar-nav .nav-group.show > .nav-group-toggle.is-qna:hover::after {
        background-color: white !important;
    }


/* Nền cho các mục con */
.sidebar-nav .nav-group.show .nav-group-items {
    background-color: #fdeced; /* #FBD0D266 - 40% */
    border-radius: 4px; /* Bo tròn nhẹ */
    padding: 5px; /* Khoảng cách bên trong */
}

.sidebar-nav .nav-group-toggle::after {
    padding-left: 12px;
}

.nav-item-border {
    width: 86%;
    border-bottom: 0.5px solid #EFEEEE;
    margin: auto;
}

.sidebar-nav .nav-link:hover.nav-group-toggle::after {
    background-color: #ffffff !important;
}

.breadcrumb-item + .breadcrumb-item::before {
    float: left;
    padding-right: var(--cui-breadcrumb-item-padding-x);
    color: var(--cui-breadcrumb-divider-color);
    font-weight: 900;
    font-family: 'Font Awesome 6 Free';
    content: var(--cui-breadcrumb-divider, "\f105");
}

.pin-badge {
    position: absolute;
    z-index: 2;
    top: 0px;
    right: 0px;
    background-color: var(--primary-color);
    color: white;
    font-size: 14px;
    padding: 8px;
    border-radius: 8px;
    width: 28px;
    height: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}

.pinned-article {
    border: 2px solid var(--primary-color);
    box-shadow: 0px 4px 10px rgba(237, 28, 37, 0.5);
    animation: glow 1.5s infinite alternate;
    background-color: rgba(237, 28, 37, 0.1);
}

@keyframes glow {
    0% {
        box-shadow: 0px 4px 10px rgba(237, 28, 37, 0.5);
    }

    100% {
        box-shadow: 0px 4px 20px rgba(237, 28, 37, 0.8);
    }
}

.no-permission-message {
    text-align: center;
    height: 100%;
    align-content: center;
    font-size: 20px;
}

.header-container {
    max-width: 100%;
    margin: 0;
    margin-bottom: 2vh;
    justify-items: center;
}

@media (max-width: 1200px) {
    .header-container {
        display: flex;
        flex-direction: column;
    }
}

/* For Edge/IE */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none;
}

/* For Chrome (experimental, may not always be needed) */
input[type="password"]::-webkit-credentials-auto-fill-button,
input[type="password"]::-webkit-textfield-decoration-container {
    display: none !important;
}

.password-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

    .password-wrapper input[type="password"],
    .password-wrapper input[type="text"].password-visible {
        width: 100%;
        padding-right: 40px; /* extra space for FA icon */
    }

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 16px;
    color: #666;
}

.is-invalid ~ .password-toggle {
    top: 32%;
}

.alert-description {
    max-width: 400px;
    line-height: 1.7;
}
