@media all and (min-width: 992px) {
    .navbar .dropdown-menu-end {
        right: 0;
        left: auto;
    }
    
    .navbar .nav-item .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transition: .3s;
        margin-top: 0;
    }
    .brand .mode-toggle {
        display: none;
    }
    .navbar .nav-item:hover .nav-link {
        color: #fff;
    }
    
    .navbar .dropdown-menu.fade-down {
        top: 80%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
    }
    
    .navbar .dropdown-menu.fade-up {
        top: 180%;
    }
    
    .navbar .nav-item:hover .dropdown-menu {
        transition: .3s;
        opacity: 1;
        visibility: visible;
        top: 100%;
        transform: rotateX(0deg);
    }
    .navbar-expand-lg .navbar-collapse {
        gap: 20px;
        flex: 3;
        justify-content: flex-end;
    }
}

@media all and (min-width: 981px) {
    .d-sm-none {
        display: flex!important;
    }
}
@media all and (max-width: 980px) {
    nav.sidebar {
        transition: .45s ease-in-out;
        width: 75% !important;
        max-width: 250px;
        transform: translateX(-100%);
        z-index: 9999;
    }
    #product-list {
        grid-template-columns: repeat(1, minmax(100px, 950px));
    }
    .d-sm-none {
        display: none!important;
    }
    .menu-open .sidebar {
        transform: translateX(0%);
    }
    .main, .menu-open .main {
        width: 100%;
    }
    .menu-open .nav-link span {
        display: block;
    }
    .menu-open .navbar-logo img.logo {
        display: block;
    }
    .navbar-logo img.favicon, .menu-open .navbar-logo img.favicon {
        display: none;
    }
    .menu-toggle {
        display: none;
    }
    .menu-toggle-mobile {
        display: block;
        font-size: 24px;
        margin-right: 10px;
        color: var(--dark);
        display: flex;
        align-items: center;
    }
    .menu-open .menu-toggle-mobile {
        position: fixed;
        width: 100%;
        height: 100%;
        background: #00000042;
        left: 0;
        top: 0;
        backdrop-filter: blur(0.7px);
        z-index: 99;
    }
    .grid4.dash-card {
        grid-template-columns: repeat(2, minmax(100px, 550px));
    }
    .grid2 {
        grid-template-columns: repeat(1, minmax(100px, 750px));
    }
    .mt-sm-3 {
        margin-top: 1rem !important;
    }
    .d-sm-none {
        display: none !important;
    }
    .card .head .title {
        font-size: 16px;
    }
    .filter-thead {
        gap: 10px;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .table-ox {
        overflow-x: auto;
        position: relative;
    }
    .top-info .action {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        flex-direction: column-reverse;
        gap: 15px;
    }
    .input-field {
        height: auto;
    }
    .mt-sm-2 {
        margin-top: 0.5rem !important;
    }
    .action .item {
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    .form-list.grid4 {
        grid-template-columns: repeat(2, minmax(100px, 550px));
    }
    .top-info.main {
        position: relative;
        top: 0;
    }
    .toast {
        position: fixed;
        top: 50px;
        right: 50%;
        z-index: 999;
        transform: translateX(50%);
        max-width: calc(100% - 25px);
    }
    .action .item:empty {
        display: none;
    }
    .listItems li {
        word-break: break-word;
    }
    .h-menu {
        background: #fff;
        box-shadow: var(--shadow);
    }
    .login-card {
        padding: 2rem 2rem;
    }
    .login-card img {
        max-height: 175px;
        width: 100%;
        object-fit: contain;
    }
    .dash-card.v-center h2 {
        font-size: 20px;
    }
    .dash-card.v-center p {
        font-size: 12px;
    }
    .dash-card .icon-field {
        width: 35px;
        height: 35px;
    }
    .dash-card .icon-field .iconify {
        font-size: 18px;
    }
    .head.bg-slate-150 {
        align-items: flex-end;
    }
    .head.bg-slate-150 .title-field {
        flex-direction: column;
        align-items: flex-start;
    }
    h2.title.border-right {
        border: none;
    }
    .bread.main {
        flex-direction: column;
        padding: 5px 25px;
        height: auto;
        gap: 5px;
    }
    .bread.main .item {
        justify-content: center;
    }
    .bread.main ul {
        display: none;
    }
    .bread.main h2 {
        border: none;
    }
    .grid4 {
        grid-template-columns: repeat(2, minmax(100px, 550px));
        grid-gap: 10px 10px;
    }
    .grid4.mat-list {
        grid-template-columns: repeat(1, minmax(100px, 550px));
        grid-gap: 10px 10px;
    }
    #product-list .item {
        flex-direction: column;
        gap: 0;
    }
    #product-list .item .form-floating {
        flex: 0 0 auto !important;
        width: 100%;
    }
    #product-list .item button.btn-trash {
        position: absolute;
        right: 0;
        top: 0;
        display: flex;
        align-items: center;
        transform: translate(-5px, 12px);
    }
    .table-pag > .item {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        gap: 5px;
    }
    .table-pag .item .form-floating {
        min-height: auto;
    }
    .table-pag .item .per-page {
        margin-bottom: 0.75rem;
    }
    .table-pag .item .form-floating .dropdown.bootstrap-select.form-select.w-fit {
        height: auto;
    }
    .icon-card {
        font-size: 29px;
    }
    .report-card-list.grid5 {
        grid-template-columns: repeat(2, minmax(100px, 550px));
        grid-gap: 5px;
    }
    .fixed-bottom-menu {
        display: flex;
    }
    .main {
        padding-bottom: 76px;
    }
    .notifications-area-dr {
        max-width: 94vw !important;
    }
    .card .head {
        flex-wrap: wrap;
    }
    .cost-area label {
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
    }
    .cost-area p {
        font-size: 13px;
    }
    .cost-area {
        gap: 0.35rem 2rem;
        flex-wrap: wrap;
        margin-top: 1rem;
    }
    .user-manual-sidebar {
        display: none;
    }
    .um-item .body {
        max-height: 0;
        overflow: hidden;
        transition: max-height .2s ease;
    }
    .um-item.active .body {
        padding-top: 1rem;
        max-height: calc(100vh - 170px);
        overflow-y: auto;
    }
    .user-manual-page section {
        padding: 1.5rem;
    }
    .user-manual-page .section-title {
        font-size: 16px;
        margin-bottom: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .user-manual-page .section-title::after {
        content: '';
        width: 8px;
        height: 8px;
        border: 1px solid var(--dark);
        display: inline-block;
        border-top: none;
        border-left: none;
        transform: rotate(45deg);
        transition: .2s ease;
    }
    .user-manual-page .active .section-title::after {
        transform: rotate(225deg);
    }
    .sidebar .nav {
        height: calc(100vh - 130px);
    }
    a.menu-logout.nav-link {
        display: flex;
        min-height: 47px;
        background: var(--slate-100);
    }
    .form-list.grid3 {
        grid-template-columns: repeat(1, minmax(100px, 750px));
        gap: 0.5rem;
    }
    .device__list .item {
        grid-template-columns: repeat(1, minmax(100px, 550px));
        padding: 1rem;
    }
    button.more {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        bottom: -1px;
        left: 0;
        border-radius: 0 0 var(--radius) var(--radius);
        width: 100%;
        height: 40px;
        border: none;
        background: linear-gradient(0deg, var(--slate-5), var(--slate-5), #ffffff00);
        font-size: 24px;
        color: var(--text);
    }
    button.more .iconify {
        transition: .2s ease;
    }
    .active button.more .iconify {
        transform: rotate(180deg);
    }
    .device__list .item {
        max-height: 122px;
        overflow: hidden;
    }
    .device__list .active .item {
        margin-bottom: 22px;
        max-height: 1000px;
        overflow-y: auto;
    }
    .device__list .item-area {
        position: relative;
        transition: .2s max-height ease;
    }
}