.overlay-bg{
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);    
    z-index: 0;
}
body .w-59{width: 14rem;}
body .text-blue-1000{
    color: #1a75bb;
}
#menu-dropdown{
    height: calc(100vh - 61px);
}
/* body .bg-gray-50{
    background-color: #f4f4f5;
} */
body .text-gray-900{
    color: #27272a;
}

/* width */
::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px 929191; 
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #929191; 
    border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #929191; 
}
.active-link .nav-icon{
    background-color: #1d4ed8;
    color: #fff;
}
@media(min-width: 1025px){
    .min-220px{
        width: 220px;
    }
}
@media(min-width: 981px){
    body .main-content{
        margin-left: 15rem;
        
    }
    
}
.top-bar-navigation{
    margin-left: 15rem;
}
.text-xxs{
    font-size: 11px;
}
.filepond--credits{
    display: none !important;
}
.min-h-300px{
    min-height: 300px;
}
.max-w-xxs{
    max-width: 7rem;
}
.w-3xs{
    width: 16rem;
}
.h-150x{
    height: 150px;
}
button:disabled{
    background-color: #959595 !important;
}
.division-warehouse-inner{
    margin-left: 15px;
    border-left: 1px solid #939393;
    padding-left: 15px;    
}
.division-warehouse-inner .dw-item{
    position: relative;
    margin-bottom: 8px;
}
.division-warehouse-inner .dw-item::before{
    background-color: #939393;
    height: 1px;
    position: absolute;
    left: -15px;
    content: "";
    width: 12px;
    top: 50%;
}
.min-h-200{
    min-height: 200px;
}
@media(min-width: 1024px){
    .lg\:w-2xs{
        width: 288px;
    }
    .sm\:mr-5{
        margin-right: 3rem;
    }
}
.sm-filepond .filepond--drop-label > label{
    font-size: 10px;
}
.sm-filepond .filepond--root{
    margin-bottom: 0;
}
.capitalize{
    text-transform: capitalize;
}
.h-50px{
    height: 50px;
}
.collapsible {
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all .4s;

    position: absolute;
    top: 0;
    width: 100%;
    left: 0;
    z-index: 99999999;
    background-color: #fff;
    box-shadow: 0 0 20px #ddd;
    padding: 10px;
}
.collapsible.is-open {
    opacity: 1;
    pointer-events: auto;
    height: auto;
}
.link-dropdown .rounded-md:not(.nav-button-parent){
    border-radius: 0;
}
.link-dropdown .shadow-md:not(.nav-button-parent){
    box-shadow: none;
}
.link-dropdown .mt-2{
    margin-top: 0 !important;
}
.hover\:text-blue-500:hover{
    color: #3b82f6;
}
.pr-35{
    padding-right: 35px;
}
.clear-input{
    padding: 5px 7px;
    height: 42px;
    position: absolute;
    right: 0;    
}
.clear-input:hover{
    background-color: rgb(240, 85, 85);
    color: #fff;
}
@media(min-width: 768px){
    .mobile-hidden{
        display: none;
    }
    .sm-w-half{
        width: 45%;
    }
}
@media(max-width: 767px){
    main .sidebar-mobile{
        display: block;
        /* margin-top: -50px; */
    }
    .mobile-fixed-dropdown{
        position: fixed;
        background-color: #fff;        
        right: 8px;
        box-shadow: -2px 2px 14px #ddd;    
    }
    .mobile-fixed-dropdown.left-0{
        left: 0;
        right: unset;
    }
    .sidebar{
        display: none !important;
    }
    .top-bar-navigation{
        display: flex;
        justify-content: space-between;
        width: 100%;
        margin-left: 0;
        align-items: center;   
    }
    .mobile-hidden-sm{
        display: none;
    }
    main{
        display: block !important;
        width: 100%;
    }
    main .main-content > .px-6{
        padding-left: 0;
        padding-right: 0;
    }
  
    .page--name > .flex{
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 10px 0;   
    }
    .page-name-flex{
        display: block;
        /* margin-bottom: -40px; */
        width: 100%;
        position: relative;        
        left: 0;
        z-index: 99;
        top: 7%;
        font-size: 10px;   
        overflow-x: auto;
    }
    .page--name .gap-2,
    .page--name .gap-1{
        gap: 0;
    }
    main{
        margin-top: 10px;
        padding-left: 5px;
        padding-right: 5px;    
    }
    .search--tool  .my-4{
        margin-top: 0;
        margin-bottom: 0;
    }
    #sm-drawer{
        z-index: 99999;    
    }
    .sidebar-sm{
        box-shadow: 0 0 10px #ddd;     
    }    
}
/* Ensure main content never overflows the screen width */
.main-content {
    max-width: 100vw;
    overflow-x: hidden;
}

/* Force tables to be scrollable horizontally on mobile */
.table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Mobile specific tweaks */

@media(max-width: 1024px) and (min-width: 768px){
    #sm-drawer{
        z-index: 99999;    
    }
    .mobile-fixed-dropdown.left-0{
        left: 0;
        right: unset;  
    }
    .mobile-fixed-dropdown{
        position: fixed;
        background-color: #fff;
        right: 8px;
        box-shadow: -2px 2px 14px #ddd;
    }
    .font-sans .top-bar-navigation{
        margin-left: 0;
        display: flex;
        align-items: center;
    }
    .sidebar{
        display: none !important;
    }
}
.overflow-auto{
    overflow: auto;
}
.z-9999{
    z-index: 9999;
}
#reader__scan_region img{
    margin: 0 auto;
}
#reader{
    border-radius: 10px;
    padding-bottom: 10px; 
    width: 100% !important; 
}
.pl-60{
    padding-left: 16.5rem;
}
.text-xxxs{
    font-size: 8px;
}
.min-h-600px{
    min-height: 600px;
}
.min-widget-height{
    min-height: 328px;
}
.min-widget-placeholder{
    min-height: 450px;
}
.select-max-w{
    max-width: 163px !important;
}
body .z-10{
    z-index: 9999;
}
#modal-container{
    position: relative;
}
input[type="checkbox"]:checked {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-color: currentColor; 
}
/* Manual fix for radio buttons when the Tailwind Forms plugin is missing */
input[type="radio"]:checked {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-color: currentColor; /* Uses your text-blue-600 color */
}
body .swal2-container{
    z-index: 20699;
}
@media(max-width: 1416px){
    .responsive-hidden-text{
        display: none;
    }
}
@media(max-width: 1326px){
    .page--name > div > a > span,
    .page--name  div.link-dropdown  button > span{
         font-size: 10px;
    }
    .page--name > div > a > .mr-1,
    .page--name  div.link-dropdown > button > .mr-1{
        margin-right: 0;
    }
    .page--name > div > a,
    .page--name  div.link-dropdown  button{
        padding-left: 4px;
        padding-right: 4px;
    }
}
@media(max-width: 1228px){
    .page--name > div > a > span,
    .page--name  div.link-dropdown button > span{
        display: none;
    }
    .page--name  div.link-dropdown  button,
    .page--name > div > a{
        padding-left: 10px;
        padding-right: 10px; 
    }
    .page--name > div.flex{
        gap: 15px;
    }
    .search--tool > .my-4{
        margin: 0;
    }
    .md-hidden{
        display: none;
    }
    .md-flex{
        display: flex;
    }
    div.open-tools{
        gap: 0;
        box-shadow: 0 0 20px 0px rgba(0,0,0,0.2);
    }
    .page--name > div > a svg,
    .page--name div.link-dropdown button svg{
        width: 20px;
        height: 20px;
    }
}
@media(max-width: 639px){
    .logo-mobile{        
        height: 3rem;        
    }
    .mobile-drawer{
        position: absolute;
        top: 0;
        left: 5px;  
    }
    main{
        margin-top: 60px;
    }
    .open-tools{
        margin-left: -120px;
        width: 91vw;   
    }
    .link-dropdown > .relative > .w-32{
        position: fixed;
        left: auto;
        right: auto;
    }
    .tab-nav-links a{
        font-size: 9px;
    }
    .tab-nav-links a > div{
        gap: 5px;
    }
}