/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 25-Jan-2021, 09:55:48
    Author     : quang
*/
@import url('../fonts/be-vietnam-pro/be-vietnam-pro.css');
.menu-w.sub-menu-style-over .sub-menu-w>ul>li>a:before, .menu-w.sub-menu-style-over .sub-menu-w .sub-menu-i>ul>li>a:before {
    display: none !important;
}
.menu-w.sub-menu-style-over .sub-menu-w>ul>li>a, .menu-w.sub-menu-style-over .sub-menu-w .sub-menu-i>ul>li>a {
    padding: 0px;
}

.sub-menu-i ul{
    min-width: 205px !important;
}
/* ============================================================== */
.resetClass {
    max-width: 410px !important;
}
.hidden{
    display: none !important;
}
* {
    margin: 0;
    padding: 0;

}

body {
    height: 100vh;
    background: #fff;
    font-family: 'Be Vietnam Pro', 'Open Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 14px;
}
/* ===== ĐỒNG NHẤT FONT TOÀN SITE: Be Vietnam Pro (đè font theme cho tiêu đề/nút/form; KHÔNG đụng icon FontAwesome/themify/osfont) ===== */
body, h1, h2, h3, h4, h5, h6, p, a, label, li, td, th, .title, .card-title,
input, textarea, select, button, .btn, .form-control {
    font-family: 'Be Vietnam Pro', 'Open Sans', system-ui, -apple-system, 'Segoe UI', sans-serif !important;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-center-x {
    display: flex;
    justify-content: center;
}

.flex-center-y {
    display: flex;
    align-items: center;
}

.justify-content {
    justify-content: space-between;
}

.cursor-pointer {
    cursor: pointer;
}

.hide {
    display: none;
}

.mh-100-vh {
    min-height: 100vh !important;
}

.table-responsive table {
    min-width: 1000px;
}

.no-event {
    pointer-events: none;
}

/* ============================================================== */

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 32px;
    height: 20px;
    margin: 0;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
}

/* The slider */
.switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.switch .slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #24b314;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(12px);
    -ms-transform: translateX(12px);
    transform: translateX(12px);
}

/* Rounded sliders */
.switch .slider.round {
    border-radius: 34px;
}

.switch .slider.round:before {
    border-radius: 50%;
}

/* ============================================================== */

.text-warning {
    color: #ffc107 !important;
}

.text-danger {
    color: #dc3545 !important;
}

.text-info {
    color: #17a2b8 !important;
}

.text-primary {
    color: #007bff !important;
}

.text-success {
    color: #28a745 !important;
}

.text-secondary {
    color: #6c757d !important;
}

.text-dark {
    color: #222222 !important;
}

.text-black {
    color: #000 !important;
}

.text-white {
    color: #fff !important;
}

/* ============================================================== */

.select2-selection__rendered {
    line-height: 40px !important;
}
.select2-container .select2-selection--single {
    height: 40px !important;
    border-width: 1px;
}
.select2-selection__arrow {
    height: 40px !important;
}
.select2-selection--multiple{
    overflow: hidden !important;
    height: auto !important;
}

input.form-control.form-control-sm, select.form-control.form-control-sm {
    height: 40px !important;
    padding-left: 15px;
}


/* ============================================================== */

.btn-warning {
    color: #fff;
    background-color: #ffc107 !important;
    border-color: #ffc107 !important;
}

.btn-danger {
    color: #fff;
    background-color: #E65252!important;
    border-color: #E65252!important;
}

.btn-info {
    color: #fff;
    background-color: #17a2b8 !important;
    border-color: #17a2b8 !important;
}

.btn-primary {
    color: #fff;
    background-color: #007bff !important;
    border-color: #007bff !important;
}

/*.btn-success {
    color: #fff;
    background-color: #28a745 !important;
    border-color: #28a745 !important;
}*/

.btn-secondary {
    color: #fff;
    background-color: #6c757d !important;
    border-color: #6c757d !important;
}

.btn-dark {
    color: #fff;
    background-color: #222222 !important;
    border-color: #222222 !important;
}

.btn-black {
    color: #fff;
    background-color: #000 !important;
    border-color: #000 !important;
}

.btn-white {
    color: #000;
    background-color: #fff !important;
    border-color: #fff !important;
}


/* ============================================================== */

.btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out
}

.btn-sm{
    padding:.25rem .5rem;
    font-size:.875rem;
    line-height:1.5;
    border-radius:.2rem
}
.detailClass{
    max-width: 90% !important;
    margin: 0 auto;
    height: 600px !important;
    margin-top: 30px !important;
    margin-bottom: 30px !important;
}
/* ============================================================== */



/*loading css*/

#loading {
    position: fixed;
    z-index: 99999;
    background: #ffffffe6;
    height: 100%;
}

#loader4 {
    height: 100px;
    width: 260px;
    position: relative;
    top: 50%;
    left: 50%;
    margin-top: -50px;
    margin-left: -130px;
}

#loader4 .loader {
    background: #ccc;
    width: 40px;
    height: 40px;
    border-radius: 24px;
    display: inline-block;
    position: absolute
}

#loader4 .loader-1 {
    animation: animateDot1 1.5s linear infinite;
    left: 130px;
    background: #f73138
}

#loader4 .loader-2 {
    background: #00b733;
    left: 60px;
    animation: animateDot2 1.5s linear infinite;
    animation-delay: .5s
}

#loader4 .loader-3 {
    background: #448afc;
    left: 130px;
    animation: animateDot3 1.5s linear infinite
}

#loader4 .loader-4 {
    background: #950faf;
    left: 60px;
    animation: animateDot4 1.5s linear infinite;
    animation-delay: .5s
}

@keyframes animateDot1 {
    0% {
        transform: rotate(0) translateX(-60px)
    }
    25%,
    75% {
        transform: rotate(180deg) translateX(-60px)
    }
    100% {
        transform: rotate(360deg) translateX(-60px)
    }
}

@keyframes animateDot2 {
    0% {
        transform: rotate(0) translateX(-70px)
    }
    25%,
    75% {
        transform: rotate(-180deg) translateX(-70px)
    }
    100% {
        transform: rotate(-360deg) translateX(-70px)
    }
}

@keyframes animateDot3 {
    0% {
        transform: rotate(0) translateX(60px)
    }
    25%,
    75% {
        transform: rotate(180deg) translateX(60px)
    }
    100% {
        transform: rotate(360deg) translateX(60px)
    }
}

@keyframes animateDot4 {
    0% {
        transform: rotate(0) translateX(60px)
    }
    25%,
    75% {
        transform: rotate(-180deg) translateX(60px)
    }
    100% {
        transform: rotate(-360deg) translateX(60px)
    }
}





/* ============================================================== */

.bag-success {
    background: #78C2A4;
}

.bag-danger {
    background: #FD8181;
}

.bag-warning {
    background: #F0AE4F;
}

.bag-primary {
    background: #4FBAF3;
}

.bag-info {
    background: #4FBAF3;
}

/* ============================================================== */

.btn-info--custom {
    background: #3351C1;
    transition: 0.5s;
}
.btn-info--custom:hover {
    background: #4B6BE1;
    transition: 0.5s;
    color:#fff;
}

.btn-primary--custom {
    background: #3351C1;
    transition: 0.5s;
}
.btn-primary--custom:hover {
    background: #4B6BE1;
    transition: 0.5s;
    color:#fff;
}

.btn-danger--custom {
    background: #E65252;
    transition: 0.5s;
}
.btn-danger--custom:hover {
    background: #F96767 !important;
    transition: 0.5s;
    color:#fff;
}

.btn-warning--custom {
    background: #F0AE4F;
    transition: 0.5s ;
}

.btn-warning--custom:hover {
    background: #E9A442;
    color:#fff;
}

.btn-success--custom {
    background: #42B867;
    color:#fff;
}
.btn-success--custom:hover {
    background: #51CB78;
    transform-origin:none !important;
    color:#fff;
}
.btn-cancel--custom {
    background: #717C98;
    color:#fff;
}
.btn-cancel--custom:hover {
    background: #717C98;
    transform-origin:none !important;
    color:#fff;
}
.css-dropdown--account{
    transition: 0.5s;
}
#tbListUser .row-actions:hover i,#tbList .row-actions:hover i,table .row-actions:hover i,#tblListGroup .row-actions:hover i{
    color: #3351C1;
}

.input-checkbox__action,.check-all-users{
    position: absolute;
    left: 0;
    z-index: -1;
    width: 1rem;
    height: 1.2rem;
    opacity: 0;
}


.custom-control-label:after {
    position: absolute;
    top: 4px;

    left: -18px;
    display: block;
    width: 6px;
    height: 10px;
    content: "";
    background: no-repeat 50%/50% 50%;
    border: solid white;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate( 
        45deg
        );
}
.custom-control-label::before {
    position: absolute;
    top: .2rem;
    left: -1.5rem;
    display: block;
    width: 1rem;
    height: 1rem;
    pointer-events: none;
    content: "";
    background-color: #fff;
    border: #d6dbeb solid .0625rem;
}
.custom-checkbox .custom-control-label::before {
    border-radius: 2px;
}

.check-one-all{
    opacity: 0;
}
.top-bar .dropdown-menu{
    right: 0 !important;
    left: auto !important;
    top:45px !important;
}
.hover--option:hover{
    background: #EBF2FF;
    transition: 0.2s ease-in-out;
}

.table.table-padded tbody tr:hover {
    box-shadow: 0px 1px 2px rgb(0 0 0 / 10%);
    -webkit-transform: none;
    transform: none;
}
.input-checkbox__action:checked~.custom-control-label::before,.input-checkbox:checked~.custom-control-label::before,.check-all-users:checked~.custom-control-label::before,.check-all-dataset:checked~.custom-control-label::before {
    color: #fff;
    border-color: #3351c1;
    background-color: #3351c1;
}
.btn-secondary--custom {
    background: #717C98;
    transition: 0.5s;
}
.btn-secondary--custom:hover {
    background: #838FAE;
    transition: 0.5s;
    color: #fff;
}

.btn-dark--custom {
    background: #292B2C;
    transition: 0.5s;
}
.btn-dark--custom:hover {
    background: #3A3C3D;
    transition: 0.5s;
    color: #fff;
}
.header-link{
    display: flex;
    justify-content: space-between !important;
}
.header-link svg{
    margin-left: 8px;
    margin-right: 8px;
}
.header-link span{
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 150%;
    color:#677788;
}
.header-link > a:nth-child(2){
    display: flex;
    align-items: center;
}
.border-bot{
    border: 1px solid #f8f9fa;
    /* padding-left: 38px; */
    margin-left: 20px;
    margin-right: 20px;
}
.dropdown-menu{
    transition: 0.2s !important;
}
/*input[type='checkbox'] { 
    height:16px;
    width:16px;
   opacity: 0.8;
}*/
.tag-link {
    display: flex;
    font-style: normal;
    font-weight: normal;
    font-size: 13px;
    line-height: 150%;
    transform: matrix(1, 0, 0, -1, 0, 0);
    color: #677788;
}
.tag-link a{
    color:#677788 !important;
}
/* ===== Đồng hồ ngày–giờ ở breadcrumb — dạng pill, làm đẹp ===== */
.header-link > a:nth-child(2){
    gap: 8px;
    font-size: 13px;
    padding: 5px 14px 5px 12px;
    background: #EEF3FB;
    border: 1px solid #DCE3EF;
    border-radius: 999px;
    cursor: default;
    box-shadow: 0 1px 2px rgba(15,23,42,.05);
}
.header-link > a:nth-child(2) svg{ margin: 0 !important; }
.header-link > a:nth-child(2) svg path{ stroke: #1F6FDD; }
.header-link > a:nth-child(2) svg rect{ fill: #C4D2E8; }
.header-link > a:nth-child(2) .time{
    font-weight: 700 !important;
    color: #123F8F !important;
    font-variant-numeric: tabular-nums;
    font-feature-settings: 'tnum';
    letter-spacing: .3px;
}
.header-link > a:nth-child(2) .date{
    font-weight: 600 !important;
    color: #37415B !important;
    font-variant-numeric: tabular-nums;
}
table input[type='checkbox']{
    margin-left: 16px;
}
.iziToast-message{
    color:#fff !important;
    font-style: normal;
    font-size: 15px;
    line-height: 24px;
}
.size-16-icon{
    font-size: 16px;
}
.dropdow-menu-user{
    font-style: normal;
    font-weight: normal;
    /* font-size: 13px; */
    line-height: 24px;
    color: #5C6373;
}
.logout{
    font-style: normal;
    font-weight: 600;
    /* font-size: 13px; */
    line-height: 24px;
    color: #E65252;
}
.object-img{
    display: flex;
    /* align-items: baseline; */
    /* top: 0; */
    justify-content: flex-end;
    position: relative;
    align-items: flex-end;
}
input[type='text'], input[type='password'], textarea,select{
    padding-left: 15px;
    width: 100%;
}
.font-template{
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    color: #333333;
}
.showing-count p {
    color: #414141;
    font-weight: normal;
    font-size: 13px;
    line-height: 18px;
}
.custom-btn span{
    font-style: normal;
    font-weight: 500;
    font-size: 13px;    
    line-height: 24px;
}
.custom-btn{
    display: flex;
    align-items: center;
    justify-content: center;
}
.custom-btn svg{
    margin-right: 9px;
}
.select2-selection__rendered{
    padding-left: 15px !important;
}
/* ================     izToast   ================================*/
.iziModal .iziModal-button-close {
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzYiIGhlaWdodD0iMzYiIHZpZXdCb3g9IjAgMCAzNiAzNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCjxjaXJjbGUgY3g9IjE4IiBjeT0iMTgiIHI9IjE4IiBmaWxsPSIjRUJGMkZGIi8+DQo8cGF0aCBkPSJNMjIgMTRMMTQgMjIiIHN0cm9rZT0iIzcxN0M5OCIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4NCjxwYXRoIGQ9Ik0xNCAxNEwyMiAyMiIgc3Ryb2tlPSIjNzE3Qzk4IiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPg0KPC9zdmc+);
    background-size: 100%!important;
    opacity: 1;
}
.iziModal .iziModal-header {
    border-bottom: 1px solid #ECEFF6;
}
.iziModal .iziModal-header {
    background: #fff !important;
    box-shadow: none;
    margin: auto;
    padding: 15px 15px 20px 30px !important;
}
.iziModal .iziModal-header-title {
    color: black;
    font-family: Open Sans;
    font-style: normal;
    font-weight: 600 !important;
    font-size: 18px !important;
    line-height: 25px;
}   
.iziModal-header-buttons{
    padding-right:5px;
}

/* ============================================================== */

input, 
select, 
textarea {
    font-style: normal !important;
    font-weight: normal !important;
    font-size: 13px;
    line-height: 150%;
    font-feature-settings: 'tnum' on, 'lnum' on;
    color: #677788 !important;
}

/* ============================================================== */
/* ============================================================== */


@media (min-width: 1660px) {}

@media (min-width: 1200px) {}

@media only screen and (max-width: 1199px) and (min-width: 992px) {}

@media only screen and (max-width: 991px) and (min-width: 768px) {}

@media only screen and (max-width: 767px) and (min-width: 576px) {}

@media (max-width: 575px) {}



.footer-admin .btn:not(:disabled):not(.disabled) {
    cursor: auto !important;
}


.select2-selection__rendered{
    cursor: pointer;
}


/*-------CSS MODAL-------------*/
.form-title{
    text-align: center;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 24px;
    color: #222222;

}
.resetClass {
    max-width: 410px !important;
}
.iziModal {
    border-radius: 10px !important;
    border-bottom: none !important;
}

#main_nav{
    margin-left: 160px;
}
.menu-mobile{
    display: none;
}

.nav-right-acc {
    margin-left: 10px;
}
.nav-right-acc label{
    font-size: 13px;
}
/* Chip 2 dong (AccountChipService, 2026-10-26): label.nav-link cua chip kieu ".session" — dung chung cho dau trang
   KIEU CU cong khai (.lc-top-ck, 9 trang: gioi-thieu, tin-tuc...) VA dau trang QUAN TRI (admin/viewpart/TopNav.html).
   Chuoi ".nav-item.dropdown label.nav-link.lc-acc-2l" de thang luat max-width:170px/nowrap noi tuyen o TopNav quan tri.
   Ngan keo dien thoai (<= 1200px, nen trang chu sam) chinh mau o khoi @media cua .lc-nav-qt / .lc-nav-ck phia duoi. */
.top-bar .session .nav-item.dropdown label.nav-link.lc-acc-2l {
    max-width: 260px;
    white-space: normal;
    overflow: hidden;
    line-height: 1.2 !important;
}
.top-bar .session .lc-acc-txt { display: block; min-width: 0; text-align: left; }
.top-bar .session .lc-acc-name {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
/* Co chu TUONG DOI + !important, chuoi 5 lop (0,5,0): "Cau hinh mau sac & font" (main.js headerFontSize) tiem
   ".top-bar.top-bar .bottom__header.bottom__header *{font-size:..!important}" (0,4,0) ep moi phan tu thanh dau trang. */
.top-bar .session .lc-acc-org {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    margin-top: 1px;
    font-weight: 500;
    line-height: 1.3;
}
.top-bar .bottom__header .session .nav-item .lc-acc-org { font-size: .78em !important; }
.top-bar .bottom__header .session .nav-item .lc-acc-orgname { font-size: inherit !important; }
.top-bar .bottom__header .session .nav-item .lc-acc-st { font-size: .9em !important; }
.top-bar .session .lc-acc-orgname { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; opacity: .82; }
.top-bar .session .lc-acc-st {
    flex: none;
    font-style: normal;
    font-weight: 700;
    line-height: 1.45;
    padding: 0 5px;
    border-radius: 999px;
    background: #FFC861;
    color: #5A3A00 !important;
}
.top-bar .session .lc-acc-st.off { background: #F6C4C4; color: #7A1F1F !important; }
@media (max-width: 1200px) {
    .lc-nav-ck .navbar-nav.session .lc-acc-name,
    .lc-nav-qt .navbar-nav.session .lc-acc-name { font-size: 14px; }
    .lc-nav-ck .navbar-nav.session .lc-acc-org,
    .lc-nav-qt .navbar-nav.session .lc-acc-org { align-items: flex-start; line-height: 1.3; margin-top: 2px; }
    /* ngan keo nen trang: chu phu xam thay cho trang mo; dien thoai khong re chuot xem title -> toi da 2 dong thay vi cat */
    .lc-nav-ck .navbar-nav.session .lc-acc-orgname,
    .lc-nav-qt .navbar-nav.session .lc-acc-orgname {
        color: #5A6478; opacity: 1;
        display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; white-space: normal;
    }
}
/* Huy hieu vai tro (2026-10-27, USER_TYPE.headerBadge -> AccountChipService.badgeHtml) trong span.object-img cua chip
   ".session" (quan tri + dau trang KIEU CU cong khai). TopNav quan tri an MOI svg trong .object-img (cham xanh online,
   chuoi 0,3,1 !important) -> chuoi 0,4,1 de svg cua huy hieu van hien. Huy hieu dung truoc cham xanh nen "+ svg" an
   cham xanh khi co huy hieu (cung o goc phai duoi). */
.object-img .lc-acc-badge {
    position: absolute; right: -3px; bottom: -3px; z-index: 1;
    width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid #fff; box-sizing: border-box;
    display: flex !important; align-items: center; justify-content: center; pointer-events: none;
}
.top-bar .session .object-img .lc-acc-badge svg,
.object-img .lc-acc-badge svg { display: block !important; position: static; width: 8px; height: 8px; }
.object-img .lc-acc-badge + svg { display: none !important; }
.css-dropdown--account .lc-acc-role {
    list-style: none; padding: 9px 16px 10px; margin-bottom: 4px; border-bottom: 1px solid #EDF0F4;
    cursor: default; font-size: 13px; color: #37415B;
}
.css-dropdown--account .lc-acc-role-in { display: flex; align-items: center; gap: 8px; min-width: 0; }
.css-dropdown--account .lc-acc-role .lc-acc-badge {
    position: static; flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.css-dropdown--account .lc-acc-role .lc-acc-badge svg { display: block; width: 11px; height: 11px; }
.css-dropdown--account .lc-acc-role-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.logo-title{
    display: flex;
    /* justify-items: start; */
    justify-content: center;
}
.logo-w{
    padding: 24px;
}
.left-icon{
    border-bottom: none !important;
}
.has-sub-menu{
    position: relative;
}
.sub-menu-kho,.sub-menu-cauhinh{
    position: absolute !important;
    top:0 !important;
}
.sub-menu-ql-hethong{
    position: absolute !important;
    top:-350px !important;
}
.menu-w.menu-layout-compact ul.main-menu>li.has-sub-menu>a:before {
    margin-right: 10px;
}
.footer-admin{
    cursor: auto !important;
}
.navbar-dark .navbar-nav a.nav-link {
    padding-left: 20px;
    font-size: 14px;
    font-family: Open Sans;
    font-style: normal;
    padding-right: 20px;
}
.backgroud-introduce{

    background-image: url(../../assets/img/bg-gioithieu.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    padding-top: 56px;
    padding-bottom: 80px;
}

.backgroud-contact{

    background-image: url(../../assets/img/bg-contact_1.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    padding-top: 56px;
    padding-bottom: 80px;
}
.backgroud-rules{

    background-image: url(../../assets/img/bg-rules.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    padding-top: 56px;
    padding-bottom: 80px;
}
.backgroud-news {
    background-image: url(../../assets/img/bg-tintuc-compressed.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 56px;
    padding-bottom: 80px;
}
a:hover {
    list-style-type: none;
    text-decoration: none;
}
#pagination{
    display: flex;
    justify-content: flex-end;
}
#logoutModal .modal-content{
    max-width: 410px;
}
.form-title {
    text-align: center;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 24px;
    color: #222222;
}
.btn-file-pdf {
    background: #FD8181;
}
.btn-file-csv {
    background: #78C2A4;
}
.btn-file-excel {
    background: #1F7246;
}
.btn-file-word {
    background: #2B5797;
}
.btn-file-api {
    background: #67A6F0;
}
.btn-file-all{
    background: #8791A6;
}

/*******DAte********/
input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-calendar-picker-indicator {
    display: none;
    -webkit-appearance: none;
}
.div-date{
    position: relative;
    display: flex;
    align-items: center;
}
.div-date svg{
    position: absolute;
    right: 0;
    margin-right: 15px;
    pointer-events: none;
    cursor:pointer;
}
input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-calendar-picker-indicator {
    display: none;
    -webkit-appearance: none;
}
input[type="date"]::-webkit-calendar-picker-indicator {
    color: rgba(0, 0, 0, 0);
    opacity: 0;
    display: block;

    width: 20px;
    height: 20px;
    border-width: thin;

}

.showing-count p{
    color:#414141;   
}
.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #999;
    font-size: 13px;
}
/*css menu left*/
.level-1{
    padding: 12px 30px 12px 30px !important;
    height:50px;
    display:flex;
    align-items:center;
}
.sub-menu-w{
    border-radius:10px;
}
.level-1:hover{
    background:#2196F3;

}
.level-1:hover a{
    color:#fff !important;

}
.level-1 a{
    font-size:14px !important;
}
.menu-w.sub-menu-style-over .sub-menu-w {
    padding-bottom:0px !important;
}
.login-btn{
    background: #4160D1;
    box-shadow: 0px 1px 2px rgb(0 0 0 / 10%);
    border-radius: 4px;
    width: 135px;
    display: flex;
    justify-content: center;
}
.footer-deleted{
    display: flex;
    justify-content: center;
}
.search-topics-list img{
    max-width: 16px;
    margin-right: 30px;
}
.contact-list em{
    display: flex;
    align-items: center;
    justify-content: center;
}
@media only screen and (max-width: 1400px) and (min-width: 1200px){
    #main_nav {
        margin-left: 0px !important;
    }
}
@media only screen and (max-width: 1600px) and (min-width: 1400px){
    #main_nav {
        margin-left: 0px !important;
    }
}
.div-content{
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.navbar-collapse{
    justify-content: flex-end;
}
@media (max-width: 1200px) {
    .text{
        text-align: initial;
    }
    #main_nav{
        margin-left: 0px;
    } 
    .menu-mobile{
        display: block;
        padding: 10px;
        border-radius: 10px;
    }
    .menu-mobile li{
        list-style: none;
    }
    .menu-mobile li a{
        display: flex;
        padding: 10px;
    }
    .menu-mobile li a span{
        padding-left: 20px;
    }
    .menu-mobile li a span:hover{
        color: white;
    }
    .menu-mobile li .sub-menu-kho{
        position: relative !important;
    }
    .menu-mobile li:hover ul.sub-menu{
        display: block;
        padding: 0;
    }
    .sub-menu-ql-hethong{
        position: relative !important;
        top : 0 !important
    }
    .sub-menu-cauhinh{
        position: relative !important;
        top : 0 !important
    }
    .menu-mobile > li.has-sub-menu::before {
        font-family: 'osfont' !important;
        speak: none;
        font-style: normal;
        font-weight: normal;
        font-variant: normal;
        text-transform: none;
        line-height: 1;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        content: "\e91c";
        font-size: 7px;
        color: rgba(0, 0, 0, 0.5);
        position: absolute;
        top: 20px;
        right: 10px
    }
}
/*.sub-menu-w {
    left: -80% !important;
}*/

.content-parrent{
    margin-top: 10px;
    padding: 10px 22px 10px 10px;
    border-radius: 4px;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);
}
.content-right {
    padding-top: 20px;
    padding-bottom: 25px;
}
.border-div {
    border-bottom: 1px solid #EEF0F7;
    margin-top: 10px;
    margin-bottom: 10px;
}
.content-right-2 {
    font-weight: normal;
    font-size: 12px;
    line-height: 150%;
    color: #888888;
}
.content-right-3 {
    font-weight: normal;
    font-size: 14px;
    line-height: 26px;
    color: #444444;
}

/* ==== acc-* selects: custom chevron (dong bo giao dien, an mui ten native) ==== */
#acc-page#acc-page select.form-control {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236B7385' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 11px center !important;
    background-size: 13px 13px !important;
    padding-right: 34px !important;
}
#acc-page#acc-page select.form-control:hover { border-color: #B9C6D8 !important; }
#acc-page select.form-control::-ms-expand { display: none !important; }

/* ==== acc-* select: panel dropdown tuy bien (thay popup option native) ==== */
.acc-select-panel { position: absolute; z-index: 100000; background: #fff; border: 1px solid #E3E6EA; border-radius: 8px; box-shadow: 0 10px 28px rgba(15,23,42,.16); padding: 6px; max-height: 300px; overflow-y: auto; font-family: 'Be Vietnam Pro', 'Open Sans', system-ui, sans-serif; }
.acc-select-panel .acc-opt { padding: 9px 12px; border-radius: 6px; font-size: 14px; line-height: 1.4; color: #37415B; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acc-select-panel .acc-opt:hover { background: #F5F7FB; }
.acc-select-panel .acc-opt.sel { background: #EEF4FC; color: #1F6FDD; font-weight: 600; }
.acc-select-panel .acc-opt.disabled { color: #B4BAC6; cursor: not-allowed; background: transparent; }

/* ==== Modal (iziModal) skin acc- (dong bo giao dien tat ca modal) ==== */
.iziModal { border-radius: 14px !important; box-shadow: 0 24px 60px rgba(15,23,42,.28) !important; }
.iziModal .iziModal-header { border-top-left-radius: 14px !important; border-top-right-radius: 14px !important; }
.iziModal .iziModal-header .iziModal-header-title { color: #123F8F; font-weight: 700; }
.iziModal-content { padding-top: 6px; }
.iziModal-content label { color: #37415B; }
.iziModal-content .form-control { height: 42px !important; border: 1px solid #DCDFE4 !important; border-radius: 8px !important; font-size: 14px !important; box-shadow: none !important; color: #1F2937 !important; padding: 0 14px !important; background-color: #fff !important; }
.iziModal-content textarea.form-control { height: auto !important; min-height: 100px; padding: 10px 14px !important; }
.iziModal-content .form-control:focus { border-color: #1F6FDD !important; box-shadow: 0 0 0 3px rgba(31,111,221,.12) !important; }
/* select trong modal: 1 chevron dong bo, bo mui ten native + svg thu cong */
.iziModal-content select.form-control { -webkit-appearance: none !important; -moz-appearance: none !important; appearance: none !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236B7385' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: right 12px center !important; background-size: 13px 13px !important; padding-right: 34px !important; }
.iziModal-content .select-down svg { display: none !important; }
/* nut trong modal */
.iziModal-content .btn { border-radius: 8px !important; font-weight: 600 !important; padding: 9px 20px !important; }
.iziModal-content .bg-custome-add { background: #2F9E44 !important; border-radius: 8px !important; width: auto !important; height: auto !important; padding: 9px 22px !important; }
.iziModal-content .bg-custome-add:hover { background: #278239 !important; }
.iziModal-content .btn-success--custom { background: #2F9E44 !important; color: #fff !important; border: none !important; }
.iziModal-content .btn-success--custom:hover { background: #278239 !important; }
.iziModal-content .btn-danger--custom, .iziModal-content .btn-danger { background: #E5484D !important; color: #fff !important; border: none !important; }
.iziModal-content .btn-danger--custom:hover, .iziModal-content .btn-danger:hover { background: #d43b40 !important; }
.iziModal-content .btn-secondary--custom, .iziModal-content .btn-secondary { background: #fff !important; color: #48506B !important; border: 1px solid #DCDFE4 !important; }
.iziModal-content .btn-secondary--custom:hover, .iziModal-content .btn-secondary:hover { background: #F5F6F8 !important; }

/* ==== Form "Thêm mới / Chỉnh sửa báo cáo động" trong modal (acc-) ==== */
.acc-req { color: #E5484D; font-style: normal; margin-left: 2px; }
.iziModal-content .acc-report-form .form-group { margin-bottom: 16px; }
.iziModal-content .acc-report-form label { display: block; font-weight: 600; font-size: 13px; color: #37415B; margin-bottom: 6px; }
.iziModal-content .acc-report-form .text-danger { display: block; margin-top: 5px; }
.iziModal-content .acc-report-switch { display: flex; align-items: center; gap: 14px; margin: 2px 0 20px; }
.iziModal-content .acc-report-switch > label:first-child { margin: 0; font-weight: 600; font-size: 13px; color: #37415B; }
.iziModal-content .acc-report-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; padding-top: 16px; border-top: 1px solid #EEF1F5; }
.iziModal-content .acc-report-actions .btn { margin: 0 !important; }

/* ==== Bootstrap modal shell (bo goc + do bong nhe, khong !important de trang tu skin van thang) ==== */
.modal-content { border: none; border-radius: 12px; box-shadow: 0 20px 55px rgba(15,23,42,.22); }

/* ==== Bootstrap modal skin acc- (modal Bootstrap toan he thong) ==== */
.modal-content { border: none !important; border-radius: 14px !important; box-shadow: 0 24px 60px rgba(15,23,42,.28); overflow: hidden; }
.modal-header { border-bottom: 1px solid #EEF1F5; padding: 16px 20px; align-items: center; }
.modal-header .modal-title, .modal-header > p, .modal-header > span, .modal-header .font-weight-bold, .modal-header .title-modal { color: #123F8F !important; font-weight: 700; font-size: 16px; margin: 0; }
.modal-header .close { color: #8A93A5; opacity: 1; text-shadow: none; font-weight: 400; }
.modal-header .close:hover { color: #48506B; }
.modal-body { padding: 18px 20px; }
.modal-body label, .modal-body .form-group label { color: #37415B; font-weight: 600; font-size: 13px; }
.modal .form-control { height: 42px; border: 1px solid #DCDFE4; border-radius: 8px; font-size: 14px; box-shadow: none; color: #1F2937; padding: 0 14px; }
.modal textarea.form-control { height: auto; min-height: 100px; padding: 10px 14px; }
.modal .form-control:focus { border-color: #1F6FDD; box-shadow: 0 0 0 3px rgba(31,111,221,.12); }
.modal select.form-control { -webkit-appearance: none; -moz-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236B7385' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 13px 13px; padding-right: 34px; }
.modal-footer { border-top: 1px solid #EEF1F5; padding: 14px 20px; gap: 8px; }
.modal .btn { border-radius: 8px; font-weight: 600; padding: 8px 18px; }
.modal .btn-primary { background: #1F6FDD; border-color: #1F6FDD; }
.modal .btn-primary:hover { background: #1a63c6; border-color: #1a63c6; }
.modal .btn-success, .modal .btn-success--custom { background: #2F9E44; border-color: #2F9E44; color: #fff; }
.modal .btn-success:hover, .modal .btn-success--custom:hover { background: #278239; border-color: #278239; }
.modal .btn-danger, .modal .btn-danger--custom { background: #E5484D; border-color: #E5484D; color: #fff; }
.modal .btn-danger:hover, .modal .btn-danger--custom:hover { background: #d43b40; border-color: #d43b40; }
.modal .btn-secondary, .modal .btn-secondary--custom, .modal .btn-dark { background: #fff; border: 1px solid #DCDFE4; color: #48506B; }
.modal .btn-secondary:hover, .modal .btn-secondary--custom:hover, .modal .btn-dark:hover { background: #F5F6F8; color: #2B3345; }
/* bang trong modal (iziModal + bootstrap) */
.iziModal-content table.table thead th, .modal-body table.table thead th { background: #F5F6F8 !important; color: #424242 !important; border-color: #E3E6EA !important; }

/* ==== modal button color override (thang cac rule !important co san) ==== */
.modal .btn-primary, .iziModal-content .btn-primary { background: #1F6FDD !important; border-color: #1F6FDD !important; color: #fff !important; }
.modal .btn-primary:hover, .iziModal-content .btn-primary:hover { background: #1a63c6 !important; border-color: #1a63c6 !important; }
.modal .btn-success, .modal .btn-success--custom, .iziModal-content .btn-success, .iziModal-content .btn-success--custom { background: #2F9E44 !important; border-color: #2F9E44 !important; color: #fff !important; }
.modal .btn-success:hover, .modal .btn-success--custom:hover, .iziModal-content .btn-success:hover, .iziModal-content .btn-success--custom:hover { background: #278239 !important; border-color: #278239 !important; }
.modal .btn-danger, .modal .btn-danger--custom, .modal .btn-warning, .iziModal-content .btn-danger, .iziModal-content .btn-danger--custom, .iziModal-content .btn-warning { background: #E5484D !important; border-color: #E5484D !important; color: #fff !important; }
.modal .btn-danger:hover, .modal .btn-danger--custom:hover, .iziModal-content .btn-danger:hover { background: #d43b40 !important; border-color: #d43b40 !important; }
.modal .btn-secondary, .modal .btn-secondary--custom, .modal .btn-dark, .iziModal-content .btn-secondary, .iziModal-content .btn-secondary--custom { background: #fff !important; border: 1px solid #DCDFE4 !important; color: #48506B !important; }
.modal .btn-secondary:hover, .modal .btn-secondary--custom:hover, .modal .btn-dark:hover, .iziModal-content .btn-secondary:hover, .iziModal-content .btn-secondary--custom:hover { background: #F5F6F8 !important; color: #2B3345 !important; }

/* ===================== Anh trong noi dung tin tuc ===================== */
/* Anh chen trong bai (trang doc chi tiet & modal xem truoc) khong vuot qua
   khung, giu dung ti le. Anh da chinh co % trong trinh soan thao van giu co do. */
#news__content img,
.news-preview img,
#detail-news .blog-content img {
    max-width: 100% !important;
    height: auto;
}
/* Bao lay anh can trai/phai de chu khong tran ra ngoai khung.
   flow-root tao khoi dinh dang moi -> anh float:left/right nam GON trong khung
   noi dung, khong "chui" xuong duoi tran vao muc Binh luan / phan ke tiep
   (loi "xem chi tiet bi be" khi anh cao hon doan chu ben canh). Phu ca 4 container
   dung ${content}: soan thao (#news__content .content-news-text), modal xem truoc
   (.news-preview .size-16), chi tiet quan tri (.news-contents) va public v2
   (#detail-news .blog-content). */
#news__content .content-news-text,
.news-preview .size-16,
.news-contents,
#detail-news .blog-content {
    display: flow-root;
}
/* ===== Tac gia + ngay dang tren trang doc tin (public v2) =====
   Nam NGAY DUOI tieu de o dai dau trang (#title-detail-news / .dsd-name), do
   news-display.js:showNewsDetailV2 chen vao. Truoc day hai thong tin nay nam
   lan trong than bai (ul.blog-meta, duoi anh dai dien).
   Thiet ke COPY tu trang chi tiet ben quan tri (.acc-meta trong
   src/.../view/test/qly-tintuc-chitiet.html) de hai ban nhin giong nhau —
   sua mau/co chu thi sua CA HAI cho. Dat o day (khong phai <style> cua template)
   de khong phai build lai. Le trai 13px cho thang hang voi .dsd-name. */
.dsd-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: #6B7385; margin: 8px 0 0 13px; }
.dsd-meta .dsd-meta-item { display: inline-flex; align-items: center; gap: 7px; }
.dsd-meta svg { color: #9AA4B2; flex-shrink: 0; }
.dsd-meta .dsd-meta-author { color: #37415B; font-weight: 600; }

/* MOI ANH CHIEM MOT DONG RIENG — chu KHONG tu dong nhay len nam canh anh.
   Anh cua the <img> von la INLINE, nen chu thich go ngay sau the anh trong cung
   mot <p> se bam vao ben phai anh (vd bai 844: "Du khach tam tai thac Pu" nam
   canh anh, phan con lai rot xuong dong duoi). Nhieu bai dan tu Word/web khac
   deu co dang do, khong phai nguoi soan co y.
   Muon chu nam canh anh thi LUC SOAN TIN chon o thanh cong cu cua anh:
     - Can trai / Can phai -> dat float tren chinh the <img>; float van cho chu
       bao quanh binh thuong du anh la block.
     - Nam trong dong      -> dat thang display:inline tren the <img> (style noi
       tuyen nen thang quy tac nay).
   Xem them: alignImage() trong assets/js/admin/rich-text-editor.js */
#news__content img,
.news-preview img,
#detail-news .blog-content img {
    display: block;
}
/* Anh nam trong khoi canh giua: truoc kia anh inline nen text-align:center cua
   khoi cha tu canh giup. Thanh block thi phai tu can le, khong anh se nhay ve trai. */
#news__content [style*="text-align: center"] img,
#news__content [style*="text-align:center"] img,
.news-preview [style*="text-align: center"] img,
.news-preview [style*="text-align:center"] img,
#detail-news .blog-content [style*="text-align: center"] img,
#detail-news .blog-content [style*="text-align:center"] img {
    margin-left: auto;
    margin-right: auto;
}
/* Anh dai dien tin tuc: banner ngang dong nhat o MOI trang xem (form soan thao,
   modal xem truoc, trang doc public v2 #detail-news, chi tiet quan tri). Vi
   .story-image-full la class rieng nen dat GLOBAL (khong khoa theo container) ->
   cau hinh Co/Vi tri se ap dung dung o tat ca cac trang xem. */
.story-image-full {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto !important;
    max-height: 520px;
    object-fit: cover;
    object-position: center center;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    margin: 0 auto 20px;
}
/* Co hien thi (%) chon o cong cu truong Anh tin tuc */
.story-image-full.story-w-75 { width: 75%; }
.story-image-full.story-w-50 { width: 50%; }
/* Vi tri cat/hien thi anh (banner cover) */
.story-image-full.story-pos-top { object-position: center top; }
.story-image-full.story-pos-bottom { object-position: center bottom; }
.story-image-full.story-pos-center { object-position: center center; }
/* "Toàn bộ": hiện trọn ảnh theo đúng tỉ lệ gốc — KHÔNG đóng khung 16:9,
   KHÔNG nền letterbox (ảnh dọc hiện nguyên, không có dải nền xung quanh). */
.story-image-full.story-pos-full {
    aspect-ratio: auto;
    height: auto !important;
    max-height: none;
    object-fit: contain;
    background: transparent;
}

/* ===== Tom tat, chu thich anh, anh co chu thich, duong ke, bang (2026-10) =====
   Dung chung cho 3 noi hien noi dung tin: trang doc public v2 (#detail-news .blog-content),
   chi tiet quan tri (.news-contents) va modal Xem truoc (.news-preview).
   - .lc-sapo / .lc-featured-cap: do news-display.js va news-display-admin.js chen.
   - figure/figcaption/hr: do trinh soan thao chen (style noi tuyen), o day chi lo phan
     hien thi chung + man hinh hep.
   - .lc-table-scroll: news-display.js bao moi bang de cuon ngang tren dien thoai. */
.lc-sapo {
    margin: 0 0 22px;
    font-size: 1.08em;
    line-height: 1.7;
    font-weight: 600;
    color: #2B3547;
    text-align: left;
    word-break: break-word;
}
/* Cỡ tiêu đề người soạn chọn (NEWS.titleStyle.size, news-display.js:titleStyleOf). "Vừa" (lc-ts-m)
   giữ đúng cỡ mặc định của template (22px, điện thoại 19px) nên không cần luật riêng. */
#detail-news .blog-content h2.title.lc-ts-s { font-size: 19px; }
#detail-news .blog-content h2.title.lc-ts-l { font-size: 28px; }
@media (max-width: 640px) {
    #detail-news .blog-content h2.title.lc-ts-s { font-size: 17px; }
    #detail-news .blog-content h2.title.lc-ts-l { font-size: 23px; }
}
.lc-featured-cap {
    margin: 10px auto 0;
    max-width: 92%;
    font-size: 14px;
    line-height: 1.55;
    color: #5B6478;
    font-style: italic;
    text-align: center;
    word-break: break-word;
}
#detail-news .blog-content,
.news-contents,
.news-preview { overflow-wrap: break-word; }
#detail-news .blog-content figure,
.news-contents figure,
.news-preview figure { max-width: 100%; box-sizing: border-box; }
#detail-news .blog-content figure img,
.news-contents figure img,
.news-preview figure img { margin: 0 auto; }
#detail-news .blog-content figcaption,
.news-contents figcaption,
.news-preview figcaption { line-height: 1.5 !important; }
#detail-news .blog-content hr,
.news-contents hr,
.news-preview hr { border: none; border-top: 1px solid #D6DDE8; margin: 24px 0; height: 0; }
.lc-table-scroll {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 16px 0;
}
/* Cột Bootstrap chứa bài là phần tử flex (min-width:auto) -> sẽ NỞ theo bảng rộng bên trong
   (bảng có min-width theo số cột) làm tràn cả bài. min-width:0 giữ cột đúng bề ngang màn hình,
   để khung .lc-table-scroll mới là chỗ cuộn ngang. */
#detail-news,
#detail-news .row > [class*="col-"] { min-width: 0; max-width: 100%; }
.lc-table-scroll > table { margin-top: 0 !important; margin-bottom: 0 !important; }
@media (max-width: 640px) {
    /* Anh / khung anh canh trai-phai: tren man hep cho xuong dong rieng, rong toi da */
    #detail-news .blog-content img[style*="float"],
    .news-contents img[style*="float"],
    .news-preview img[style*="float"] {
        float: none !important;
        display: block !important;
        width: auto !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 12px auto !important;
    }
    #detail-news .blog-content figure,
    .news-contents figure,
    .news-preview figure {
        float: none !important;
        width: 100% !important;
        margin: 14px 0 !important;
    }
    /* The tep dinh kem dat min-width/width co dinh -> tran man hinh hep */
    #detail-news .blog-content a[href*="/xhr/system/news-file"],
    .news-contents a[href*="/xhr/system/news-file"],
    .news-preview a[href*="/xhr/system/news-file"] {
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    /* Khoi dan tu Word hay dat width px co dinh */
    #detail-news .blog-content p[style*="width"],
    #detail-news .blog-content div[style*="width"],
    #detail-news .blog-content span[style*="width"],
    .news-contents p[style*="width"],
    .news-contents div[style*="width"] {
        max-width: 100% !important;
        box-sizing: border-box;
    }
    .lc-featured-cap { max-width: 100%; font-size: 13px; }
}

/* ===== Cong cu chinh anh dai dien tin tuc (news-action.js bom vao truong) ===== */
.np-imgtools {
    margin-top: 14px;
    display: flex; flex-direction: column; gap: 12px;
    padding: 14px 16px;
    background: #F8FAFD;
    border: 1px solid #EAEEF3;
    border-radius: 12px;
}
.np-imgtools-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.np-imgtools-label { font-size: 12.5px; font-weight: 600; color: #48506B; min-width: 80px; }
/* Segmented control (kieu iOS) */
.np-imgtools-grp { display: inline-flex; background: #EBEFF4; border: 1px solid #E1E6EC; border-radius: 10px; padding: 3px; gap: 2px; }
.np-imgt { border: none; background: transparent; color: #48506B; font-size: 12.5px; font-weight: 600; padding: 6px 15px; cursor: pointer; line-height: 1.25; border-radius: 7px; transition: background .15s, color .15s, box-shadow .15s; }
.np-imgtools-grp .np-imgt + .np-imgt { border-left: none; }
.np-imgt:hover { background: rgba(31, 111, 221, .10); color: #1F6FDD; }
.np-imgt.is-active { background: #1F6FDD; color: #fff; box-shadow: 0 1px 3px rgba(31, 111, 221, .38); }
.np-imgt.is-active:hover { background: #1a63c6; color: #fff; }
/* Chi so co (%) — pill ben phai */
.np-size-val { font-size: 12px; font-weight: 700; color: #1F6FDD; background: #E7F0FC; padding: 4px 11px; border-radius: 20px; letter-spacing: .2px; }
/* Nut cat 16:9 + goi y */
.np-imgtools-foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 2px; }
.np-imgt-crop { border: 1px solid #D3DBE4; border-radius: 9px; background: #fff; display: inline-flex; align-items: center; gap: 8px; color: #1F6FDD; padding: 9px 16px; font-weight: 600; font-size: 12.5px; cursor: pointer; transition: background .15s, border-color .15s, box-shadow .15s; }
.np-imgt-crop:hover { background: #EEF4FC; border-color: #1F6FDD; box-shadow: 0 1px 4px rgba(31, 111, 221, .15); }
.np-imgt-crop svg { width: 15px; height: 15px; }
.np-imgtools-hint { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: #8A93A5; }
.np-imgtools-hint svg { width: 14px; height: 14px; flex-shrink: 0; color: #A3ACBA; }
/* Tay cam keo-tha chinh co anh dai dien (news-action.js bom vao .np-drop) */
.np-drop-resize {
    position: absolute; width: 20px; height: 46px; box-sizing: border-box;
    background: #fff; border: 1px solid #D6DCE4; border-radius: 11px;
    cursor: ew-resize; display: none; z-index: 6; touch-action: none;
    box-shadow: 0 2px 9px rgba(15, 23, 42, .22);
    transition: border-color .12s, box-shadow .12s, background .12s;
}
.np-drop-resize::before {
    content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 5px; height: 18px;
    border-left: 2px solid #9AA4B2; border-right: 2px solid #9AA4B2;
    transition: border-color .12s;
}
.np-drop-resize:hover { border-color: #1F6FDD; box-shadow: 0 3px 12px rgba(31, 111, 221, .32); }
.np-drop-resize:hover::before { border-color: #1F6FDD; }
.np-drop-resize:active { background: #F5F9FF; }

/* =====================================================================
   TƯƠNG THÍCH modal khi trang nạp Bootstrap 3 (JS) trên nền Bootstrap 4 (CSS)
   ---------------------------------------------------------------------
   HeadMeta.html nạp CSS+JS của Bootstrap 4, nhưng 7 trang quản trị nạp LẠI
   jquery.min.js rồi bootstrap3/bootstrap.min.js ở <head> riêng -> plugin
   .modal bị ghi đè bằng bản Bootstrap 3. Bootstrap 3 mở modal bằng class
   `in`, còn CSS Bootstrap 4 chỉ làm hiện với class `show`
   (`.fade:not(.show){opacity:0}`). Hậu quả: modal MỞ THẬT (display:block,
   có backdrop, body.modal-open) nhưng opacity:0 -> VÔ HÌNH.
   Triệu chứng: bấm "Đăng xuất" tưởng như không có tác dụng, URL chỉ thêm '#'.
   Ảnh hưởng cả #modalChangePass và #modalVerifyEmailAdmin trên 7 trang đó.
   Đây là lớp đệm; cách sửa tận gốc là bỏ bootstrap3 + jquery nạp trùng.
   ===================================================================== */
.modal.fade.in { opacity: 1; }
.modal.fade.in .modal-dialog { -webkit-transform: none; transform: none; }
.modal-backdrop.fade.in { opacity: .5; }

/* =====================================================================
   Ô chọn (checkbox) tự vẽ — dùng cho hộp thoại/biểu mẫu quản trị.
   Checkbox gốc của trình duyệt trên một số máy hiện ra viền đen dày, to
   và lệch hàng so với nhãn. Vẽ lại bằng appearance:none + dấu tick ::after
   (cùng công thức đã dùng cho lưới Nhật ký gửi email).
   Dùng: <label class="lc-cbx-row"><input type="checkbox" class="lc-cbx"><span>Nhãn</span></label>
   ===================================================================== */
.lc-cbx-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-weight: 500;
    cursor: pointer;
}
.lc-cbx {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: 1.5px solid #C4CBD6;
    border-radius: 5px;
    background: #fff;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    transition: background .12s, border-color .12s;
}
.lc-cbx:hover { border-color: #1F6FDD; }
.lc-cbx:checked { background: #1F6FDD; border-color: #1F6FDD; }
.lc-cbx:checked::after {
    content: '';
    position: absolute;
    left: 5.5px;
    top: 1.5px;
    width: 4px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.lc-cbx:focus-visible { outline: 2px solid rgba(31,111,221,.35); outline-offset: 1px; }

/* ====================================================================
 * BỎ "KHUNG ĐEN" FOCUS KHI BẤM CHUỘT trên mọi <button> (và input button).
 * Thủ phạm: bootstrap4 reboot `button:focus{outline:5px auto …}` áp cho MỌI
 * nút phẳng không có .btn. common.css nạp SAU bootstrap + ở CẢ admin lẫn công
 * khai nên 1 luật này phủ hết. Chỉ bỏ khi KHÔNG phải focus bàn phím
 * (:focus-visible) → người dùng Tab vẫn thấy vòng focus (giữ tính tiếp cận).
 * Trình duyệt cũ không hiểu :focus-visible sẽ bỏ qua luật (giữ như cũ, không lỗi).
 * ==================================================================== */
button:focus:not(:focus-visible),
[type="button"]:focus:not(:focus-visible),
[type="submit"]:focus:not(:focus-visible),
[type="reset"]:focus:not(:focus-visible) { outline: none !important; }

/* Vòng focus BÀN PHÍM dùng chung: xanh #1F6FDD, bo theo nút, lệch 2px — thay vòng
 * đen "5px auto" mặc định của bootstrap cho nút phẳng. KHÔNG !important để component
 * nào đã tự khai :focus-visible riêng (forward-api, dataset-v3, tin-tuc-v3…) vẫn giữ
 * vòng của nó (độ cụ thể cao hơn thì thắng). .btn do theme đặt outline:none!important
 * nên không đổi — vốn đã vậy từ trước. */
button:focus-visible,
[type="button"]:focus-visible,
[type="submit"]:focus-visible,
[type="reset"]:focus-visible { outline: 2px solid #1F6FDD; outline-offset: 2px; }

/* ====================================================================
 * TRÌNH ĐƠN DI ĐỘNG — KHU QUẢN TRỊ
 *
 * Mọi luật đều nằm dưới .lc-nav-qt. Lớp đó do show-menu.js gắn, và CHỈ gắn khi
 * trang có #menu-mobile — thứ chỉ khu quản trị mới có. Cổng công khai dùng
 * chung common.css và chung các lớp .navbar-collapse/.offcanvas-header, không
 * khoanh vùng là đổi luôn giao diện trang công khai.
 * ==================================================================== */

/* Màn che do JS chèn vào <body>; khai mặc định ẩn ở NGOÀI @media, nếu không thì
   trên màn rộng nó vẫn là một thẻ lơ lửng trong trang. */
.lc-menu-scrim { display: none; }

@media (max-width: 1200px) {

    /* ---- Ngăn kéo ---- */
    .navbar-collapse.lc-nav-qt {
        width: 90% !important;
        max-width: 372px !important;
        left: 100% !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column;
        background-color: #fff !important;
        background-image: none !important;
        box-shadow: -20px 0 50px rgba(17, 26, 43, .20) !important;
        overflow: hidden !important;        /* phần cuộn nằm ở .menu-mobile */
    }

    .lc-menu-scrim {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(17, 26, 43, .5);
        opacity: 0;
        visibility: hidden;
        transition: opacity .22s ease, visibility .22s ease;
        z-index: 998;
    }
    body.offcanvas-active .lc-menu-scrim { opacity: 1; visibility: visible; }

    /* ---- Thanh đầu: logo + tên cổng + nút đóng ---- */
    .lc-nav-qt .offcanvas-header {
        display: flex !important;
        align-items: center;
        gap: 11px;
        flex: 0 0 auto;
        margin: 0 !important;
        padding: 14px 14px 13px !important;
        background: linear-gradient(135deg, #123F8F 0%, #1F6FDD 100%);
    }
    .lc-nav-qt .lc-nav-brand {
        display: flex;
        align-items: center;
        gap: 10px;
        flex: 1 1 auto;
        min-width: 0;
    }
    .lc-nav-qt .lc-nav-brand > img {
        flex: 0 0 auto;
        width: 34px; height: 34px;
        object-fit: contain;
        background: rgba(255, 255, 255, .16);
        border-radius: 9px;
        padding: 4px;
    }
    .lc-nav-qt .lc-nav-brand-t { min-width: 0; line-height: 1.3; }
    .lc-nav-qt .lc-nav-brand-t span,
    .lc-nav-qt .lc-nav-brand-t strong {
        display: block;
        color: #fff;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .lc-nav-qt .lc-nav-brand-t span { font-size: 11px; opacity: .82; font-weight: 400; }
    .lc-nav-qt .lc-nav-brand-t strong { font-size: 13px; font-weight: 700; letter-spacing: .2px; }

    .lc-nav-qt .offcanvas-header .btn-close {
        flex: 0 0 auto;
        float: none !important;
        width: 34px; height: 34px;
        padding: 0 !important;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 0 !important;
        border-radius: 50% !important;
        background: rgba(255, 255, 255, .16) !important;
        color: #fff !important;
        transition: background .15s;
    }
    .lc-nav-qt .offcanvas-header .btn-close:hover,
    .lc-nav-qt .offcanvas-header .btn-close:active {
        background: rgba(255, 255, 255, .3) !important;
    }
    .lc-nav-qt .offcanvas-header .btn-close svg { display: block; }

    /* ---- Thẻ tài khoản ---- */
    /* Theme cũ dựng nó thành viên thuốc bo tròn cao gần 160px, ảnh ở giữa, chữ
       trắng. Nay là một hàng gọn, chữ sẫm vì nền đã là trắng. */
    .navbar-collapse.lc-nav-qt .menu-btns { padding: 0 !important; margin: 0 !important; flex: 0 0 auto; }
    .navbar-collapse.lc-nav-qt .header-menu { flex: 0 0 auto; }
    .navbar-collapse.lc-nav-qt .navbar-nav.session {
        margin: 0 !important;
        padding: 0 !important;
        border-bottom: 1px solid #EDF1F7;
    }
    .navbar-collapse.lc-nav-qt .navbar-nav.session > li.nav-item {
        flex-direction: row !important;
        align-items: center !important;
        gap: 11px;
        padding: 13px 15px !important;
        margin: 0 !important;
    }
    .navbar-collapse.lc-nav-qt .navbar-nav.session .object-img { flex: 0 0 auto; line-height: 0; }
    .navbar-collapse.lc-nav-qt .navbar-nav.session .object-img img {
        width: 38px !important; height: 38px !important;
        border-radius: 11px;
        margin: 0 !important;
    }
    /* Máy chủ gắn sẵn class text-white — trên nền trắng là chữ tàng hình. */
    .navbar-collapse.lc-nav-qt .navbar-nav.session label.nav-link {
        flex: 1 1 auto; min-width: 0;
        padding: 0 !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        color: #1B2536 !important;
        overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    }
    .navbar-collapse.lc-nav-qt .navbar-nav.session > li.nav-item > i.fas {
        flex: 0 0 auto; margin: 0 !important;
        color: #A6B0C2 !important; font-size: 13px !important;
    }
    .navbar-collapse.lc-nav-qt .navbar-nav.session .css-dropdown--account {
        width: calc(100% - 30px) !important;
        border-radius: 12px !important;
    }

    /* ---- Danh sách mục ---- */
    .lc-nav-qt .menu-mobile {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        padding: 10px 10px 18px !important;
        border-radius: 0 !important;
    }
    .lc-nav-qt .menu-mobile ul { margin: 0; padding: 0; }
    .lc-nav-qt .menu-mobile li { list-style: none; position: relative; }

    .lc-nav-qt .menu-mobile > li > a {
        display: flex !important;
        align-items: center;
        gap: 11px;
        padding: 11px 36px 11px 12px !important;   /* chừa chỗ cho mũi tên */
        margin-bottom: 1px;
        border-radius: 9px;
        font-size: 14px;
        color: #31405C !important;
        /* style.css đặt `.menuParents{background:#F5F5F5}` — mục CHA nào cũng có một
           viên xám, xen kẽ với mục thường nền trắng trông như lỗi hiển thị. Trong ngăn
           kéo thì nền để trắng hết, chỉ tô khi rê chuột / đang xem. */
        background: transparent;
        transition: background .15s, color .15s;
    }
    .lc-nav-qt .menu-mobile > li > a:hover,
    .lc-nav-qt .menu-mobile > li > a:active { background: #F3F6FB; }
    .lc-nav-qt .menu-mobile > li > a span {
        padding-left: 0 !important;
        font-size: 14px !important;
        font-weight: 500;
        color: inherit !important;
        line-height: 1.35;
    }
    .lc-nav-qt .menu-mobile > li > a span:hover { color: inherit !important; }

    /* Biểu tượng: mọi mục dùng CHUNG một ảnh nên để to và có nền thì nó thành ra
       chín cái nút giống hệt nhau, rối mắt mà không mang thông tin gì. Thu nhỏ
       và làm mờ để nó đọc như dấu đầu dòng. */
    .lc-nav-qt .menu-mobile .icon-w {
        flex: 0 0 auto;
        width: 20px; height: 20px;
        display: flex; align-items: center; justify-content: center;
        background: none !important;
        border-radius: 0;
    }
    .lc-nav-qt .menu-mobile .icon-w img {
        width: 14px; height: 14px;
        opacity: .38;
        transition: opacity .15s;
    }

    /* Mục đang xem: thanh màu bên trái + nền nhạt, không tô kín cả hàng. */
    .lc-nav-qt .menu-mobile > li.selected > a,
    .lc-nav-qt .menu-mobile > li.lc-mo > a {
        background: #EEF4FE;
        color: #1B4FA8 !important;
        font-weight: 600;
        box-shadow: inset 3px 0 0 #1F6FDD;
    }
    .lc-nav-qt .menu-mobile > li.selected > a span,
    .lc-nav-qt .menu-mobile > li.lc-mo > a span { font-weight: 600; }
    .lc-nav-qt .menu-mobile > li.selected > a .icon-w img,
    .lc-nav-qt .menu-mobile > li.lc-mo > a .icon-w img { opacity: .85; }

    /* Mũi tên mục cha — theme cũ dùng ký tự osfont neo ở góc trên phải, lệch hẳn
       khỏi hàng. Vẽ lại bằng hai nét chéo, canh đúng giữa dòng. */
    .lc-nav-qt .menu-mobile > li.has-sub-menu::before {
        content: '' !important;
        position: absolute !important;
        top: 17px !important;
        right: 17px !important;
        width: 6px; height: 6px;
        border-right: 1.7px solid #B4BCCA;
        border-bottom: 1.7px solid #B4BCCA;
        transform: rotate(45deg);
        font-size: 0 !important;
        pointer-events: none;
        transition: transform .18s ease, border-color .18s;
    }
    .lc-nav-qt .menu-mobile > li.lc-mo.has-sub-menu::before {
        transform: rotate(225deg);
        top: 20px !important;
        border-color: #1F6FDD;
    }

    /* ---- Menu con ---- */
    /* Theme cũ chỉ mở bằng :hover. Điện thoại KHÔNG CÓ hover, mà thẻ <a> của mục
       cha lại là href="#" — nên trước đây mọi mục có menu con đều bấm vào không
       ra gì, tức là hơn nửa khu quản trị không vào được từ điện thoại.
       Nay mở bằng lớp .lc-mo do show-menu.js gắn khi bấm.
       Chỉ đụng .menu-mobile; sidebar desktop #menu--left giữ nguyên hover. */
    /* Thẻ bọc menu con LUÔN là div.sub-menu-w (cả bản dựng từ CSDL lẫn 5 bản hardcode
       trong show-menu.js) — nhắm theo .sub-menu-w thay vì liệt kê từng lớp phụ
       (.sub-menu-kho / .sub-menu-ql-hethong / .sub-menu-cauhinh) cho khỏi sót khi
       thêm nhóm mới. Giữ ul.sub-menu phòng nơi nào gắn thẳng không qua thẻ bọc. */
    .lc-nav-qt .menu-mobile > li > .sub-menu-w,
    .lc-nav-qt .menu-mobile > li > ul.sub-menu { display: none !important; }
    .lc-nav-qt .menu-mobile > li.lc-mo > .sub-menu-w,
    .lc-nav-qt .menu-mobile > li.lc-mo > ul.sub-menu {
        display: block !important;
        position: relative !important;
        top: 0 !important; left: 0 !important;
        width: auto !important; min-width: 0 !important;
        margin: 2px 0 6px 20px !important;
        padding: 2px 0 2px 12px !important;
        border: 0 !important;
        border-left: 2px solid #E3EAF4 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
    }
    /* Bên trong thẻ bọc còn hai lớp nữa: div.sub-menu-i > ul.sub-menu, mà main5739.css
       có `.menu-mobile ul.sub-menu{display:none}` — cơ chế flyout cũ chỉ mở bằng :hover.
       Không mở hai lớp này thì bấm mục cha chỉ hiện ra một dải cao 4px rỗng không. */
    .lc-nav-qt .menu-mobile > li.lc-mo .sub-menu-i,
    .lc-nav-qt .menu-mobile > li.lc-mo ul.sub-menu {
        display: block !important;
        position: static !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
    }
    .lc-nav-qt .menu-mobile li ul.sub-menu > li {
        border: 0 !important; padding: 0 !important; margin: 0 !important;
    }
    /* common.css có `.level-1:hover{background:#2196F3}` + `.level-1:hover a{color:#fff!important}`
       toàn cục cho hộp thả xuống của sidebar màn rộng. Trong ngăn kéo thì đó là một
       khối xanh chói nguyên hàng, lạc hẳn với phần còn lại — kéo về nền nhạt. */
    .lc-nav-qt .menu-mobile ul.sub-menu > li.level-1:hover { background: transparent !important; }
    .lc-nav-qt .menu-mobile ul.sub-menu > li.level-1:hover > a { color: #1F6FDD !important; }
    .lc-nav-qt .menu-mobile li ul.sub-menu li a {
        display: flex !important;
        padding: 9px 12px !important;
        font-size: 13.5px !important;
        color: #5A6782 !important;
        border-radius: 8px;
        line-height: 1.35;
    }
    .lc-nav-qt .menu-mobile li ul.sub-menu li a:hover,
    .lc-nav-qt .menu-mobile li ul.sub-menu li a:active {
        background: #F3F6FB; color: #1F6FDD !important;
    }
    .lc-nav-qt .menu-mobile li ul.sub-menu .icon-w { display: none !important; }
    .lc-nav-qt .menu-mobile li ul.sub-menu li a span {
        padding-left: 0 !important;
        font-size: 13.5px !important;
        color: inherit !important;
    }
}

/* ====================================================================
 * THANH ĐẦU TRANG + TRÌNH ĐƠN DI ĐỘNG — CỔNG CÔNG KHAI
 *
 * Phạm vi: các trang công khai dựng đầu trang bằng client/viewpart/TopNav.html
 * (/gioi-thieu, /lien-he, ...). Trang chủ, tìm kiếm, chi tiết tập dữ liệu và tin
 * tức có đầu trang riêng (.lc-topbar) nên không liên quan gì tới khối này.
 *
 * VÌ SAO CẦN. Cơ chế ngăn kéo — .navbar-collapse thành khối cố định trượt từ phải,
 * .offcanvas-header ẩn ở màn rộng — nằm trong assets/css/style.css, mà tệp đó CHỈ
 * admin/viewpart/HeadMeta.html nạp. Cổng công khai chưa bao giờ nạp nó, nên trên
 * các trang trên:
 *   - thanh đầu trang không có nền -> chữ trắng trên nền trắng, trình đơn tàng hình;
 *   - .offcanvas-header không bị ẩn -> cụm "× CLOSE / DANH MỤC" nằm chình ình giữa
 *     đầu trang ở MỌI khổ màn hình, đẩy nút Đăng nhập lọt ra ngoài mép phải;
 *   - .navbar-collapse không thành ngăn kéo -> bấm ☰ chẳng có gì trượt ra, trình đơn
 *     đổ dọc ngay trong đầu trang làm nó cao 457px trên điện thoại.
 * (Đo tại localhost:6500/gioi-thieu, khổ 375px và 1440px.)
 *
 * Dựng lại đủ phần ngăn kéo cho riêng cổng công khai thay vì nạp style.css, vì tệp
 * đó kéo theo cả nền tím-hồng cũ và 13KB luật của khu quản trị.
 *
 * Màu lấy đúng bảng của trang chủ (client-page/trangchu-v2.css) để hai kiểu đầu
 * trang không lệch tông: navy #123F8F, xanh #1F6FDD, chữ nhạt #DBE6FB.
 *
 * Khoanh vùng bằng .lc-top-ck / .lc-nav-ck đặt sẵn trong template — common.css nạp
 * ở CẢ cổng công khai lẫn khu quản trị, không có dấu riêng là sửa bên này hỏng bên
 * kia. Khu quản trị dùng .lc-nav-qt, ở khối ngay phía trên.
 * ==================================================================== */

/* ---- Màn rộng ---- */

/* Thanh này chỉ là đầu của ngăn kéo; màn rộng không có ngăn kéo thì không được thấy. */
.lc-nav-ck .offcanvas-header { display: none; }

.top-bar.lc-top-ck { background: #123F8F; }
.lc-top-ck .bottom__header { min-height: 56px; }

/* Bootstrap .navbar-dark cho .nav-link màu rgba(255,255,255,.5): trên nền navy đọc
   được nhưng mờ. Lấy đúng tông chữ trình đơn của trang chủ. */
.lc-top-ck .navbar-nav > li.menu-item > a.menu-link { color: #DBE6FB !important; }
.lc-top-ck .navbar-nav > li.menu-item > a.menu-link:hover,
.lc-top-ck .navbar-nav > li.menu-item > a.menu-link:focus { color: #fff !important; }

@media (max-width: 1200px) {

    /* ---- Ngăn kéo ---- */
    .navbar-collapse.lc-nav-ck {
        position: fixed;
        top: 0; bottom: 0; left: 100%;
        width: 90%;
        max-width: 372px;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column;
        /* Hai dòng dưới đè .navbar-collapse{justify-content:flex-end} ở đầu tệp này và
           .navbar-collapse{align-items:center} của Bootstrap. Để nguyên thì xoay thành
           cột xong trình đơn bị dồn xuống đáy và co lại giữa ngăn kéo. */
        justify-content: flex-start;
        align-items: stretch;
        background: #fff;
        box-shadow: -20px 0 50px rgba(17, 26, 43, .20);
        visibility: hidden;
        transition: visibility .22s ease-in-out, transform .22s ease-in-out;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        z-index: 999;
    }
    .navbar-collapse.lc-nav-ck.show {
        visibility: visible;
        transform: translateX(-100%);
    }

    /* ---- Thanh đầu ngăn kéo: logo + tên cổng + nút đóng ---- */
    .lc-nav-ck .offcanvas-header {
        display: flex !important;
        order: 0;
        flex: 0 0 auto;
        align-items: center;
        gap: 11px;
        position: sticky;
        top: 0;
        z-index: 2;
        margin: 0 !important;
        padding: 14px 14px 13px !important;
        background: linear-gradient(135deg, #123F8F 0%, #1F6FDD 100%);
    }
    .lc-nav-ck .lc-nav-brand {
        display: flex;
        align-items: center;
        gap: 10px;
        flex: 1 1 auto;
        min-width: 0;
    }
    .lc-nav-ck .lc-nav-brand > img {
        flex: 0 0 auto;
        width: 34px; height: 34px;
        object-fit: contain;
        background: rgba(255, 255, 255, .16);
        border-radius: 9px;
        padding: 4px;
    }
    .lc-nav-ck .lc-nav-brand-t { min-width: 0; line-height: 1.3; }
    .lc-nav-ck .lc-nav-brand-t span,
    .lc-nav-ck .lc-nav-brand-t strong {
        display: block;
        color: #fff;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .lc-nav-ck .lc-nav-brand-t span { font-size: 11px; opacity: .82; font-weight: 400; }
    .lc-nav-ck .lc-nav-brand-t strong { font-size: 13px; font-weight: 700; letter-spacing: .2px; }

    .lc-nav-ck .offcanvas-header .btn-close {
        flex: 0 0 auto;
        float: none !important;
        width: 34px; height: 34px;
        /* style-new.css (chỉ cổng công khai nạp) đặt .btn{min-width:120px}: không
           gỡ thì nút đóng phình thành 120px, nuốt gần hết chỗ của tên cổng. Khu
           quản trị không dính vì bên đó nạp style.css chứ không phải style-new.css. */
        min-width: 34px !important;
        min-height: 34px;
        padding: 0 !important;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 0 !important;
        border-radius: 50% !important;
        background: rgba(255, 255, 255, .16) !important;
        color: #fff !important;
        transition: background .15s;
    }
    .lc-nav-ck .offcanvas-header .btn-close:hover,
    .lc-nav-ck .offcanvas-header .btn-close:active { background: rgba(255, 255, 255, .3) !important; }
    .lc-nav-ck .offcanvas-header .btn-close svg { display: block; }

    /* ---- Khối tài khoản ---- */
    .lc-nav-ck > .dropdown-user {
        order: 1;
        flex: 0 0 auto;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        border-bottom: 1px solid #EDF1F7;
    }
    .lc-nav-ck > .dropdown-user > ul.navbar-nav {
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Đã đăng nhập: gom thành một hàng ảnh + tên + mũi tên. */
    .lc-nav-ck .navbar-nav.session > li.nav-item {
        display: flex !important;
        flex-wrap: wrap;
        align-items: center;
        gap: 11px;
        margin: 0 !important;
        padding: 13px 15px !important;
    }
    .lc-nav-ck .navbar-nav.session .object-img { flex: 0 0 auto; line-height: 0; }
    .lc-nav-ck .navbar-nav.session .object-img img {
        width: 38px !important; height: 38px !important;
        border-radius: 11px;
        margin: 0 !important;
    }
    /* Máy chủ gắn sẵn class text-white — trên nền trắng là chữ tàng hình. */
    .lc-nav-ck .navbar-nav.session label.nav-link {
        flex: 1 1 auto;
        min-width: 0;
        padding: 0 !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        color: #1B2536 !important;
        overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    }
    .lc-nav-ck .navbar-nav.session > li.nav-item > i.fas {
        flex: 0 0 auto;
        margin: 0 !important;
        color: #A6B0C2 !important;
        font-size: 13px !important;
    }
    /* Menu con của chip tài khoản phải xổ NGAY TRONG DÒNG: để position:absolute thì
       nó bị cắt theo vùng cuộn của ngăn kéo, bấm vào tên chẳng thấy gì hiện ra. */
    .lc-nav-ck .navbar-nav.session .css-dropdown--account {
        position: static !important;
        float: none;
        width: 100% !important;
        height: auto !important;
        margin: 10px 0 2px !important;
        padding: 4px 0 !important;
        border: 1px solid #E5E9F0 !important;
        border-radius: 12px !important;
        box-shadow: none !important;
    }
    .lc-nav-ck .navbar-nav.session .css-dropdown--account > li > a {
        height: auto !important;
        padding: 11px 14px !important;
    }
    .lc-nav-ck .navbar-nav.session .css-dropdown--account > li:first-child > a { border-radius: 11px 11px 0 0; }
    .lc-nav-ck .navbar-nav.session .css-dropdown--account > li:last-child > a { border-radius: 0 0 11px 11px; }

    /* Chưa đăng nhập: nút Đăng nhập chiếm trọn bề ngang cho dễ bấm. */
    .lc-nav-ck > .dropdown-user li.nav-item > a.login-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin: 14px 15px !important;
        padding: 11px 14px !important;
        border-radius: 10px;
        background: #1F6FDD;
        color: #fff !important;
        font-size: 14px;
        font-weight: 600;
    }

    /* ---- Danh sách trình đơn ---- */
    .lc-nav-ck > ul.navbar-nav {
        order: 2;
        flex: 1 1 auto;
        display: block !important;
        margin: 0 !important;
        padding: 10px 10px 20px !important;
    }
    .lc-nav-ck > ul.navbar-nav > li.menu-item {
        list-style: none;
        margin: 0 !important;
        /* style-new.css đặt .menu-item{border-bottom:1px...}: ngang thanh đầu trang thì
           hợp, nhưng trong ngăn kéo nó là vạch kẻ hết chiều ngang trong khi nền sáng khi
           rê chuột lại thụt vào 10px — nhìn lệch. Chấm tròn đầu dòng đã đủ tách mục rồi. */
        border: 0;
    }
    .lc-nav-ck > ul.navbar-nav > li.menu-item > a.menu-link {
        display: flex !important;
        align-items: center;
        gap: 11px;
        margin-bottom: 1px;
        padding: 12px !important;
        border-radius: 9px;
        font-size: 14.5px !important;
        font-weight: 500;
        line-height: 1.35;
        color: #31405C !important;
        text-transform: none !important;
        /* Máy chủ đặt style="white-space:nowrap" ngay trên thẻ, tên mục dài sẽ tràn
           ngang ngăn kéo; phải !important mới đè được style nội tuyến. */
        white-space: normal !important;
        transition: background .15s, color .15s;
    }
    /* Trình đơn công khai không có biểu tượng — chấm tròn làm dấu đầu dòng cho đỡ trống. */
    .lc-nav-ck > ul.navbar-nav > li.menu-item > a.menu-link::before {
        content: '';
        flex: 0 0 auto;
        width: 6px; height: 6px;
        border-radius: 50%;
        background: #C3CFE2;
        transition: background .15s;
    }
    .lc-nav-ck > ul.navbar-nav > li.menu-item > a.menu-link:hover,
    .lc-nav-ck > ul.navbar-nav > li.menu-item > a.menu-link:active {
        background: #F3F6FB;
        color: #1B4FA8 !important;
    }
    .lc-nav-ck > ul.navbar-nav > li.menu-item > a.menu-link:hover::before { background: #1F6FDD; }
}

/* ====================================================================
 * NGĂN KÉO QUẢN TRỊ — VÁ XUNG ĐỘT VỚI <style> NỘI TUYẾN CỦA TopNav.html
 *
 * `admin/viewpart/TopNav.html` có một khối <style> ~160 dòng dựng "chip tài khoản"
 * cho THANH XANH đầu trang: viên thuốc nền `rgba(255,255,255,.12)`, viền trắng mờ,
 * ảnh tròn 30px, **chữ trắng**. Mọi khai báo đều `!important` và chọn theo
 * `.top-bar ...` — mà ngăn kéo cũng nằm trong `.top-bar`, nên luật đó ăn luôn vào
 * trong ngăn kéo. Nền ngăn kéo là TRẮNG ⇒
 *   - tên tài khoản trắng trên trắng, **tàng hình**;
 *   - viên thuốc + viền trắng mờ cũng tàng hình;
 *   - hàng tài khoản giữ `display:inline-flex` nên rộng theo nội dung: đo được
 *     **391px trong ngăn kéo 338px**, mà `.navbar-collapse` của Bootstrap là
 *     `align-items:center` ⇒ bị căn giữa và **thò hẳn 27px ra ngoài mép trái**
 *     (đúng cái ảnh user gửi: ảnh đại diện nằm lọt ra ngoài ngăn kéo);
 *   - menu thả xuống rộng cố định 244px, lòi khỏi mép phải ngăn kéo.
 *
 * `!important` thắng mọi mức cụ thể, mà khối <style> lại nằm trong <body> nên đứng
 * SAU common.css ⇒ muốn đè phải vừa `!important` vừa CỤ THỂ HƠN. Luật dưới đây đều
 * ≥5 lớp, hơn hẳn `.top-bar .session .nav-item.dropdown` (4 lớp).
 *
 * Vì sao không sửa thẳng khối <style> kia: nó đang phục vụ thanh xanh ở màn rộng và
 * đúng cho ngữ cảnh đó; sửa là phải dịch lại + khởi động lại, còn ở đây chỉ Ctrl+F5.
 *
 * (Bản kiểm trước đây sót lỗi này vì trang kiểm chỉ chép MARKUP của TopNav.html mà
 *  không chép khối <style> nội tuyến đi kèm — xem preview/menu2.html đã bổ sung.)
 * ==================================================================== */

@media (max-width: 1200px) {

    /* Ngăn kéo xoay thành cột thì phải bỏ hai nếp của Bootstrap/common.css:
       `justify-content:flex-end` (dồn xuống đáy) và `align-items:center` (căn giữa
       ngang — chính là thứ làm hàng tài khoản quá khổ thò ra mép trái). */
    .navbar-collapse.lc-nav-qt {
        justify-content: flex-start;
        align-items: stretch;
        /* Trước để `overflow:hidden`: menu tài khoản xổ trong dòng mà ngăn kéo thấp
           (điện thoại nằm ngang) là bị cắt cụt, không cuộn tới được. */
        overflow-x: hidden !important;
        overflow-y: auto !important;
    }

    /* ---- Hàng tài khoản: bỏ viên thuốc, trải hết bề ngang ---- */
    .lc-nav-qt .navbar-nav.session > li.nav-item.dropdown {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 11px !important;
        margin: 0 !important;
        padding: 13px 15px !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
    }
    .lc-nav-qt .navbar-nav.session > li.nav-item.dropdown:hover,
    .lc-nav-qt .navbar-nav.session > li.nav-item.dropdown.show {
        background: transparent !important;
        border-color: transparent !important;
        border-radius: 0 !important;
    }

    /* ---- Ảnh đại diện: vuông bo góc như lưới quản trị, bỏ vòng sáng ---- */
    .lc-nav-qt .navbar-nav.session .nav-item .object-img img {
        width: 38px !important;
        height: 38px !important;
        border-radius: 11px !important;
        box-shadow: none !important;
        margin: 0 !important;
    }

    /* ---- Tên tài khoản: chữ sẫm, không cắt ở 170px nữa vì đã có cả hàng ---- */
    .lc-nav-qt .navbar-nav.session .nav-item.dropdown label.nav-link,
    .lc-nav-qt .navbar-nav.session .nav-item.dropdown.show label.nav-link {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        max-width: none !important;
        padding: 0 !important;
        color: #1B2536 !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* ---- Mũi tên ---- */
    .lc-nav-qt .navbar-nav.session .nav-item.dropdown > i.fa-angle-down {
        flex: 0 0 auto;
        color: #A6B0C2 !important;
        font-size: 13px !important;
    }

    /* ---- Menu tài khoản: xổ NGAY TRONG DÒNG, không nổi lên trên ----
       Để tuyệt đối thì nó bị vùng cuộn của ngăn kéo cắt, mà rộng cố định 244px thì
       lòi khỏi mép phải. Trong ngăn kéo thì cho nằm luôn trong luồng. */
    .lc-nav-qt .navbar-nav.session .nav-item .css-dropdown--account {
        position: static !important;
        float: none !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 10px 0 2px !important;
        padding: 4px !important;
        border: 1px solid #E5E9F0 !important;
        border-radius: 12px !important;
        box-shadow: none !important;
    }
    /* Tên mục dài (vd "Thông tin tài khoản") không được đẩy ngang ngăn kéo. */
    .lc-nav-qt .navbar-nav.session .nav-item .css-dropdown--account > li > a.dropdown-item {
        white-space: normal !important;
    }
}

/* ########################################################################
 * KHÔI PHỤC 2026-10-17 — phần cuối tệp này bị tôi xoá mất do chạy
 * `git checkout -- common.css` (định hoàn tác một sửa đổi của chính tôi,
 * nhưng lệnh đó xoá luôn MỌI thay đổi chưa commit — lần commit gần nhất
 * đụng tệp này là 2026-10-10).
 *
 * Hai khối iziModal bên dưới chép NGUYÊN VĂN từ theme.css, vốn ghi rõ
 * "đặt Y HỆT ở HAI tệp" nên khớp đúng bản đã mất.
 * Khối trình đơn ở cuối chép lại từ nội dung đọc được trong phiên.
 * ###################################################################### */

/* ======================================================================
   HỘP THOẠI / THÔNG BÁO TRÊN ĐIỆN THOẠI  (≤600px)      [thêm 2026-10-12]
   ----------------------------------------------------------------------
   Khối này được đặt Y HỆT ở HAI tệp vì không tệp nào phủ hết được:
     - assets/css/common.css : mọi trang quản trị + các trang công khai
                               dùng chung client/viewpart/HeadMeta.html
     - assets/css/theme.css  : các trang công khai tự khai <head> riêng
                               (trang chủ, chi tiết tập dữ liệu, tin tức…)
   SỬA MỘT TỆP THÌ PHẢI SỬA TỆP CÒN LẠI.
   Toàn bộ nằm trong @media nên máy tính KHÔNG đổi gì.
   ====================================================================== */
@media (max-width: 600px) {

    /* --- 1. Hộp thoại khai bề rộng cố định ngay trong thẻ ---------------
       Đo trên màn 375px: #show-guide-popup khai min-width:800px -> thẻ bị
       đẩy lòi 87px ra ngoài mép phải; #show-guide-group khai 1000px -> lòi
       191px, gần như không bấm tới. Kiểu nội tuyến chỉ thua !important,
       nên ở đây bắt buộc dùng !important. Còn 5 chỗ tương tự bên quản trị. */
    .modal .modal-dialog {
        min-width: 0 !important;
        max-width: none !important;
        width: auto !important;
        margin: 12px 10px !important;
    }
    /* .modal-dialog-centered biến thẻ cha thành flex: thẻ con co lại bằng nội dung
       (đo được 110px với hộp còn rỗng). Ép đầy bề ngang cho cân. */
    .modal .modal-dialog-centered .modal-content { width: 100%; }
    .modal .modal-content {
        border-radius: 14px;
        border: none;
        box-shadow: 0 18px 50px rgba(15, 23, 42, .28);
    }
    /* KHÔNG đặt max-height + overflow cho .modal-body: chính thẻ .modal đã cuộn rồi
       (bootstrap bật .modal-open .modal{overflow-y:auto}). Thêm hộp cuộn thứ hai lồng
       vào nhau trên điện thoại rất khó dùng, lại cắt mất các danh sách thả xuống
       (select2…) nằm trong hộp thoại. Đo trên 375x812: không hộp nào cao quá màn hình. */

    /* --- 2. Vùng chạm ----------------------------------------------------
       Đo được: nút chính của các hộp Đăng nhập / Đăng ký / Quên mật khẩu chỉ
       cao 33px, ô nhập của "Đổi thông tin tài khoản" chỉ 27px, dấu × chỉ 26px.
       Khuyến nghị chung cho cảm ứng là 44px. */
    .modal .modal-content .btn,
    .modal .modal-content button:not(.close):not(.modal-close):not(.iziModal-button) {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .modal .modal-content input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]),
    .modal .modal-content select,
    .modal .modal-content textarea,
    .modal .modal-content .form-control {
        min-height: 44px;
        /* 16px: dưới mức này Safari trên iPhone tự phóng to trang khi bấm vào ô. */
        font-size: 16px;
    }
    .modal .modal-content textarea { min-height: 88px; }
    /* account.html có <style> nội tuyến ghim min-height:0!important cho 2 nút của
       hộp Đổi mật khẩu. Bộ chọn đó có id nên luật chung ở trên không với tới;
       phải viết lại với độ ưu tiên cao hơn. Đây là chỗ DUY NHẤT trong dự án. */
    #modalChangePass .modal-content .action-button button { min-height: 44px !important; }

    .modal .modal-content .close,
    .modal .modal-content .modal-close {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        line-height: 1;
        opacity: .8;
    }

    /* --- 3. Hàng nút dưới chân: chia đều cả hàng cho dễ bấm ------------- */
    .modal .modal-footer {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding: 12px 14px;
    }
    .modal .modal-footer > .btn,
    .modal .modal-footer > button {
        flex: 1 1 130px;
        margin: 0 !important;
        min-width: 0;
    }

    /* --- 4. iziModal (hộp thoại dùng ở màn khai thác dữ liệu, bình luận…) -
       Thư viện đặt sẵn width:700. Đo được trên màn 375px: rộng 383px, lệch
       trái -4px, tức lòi 4px và dán sát hai mép, nhìn như bị cắt. */
    /* SỬA 2026-10-14 — `margin:0` ở bản đầu làm hộp DÍNH LÊN ĐỈNH MÀN.
       iziModal canh giữa bằng `top:0;bottom:0;margin:auto`; bỏ margin là mất canh.
       Đo trên /lien-he màn 375px: hộp "Câu hỏi của tôi" nằm ở y 0..347, đầu thẻ
       chui xuống DƯỚI thanh đầu trang -> mất tiêu đề và **nút × bấm không được**
       (elementFromPoint ở giữa nút X trả về .navbar-toggler-icon).
       Nay canh giữa bằng transform (giống .lc-pop-modal) và chặn chiều cao để hộp
       dài vẫn cuộn được bên trong chứ không lòi ra ngoài màn. */
    .iziModal {
        width: calc(100% - 20px) !important;
        max-width: calc(100% - 20px) !important;
        left: 10px !important;
        right: 10px !important;
        top: 50% !important;
        bottom: auto !important;
        margin: 0 !important;
        transform: translateY(-50%) !important;
        max-height: calc(100vh - 24px) !important;
        border-radius: 12px !important;
    }
    /* Hộp dài hơn màn: cho phần thân cuộn, đầu thẻ ở lại để luôn bấm được nút ×. */
    .iziModal .iziModal-content { max-height: calc(100vh - 24px - 48px); overflow-y: auto; }
    .iziModal .iziModal-header { padding-left: 14px; padding-right: 14px; }
    .iziModal .iziModal-content { padding: 14px !important; }
    .iziModal .iziModal-button { width: 44px; height: 44px; }

    /* --- 5. Mẩu thông báo (iziToast): chừa lề, chữ không bị ép ---------- */
    .iziToast-wrapper { padding: 0 8px; }
    .iziToast { width: 100%; border-radius: 10px; }
    .iziToast .iziToast-message { font-size: 13.5px; line-height: 1.45; }

    /* --- 6. Hộp xác nhận dùng chung (LcConfirm) ------------------------- */
    /* Lớp phủ đã là flex và tự chừa 20px mỗi bên; chỉ cần bảo thẻ ĐỪNG co lại.
       (Lần đầu tôi đặt calc(100% - 28px) làm thẻ hẹp đi còn 298px — hẹp hơn cả lúc chưa sửa.) */
    .pcf-card { width: 100% !important; flex: 1 1 auto; }
    .pcf-card .pcf-x { width: 40px; height: 40px; }
}

/* ============================================================================
 * iziModal TỪ 601px TRỞ LÊN: luôn chừa lề hai bên            (2026-10-14)
 * ----------------------------------------------------------------------------
 * showCustomDialog/showPrimaryDialog khai bề rộng cố định (860px cho "Câu hỏi
 * của tôi", 760px cho "Chi tiết API", 600px cho các hộp còn lại). Khi cửa sổ hẹp
 * hơn con số đó, thư viện chỉ kẹp đúng bằng bề ngang màn: đo trên màn 700px ra
 * hộp 700×226 nằm ở x 0..700 — DÁN SÁT hai mép, góc bo mất tác dụng, nhìn như vỡ.
 * Khối ≤600px ở trên đã chừa 10px mỗi bên; đây là phần cho khoảng còn lại.
 *
 * SỬA 2026-10-20 — BẪY: bản đầu đặt `max-width: calc(100% - 32px) !important`.
 * iziModal KHÔNG đặt `width` mà đặt `max-width` NỘI TUYẾN (recalcWidth:
 * `this.$element.css("max-width", this.options.width)`), nên luật !important này
 * đè luôn bề rộng khai báo của MỌI hộp thoại. Đo trên màn 1400px: hộp "Thành công"
 * khai 600px ra 1257px — đúng triệu chứng "popup thông báo quá to".
 * Nay đặt `width` thay vì `max-width`: bề rộng khai báo (max-width nội tuyến) vẫn
 * là trần, `width` chỉ kẹp lại khi cửa sổ hẹp hơn, `margin:auto` của thư viện giữ
 * nguyên việc canh giữa.
 * ========================================================================== */
@media (min-width: 601px) {
  .iziModal {
    width: calc(100% - 32px) !important;
    border-radius: 12px !important;
  }
}

/* ============================================================================
 * THANH TRÌNH ĐƠN CỔNG CÔNG KHAI — KHỔ MÀN TRUNG BÌNH
 * ----------------------------------------------------------------------------
 * [KHÔI PHỤC 2026-10-17] Hai khối dưới đây bị mất khi tôi chạy `git checkout`
 * lên common.css; chép lại từ nội dung đã đọc được trong phiên làm việc.
 * Phần thân luật là NGUYÊN VĂN; riêng mấy dòng đầu của chú thích này là viết lại
 * (bản gốc dài hơn, tôi chỉ đọc được từ dòng "Có thanh cuộn ngang…" trở xuống).
 *
 * Có thanh cuộn ngang và mục cuối bị khuất.
 * Nguyên nhân: .nav-link để padding 20px ĐỀU BỐN PHÍA -> riêng lề ngang đã
 * ăn 40px/mục × 7 mục = 280px. Hạ lề ngang còn 12px ở khoảng ≤1365px là thu
 * được 112px, dư sức chứa (đo lại: #main_nav 776px, hết x=1206 < 1280).
 * Không đụng ≥1366px để màn rộng giữ nguyên khoảng thở như cũ.
 * ========================================================================== */
@media (max-width: 1365px) {
  .lc-nav-ck .nav-link { padding-left: 12px !important; padding-right: 12px !important; }
}

/* Nút ba gạch của bootstrap trên hai trang này chỉ cao 29px — dưới mức chạm. */
@media (max-width: 1199px) {
  .lc-top-ck .navbar-toggler,
  .navbar .navbar-toggler.ml-auto {
    min-width: 42px; min-height: 42px;
    display: inline-flex; align-items: center; justify-content: center;
  }
}
