.hide, .hide-action, .action-hide {
    display: none !important;
}

/* MENU MOBILE */
.mobile-bottom-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: space-around;
    padding: 8px 0 15px 0;
    z-index: 999;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
  }
 
  .menu-badge {
    position: absolute;
    top: 3px;
    right: 5px;
    background-color: red;
    color: white;
    padding: 2px 6px 1px 6px;
    font-size: 10px;
    letter-spacing: 0.1px;
    vertical-align: baseline;
    border: 1px solid transparent;
    border-radius: 100px;
    white-space: nowrap;
    text-align: center;
    line-height: 1.5384616;
    font-weight: 500;
    display: inline-block;
    min-width: 10px;

    /* font-size: 10px; */
    /* padding: 2px 4px; */
    /* border-radius: 10px; */
    /* font-weight: bold; */
    /* line-height: 1; */
    /* border-radius: 100px; */
    /* display: inline-block; */

    /* padding: 2px 6px 1px 6px;     		
    font-size: 10px;
    letter-spacing: 0.1px;
    vertical-align: baseline;
    background-color: transparent;
    border: 1px solid transparent;     		
     */
  }


  .mobile-bottom-menu .menu-item {
    flex: 1;
    text-align: center;
    text-decoration: none;
    font-size: 11px;
    color: #333;
    position: relative; /* cần để badge định vị tuyệt đối theo icon */
  }

  
  .mobile-bottom-menu .size-2x {
    font-size: 30px;
  }

  .mobile-bottom-menu .menu-item span {
    /* font-size: 25px; */
    display: block;
  }

  /* MENU */

  .kanban-menu-on-top{
    padding-bottom: 5px; 
    padding-right: 10px; 
  }
  .task-list-user{
    padding-left: 10px; 
  }

  #targetPoint0, 
  #targetPoint1, 
  #targetPoint2{
        scroll-margin-top: 50px; /* Khoảng đệm khi cuộn đến */
  }


  

  .app-top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    background-color: #ffffff;
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    z-index: 999;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    font-family: Arial, sans-serif;
    height: 50px;
  }

  .app-top-bar .menu-item {
    flex: 1;
    text-align: center;
  }
  

 
   
  /* Hiển thị chỉ trên mobile */
  @media (min-width: 768px) {
        .mobile-bottom-menu, .fab-container {
            display: none;
        }

        #fabMenu{
            display: none;
        }
  }


/* Mobile view */
@media (max-width: 768px) {
        body {
        font-size: 17px;
        }

        .mobile-view-pdf{
        font-size: 17px;
        }
        .page-content {
        padding-bottom: 70px;
        }

        .login-container .page-container {
            padding-top: 0px;
        }
        .dropdown-menu{
            font-size: 15px;
        }

        h6.panel-title, .h6.panel-title {
        font-size: 17px;
        }

        .paging_full_numbers {
            padding: 5px;
        }

        .media-left, .media > .pull-left {
            padding-right: 0px;
        }

        .table-lg > thead > tr > th, .table-lg > tbody > tr > th, .table-lg > tfoot > tr > th, .table-lg > thead > tr > td, .table-lg > tbody > tr > td, .table-lg > tfoot > tr > td {
            padding: 5px 10px;
        }

       

        .checker, .checker span, .checker input {
            transform: scale(1.2);
        }

        div.dataTables_paginate.paging_full_numbers {
        display: flex;
        flex-wrap: wrap;         /* Cho phép các nút xuống dòng */
        justify-content: center; /* Canh giữa các nút */
        gap: 5px;                /* Khoảng cách giữa các nút */
        margin-top: 10px;
        }

        #getdatatable_info {
        padding:5px;
        }
        
        .paging_full_numbers a.paginate_button,
        .paging_full_numbers a.paginate_active {

        border-radius: 5px;
        padding: 4px 8px;
        margin: 2px;
        cursor: pointer;

        display: inline-block;
        background-color: #29B6F6;
        border: 0;
        color: #fff;
        }

        
        .mobile-avatar{
            height: 30px;
        }
        .mobile-bottom-menu .myavatar,
        .profile .myavatar
        {
            height: 30px;
            width: 30px;
            margin-top: -2.5px;
            border-radius: 50%;
        }

        .dataTables_wrapper {
            height: 44px;
            background: #f7f7f8;
        }

        input[type="search"] {
            padding: 0 28px;
            -webkit-box-sizing: border-box;
            box-sizing: border-box;
            width: 100%;
            height: 100%;
            display: block;
            border: none;
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
            border-radius: 10px;
            border-radius: 8px;
            font-family: inherit;
            color: #000;
            font-size: 17px;
            font-weight: 400;
            z-index: 30;
            background-color: #e8e8ea;
            position: relative;
        }

        .blockheader .title {
            border: none;
            padding: 0;
            border-radius: 0;
            -moz-border-radius: 0;
            background-color: #e8e8ea;
        }

        .paging_full_numbers a.paginate_button, .paging_full_numbers a.paginate_active {
            color: #fff !important;
        }

        .dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
            background-color: #EF6C00;
            font-weight: bold;
        }

        .paging_full_numbers a.paginate_button:hover {
            background-color: #EF6C00;
        }
        
        .paging_full_numbers a.paginate_active {
            background-color: #EF6C00;
        }
        

        .navbar-brand > img {
            height: 25px;
        }
        .content th {
            background-color: #f7f7f8;
        }
    
        .label { 
            padding: 5px 5px 4px 5px;
        }

        .breadcrumb-elements-toggle [class^="icon-"], 
        .heading-elements-toggle [class^="icon-"] {
            font-size: 25px;
        }
        

        .blockcontent {
            border: none;
            padding: 0;
            border-radius: 0;
            -moz-border-radius: 0 ;
        }

        .dataTables_processing {
            position: fixed;
            height: 50px;
            top: 40%;
        }

        #viewerContainer {
            top: 0px;
        }
        #toolbarContainer, .findbar, .secondaryToolbar {
            height: 0px;
        }

        .mobile-row-check{
            padding: 5px;
        }

        .select2-selection--multiple .select2-selection__rendered{
            white-space: unset;
        }

        [class^="label-touser"],  [class^="label-sendout"] {
            font-size: 13px;
            margin: 2px;
        }
        #name{
            resize: vertical; 
            min-height: 120px;
            width: 100%;
            max-width: 600px;
            height: auto;
        }
        textarea.form-control, input.form-control {
            font-size: 16px;
        }
        td {
            font-size: 16px;
        }
        #getdatatable td{
            padding-right: 10px;
            padding-left: 10px;
        
        }

        #getdatatable td a ,
        .kanban-title,
        .kanban h6 a {
            font-weight: bold;
            font-size: 17px;
        }

        .card-container {
            position: relative; /* Để .mobile-check định vị so với thẻ này */
    
        }

        .card-content{
            padding-right: 0;
        }

        .btn-dropdown .icons-list > li { 
            font-size: 16px;
        }

        .btn-dropdown{
            height: 36px;
        }

        .mobile-check {
            position: absolute;
            top: 5px;     /* Nằm trên thẻ */
            right: -2px;   /* Nằm ngoài bên phải */
            /* padding-right: 5px; */
        }

        .mobile-file-content .category-content{
            padding: 0;
        } 

        .mobile-file-content-sub{
            display: none;
        }
        
        /* 
        .width-200{
            width: 200px !important;
        }
        .width-250{
            width: 250px !important;
        } */

            
        #fabMenu {
            position: fixed;
            bottom: 140px; /* nằm trên menu bottom (tùy chiều cao menu) */
            right: 20px;
            width: 50px;
            height: 50px;
            text-align: center;
            border-radius: 50%;
            border: none;
            background-color: #FF5722;
            color: white;
            font-size: 20px;
            box-shadow: 0 2px 6px rgba(0,0,0,0.3);
            display: none; /* ẩn mặc định */
            z-index: 8888;
            cursor: pointer;
            transition: opacity 0.3s ease;
            /* Thêm phần căn giữa */
            display: flex;
            align-items: center;
            justify-content: center;

            /* Loại bỏ padding mặc định (nếu có) */
            padding: 0;
        }

        


        .sp-palette .sp-thumb-el {
            width: 30px;
            height: 30px;
        }

        
        .fab-container {
                position: fixed;
                bottom: 80px;
                right: 20px;
                z-index: 1000;
                display: flex;
                flex-direction: column;
                align-items: flex-end;
                gap: 10px;
          }
          
          .fab {
                width: 56px;
                height: 56px;
                border-radius: 50%;
                background-color: #FF5722;
                color: white;
                font-size: 24px;
                border: none;
                box-shadow: 0 4px 8px rgba(0,0,0,0.3);
                display: flex;
                align-items: center;
                justify-content: center;
                cursor: pointer;
          }
          
          .fab-menu {
                background-color: #FF5722;
                color: #fff;
                padding: 10px 16px;
                border-radius: 24px;
                font-size: 16px;
                box-shadow: 0 4px 8px rgba(0,0,0,0.3);
                white-space: nowrap;
                opacity: 0;
                transform: translateX(0);
                pointer-events: none;
                transition: all 0.3s ease;
                position: relative;
                right: 0;

                /* 👇 Đảm bảo mọi nút cùng chiều rộng */
                width: 160px;
                display: flex;
                align-items: center;
                justify-content: flex-start;
                gap: 8px;

          }

          .fab-menu span {
                flex-grow: 1;
                text-align: left;
          }
          
          .fab-container.active .fab-menu:nth-child(1) {
                transform: translateX(-70px);
                opacity: 1;
                pointer-events: auto;
          }
          
          .fab-container.active .fab-menu:nth-child(2) {
                transform: translateX(-70px);
                opacity: 1;
                pointer-events: auto;
          }

         

          .menu-on-top .on-top-hide{                    
                    display:unset;
            }

          .menu-on-top .on-top-show{               
                    display: none;
            }

        

          .kanban-menu-on-top .on-top-content{
            padding-bottom: 5px;
          }

          .page-header-default {
            display: none !important;
          }

          .mobile-show{
                display: inline;
          }

          .btn-group.mobile-show{
                display: inline-block;
            }

          .menu-on-top{
            padding-left: 10px;
          }

        .status-mark {
                display: inline-block !important;
        }        

        /* .ui-pnotify.ui-pnotify-fade-normal.ui-pnotify.ui-pnotify-move {
            padding-left: 20px;
        } */

        .progress-dropdown .icon-pencil {
            font-size: 30px;
        }


        .ui-pnotify-mobile-able.ui-pnotify {    
            width: 100vw !important;
        }

        .add-fr-fillter .category-title {      
            padding: 0px 20px;
         }

        .add-fr-fillter  .category-content {
            padding: 5px 10px 5px;
        }
        .add-fr-fillter  .icons-list{
            display: none;
        }

        .item-line-right {
            display: block;
            line-height: 1;
            position: absolute;
            top: 10px;
            right: 0;
            margin-top: -8px;
        }

        .task-details {
            font-size: 12px;
        }

        .task-comment{
            font-size: 14px;
        }

        .form-horizontal .control-label,
        .modal-dialog label,
        .doc-details .table-borderless td,
        .task-details .table-borderless td,
        .post-details .table-borderless td,       
        .to-user-department{
            font-size: 12px;
        }
        .file_infor {
            font-size: 12px;
        }

       
        #navbar-mobile{
            background-color: #f5f5f5;
            padding: 0;
            margin: 0;
            border: 0;
        }

       

        .mobile-file{
            display: block;
        }
        
        .inline-block {
            display: inline-block;
        }
        
        .display-block, label.display-block {
            display: block;
        }

        .full-screen {
            height: 100vh;
          }

         
        #navbar-mobile{
            margin-bottom: -5px;
            background-color: #f5f5f5;
        }  

        .bell-list {
            margin: 0px 5px 5px; 
            padding: 0px 5px 0px;
            display: block;            
            background-color: #fff;
            border: 1px solid transparent;
            border-radius: 3px;
            -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
            box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);

        }

        .bell-list .no-new {
            color: #333;
            font-size: 12px;
        }
        .bell-list .icon-sync {
            display: none;
        }


          


  }

  /* END MOBILE VIEW */

  .bg-label {
    margin-right: 5px;
  }

  #backToTop {
    position: fixed;
    bottom: 80px; /* nằm trên menu bottom (tùy chiều cao menu) */
    right: 20px;
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 50%;
    border: none;
    background-color: #f39c12;
    color: white;
    font-size: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    display: none; /* ẩn mặc định */
    z-index: 8888;
    cursor: pointer;
    transition: opacity 0.3s ease;
    /* Thêm phần căn giữa */
    display: flex;
    align-items: center;
    justify-content: center;

    /* Loại bỏ padding mặc định (nếu có) */
    padding: 0;
}

#backToTop:hover {
    background-color: #e67e22;
}

  .rotate-45 {
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    display: inline-block;
  }

  .rotate-0 {
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    display: inline-block;
  }




.bottom-5 {
    padding-bottom: 5px;
}
.bottom-0 {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.marginl-5 {
    margin-left: 5px;
}
.marginl-10 {
    margin-left: 10px;
}

.marginl-20 {
    margin-left: 20px;
}

.margint-50 {
    margin-top: 50px;
}

.size-12 {
    font-size: 12px !important;
}

.size-13 {
    font-size: 13px !important;
}

.size-14 {
    font-size: 14px !important;
}
.size-16 {
    font-size: 16px !important;
}

.size-20 {
    font-size: 20px !important;
}

.size-25 {
    font-size: 25px !important;
}

.fab-mobile.icon-arrow-up13, .fab-mobile.icon-plus22 {
    font-size: 40px !important;
}
.fab-mobile.icon-floppy-disk{
    font-size: 20px !important;
}
.fab-mobile.icon-file-pdf{
    font-size: 25px !important;
}
.fab-mobile.icon-comment{
    font-size: 25px !important;
}



  #mobile-loading-screen {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255,255,255,0.9);
    justify-content: center;
    align-items: center;
  }
  
  .loading-spinner {
    width: 48px;
    height: 48px;
    border: 5px solid #ccc;
    border-top-color: #2c89ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }
  
  @keyframes spin {
    to { transform: rotate(360deg); }
  }


  #page-loading-spinner {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
  }

#topMenu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    color: white;
    padding: 5px 5px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    z-index: 1000;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

#topMenu.show {
    transform: translateY(0);
}

#topMenu  .position-left, 
.menu-on-top .position-left{
    margin-right: 0;
}
#topMenu .on-top-hide{
    display: none;
}

#topMenu .on-top-show{               
    display:unset;
}

.menu-content a {
    color: white;
    text-decoration: none;
}
.kanban-title{
    font-weight: bold;
}

#outputTextarea{
    padding: .5rem;
    --tw-bg-opacity: 0.8;
    background-color: rgba(255, 255, 255, var(--tw-bg-opacity));
    border: 1px solid #ddd;
    border-radius: .25rem;
    border-width: 1px;
    width: 100%;
    height: 12rem;
    margin-top: 1rem;

}


#dropzone {
    border: 2px dashed #888;
    background: #fff;
    padding: 10px;
    text-align: center;
    color: #666;
    transition: 0.3s;
    height: 60px;
}
#dropzone.dragover {
    background: #eef;
    border-color: #3399ff;
    color: #3399ff;
}
canvas {
    display: block;
    margin: 20px auto;
    border: 1px solid #ccc;
}
pre {
    background: #eee;
    padding: 10px;
    white-space: pre-wrap;
    word-break: break-word;
}

.google-btn {
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #444;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: box-shadow 0.2s ease;
    text-align: center;

  }
  
  .google-btn img {
    width: 20px;
    height: 20px;
  }
  
  .google-btn:hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }
  .login-bottom{
    height: 150px;
  }

  #telegram_qrcode img{
        display: inline-block;
  }

 