:root {
        --primary-font-family: "Poppins", sans-serif;
        --secondary-font-family : "Readex Pro", sans-serif;
        --primary-color : #1E293B;
        --primary-color: #0d99ff;
        --secodary-color: #1E293B;
        --primary-bg : #1E293B;
        --primary-bg: #0d99ff;
        --primary-bg-hover: #0c85dd;
        --secodary-bg: #1e293b;
        --secodary-bg-hover: #0e141c;
        --light-bg: #EEF2FF;
        --light-bg-hover: #e0e4f1;
        --body-color: #000000;
        --body-color-2: #64748B;
        --body-color-3: #334155;
        --body-bg: #EEF2FF;
        --body-font-size: 0.875rem;
        --bg-hover: #DBEAFE;
 }
body {
    /* font-family: var(--primary-font-family); */
    font-family: var(--secondary-font-family);
    background-color: var(--body-bg);
    background: #f6f6f6;
    font-size: var(--body-font-size);
    color: var(--body-color);
}
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }

  /* Track */
  ::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
  }

  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: #ccd6df;
    border-radius: 50px;
  }

  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: var(--primary-bg);
  }
  a {
    text-decoration: none;
    color: inherit;
}
a:hover {
    color: var(--primary-color);
}
.font-primary {
     font-family:var(--primary-font-family);
}
.font-secondary {
     font-family:var(--secondary-font-family);
}
.text-primary {
    color: var(--primary-color) !important;
}
.text-color { color: var(--body-color);}
.text-color-1 {color: var(--body-color-2);}
.text-color-2 { color: var(--body-color-2);}
svg.svg-primary:hover path {
    fill: var(--primary-color);
}
.fs-75 { font-size: 0.75rem;}
label {
    font-weight: 500;
}

.form-control {
    border-color: rgb(231 234 243 / 70%);
    border-color: #cbd5e1;
    border-radius: 0.3125rem;
    box-shadow: none !important;
    font-size: var(--body-font-size);
    /* font-weight: 500; */
}
.form-control:not(.form-control-sm) {
    padding: 0.25rem 0.75rem;
    min-height: 2.625rem;
}
.form-control-sm {
    min-height: 2.25rem;
    padding: 0.25rem 0.75rem;
    font-size: .875rem;
}
.form-control::-moz-placeholder {
    color: #94A3B8;
}

.form-control::placeholder {
    color: #94A3B8;
}
.dropdown.bootstrap-select {
    padding: 0;
}

.bootstrap-select .btn.dropdown-toggle {
    padding: 0rem 0.75rem;
    background: none;
    border-color: #cbd5e1;
    height: 2.625rem;
    outline: 0 !important;
}

.bootstrap-select .btn.dropdown-toggle:focus {
    border-color: #86b7fe;
}

.bootstrap-select .dropdown-toggle .filter-option {
    height: auto;
}
.form-switch {
    padding-left: 3rem;
}
.form-switch-no-text {
    min-height: 1.25rem;
    padding-left: 2.5rem;
}
.form-switch .form-check-input {
    width: 2.5rem;
    height: 1.25rem;
    --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
    background-color: #94A3B8;
    background-size: 1.1rem;
    margin-top: 2px;
    margin-left: -3rem;
}
.form-switch.form-check-reverse {
    padding-right: 3.25em;
    padding-left: 0;
}
.form-switch-no-text .form-check-input {
    margin-left: -2.5rem;
    margin-top: 0px;
}
.form-switch .form-check-input:focus {
    --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
}
.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.form-check-input:focus {
    border-color: rgb(13 153 255 / 15%);
    box-shadow: 0 0 0 .25rem rgb(13 153 255 / 15%);
}
.btn:not(.btn-sm):not(.btn-lg) {
    padding: 0.5rem 1rem;
    font-size: var(--body-font-size);
}
  .btn-primary {
    --bs-btn-bg: var(--primary-bg);
    --bs-btn-border-color: var(--primary-bg);
    --bs-btn-hover-bg: var(--primary-bg-hover);
    --bs-btn-hover-border-color: var(--primary-bg);
    --bs-btn-active-bg: var(--primary-bg-hover);
    --bs-btn-active-border-color: var(--primary-bg-hover);
    --bs-btn-disabled-bg: var(--primary-bg);
    --bs-btn-disabled-border-color: var(--primary-bg);
}
.btn-outline-primary {
    --bs-btn-color: var(--primary-bg);
    --bs-btn-border-color: var(--primary-bg);
    --bs-btn-hover-bg: var(--primary-bg-hover);
    --bs-btn-hover-border-color: var(--primary-bg-hover);
    --bs-btn-active-bg: var(--primary-bg-hover);
    --bs-btn-active-border-color: var(--primary-bg-hover);
    --bs-btn-disabled-color:var(--primary-bg);
    --bs-btn-disabled-border-color: var(--primary-bg);
}
.btn-secondary {
    --bs-btn-bg: var(--secodary-bg);
    --bs-btn-border-color: var(--secodary-bg);
    --bs-btn-hover-bg: var(--secodary-bg-hover);
    --bs-btn-hover-border-color: var(--secodary-bg);
    --bs-btn-active-bg: var(--secodary-bg-hover);
    --bs-btn-active-border-color: var(--secodary-bg-hover);
    --bs-btn-disabled-bg: var(--secodary-bg);
    --bs-btn-disabled-border-color: var(--secodary-bg);
}
.btn-outline-secondary {
    --bs-btn-color: var(--secodary-bg);
    --bs-btn-border-color: var(--secodary-bg);
    --bs-btn-hover-bg: var(--secodary-bg-hover);
    --bs-btn-hover-border-color: var(--secodary-bg-hover);
    --bs-btn-active-bg: var(--secodary-bg-hover);
    --bs-btn-active-border-color: var(--secodary-bg-hover);
    --bs-btn-disabled-color:var(--secodary-bg);
    --bs-btn-disabled-border-color: var(--secodary-bg);
}
.btn-light {
    --bs-btn-color: var(--body-color);
    --bs-btn-bg: var(--light-bg);
    --bs-btn-border-color: var(--light-bg);
    --bs-btn-hover-color: var(--body-color);
    --bs-btn-hover-bg: var(--light-bg-hover);
    --bs-btn-hover-border-color: var(--light-bg);
    --bs-btn-focus-shadow-rgb: var(--light-bg);
    --bs-btn-active-bg: var(--light-bg-hover);
    --bs-btn-active-border-color: var(--light-bg-hover);
    --bs-btn-disabled-bg: var(--light-bg);
    --bs-btn-disabled-border-color: var(--light-bg);
}

.badge {
    --bs-badge-padding-x: 0.75rem;
    --bs-badge-padding-y: 0.5rem;
    --bs-badge-font-weight: 500;
    --bs-badge-color: #fff;
    font-size: var(--body-font-size);
}
.badge-outline {
    --badge-bg-color: transparent;
    --badge-color: #4f4f4f;
    --badge-border-color: #4f4f4f;
    background-color: var(--badge-bg-color);
    border: 1px solid var(--badge-border-color);
    color: var(--badge-color);
}
.badge-outline-success {
    --badge-border-color: #269360;
    --badge-color : green;
}
.badge-outline-danger {
    --badge-border-color: rgb(220,53,69);
    --badge-color: rgb(220,53,69);
}
.badge-outline-primary {
    --badge-border-color: var(--primary-color);
    --badge-color: var(--primary-color);
}
.badge-sm {
    --bs-badge-padding-y: 0.3rem;
    --bs-badge-padding-x: 0.65rem;
}
.modal-backdrop.show {
    opacity: 1;
    background-color: rgb(6 0 0 / 20%);
    backdrop-filter: blur(3px);
}
.card {border-color: rgb(241 241 241);background-color: rgb(255, 255, 255);/* box-shadow: rgba(23, 31, 45, 0.12) 0px 5px 20px 0px; */border-radius: 0.5rem;box-shadow: rgb(23 31 45 / 5%) 0px 3px 10px 0px;}

.card:hover {
    box-shadow: rgba(23, 31, 45, 0.12) 0px 2px 10px 1px;
}

.card-header {
    background-color: transparent;
    padding: 0.875rem 1rem;
    border-bottom-color: #eae5e5;
}
.card-header {
    & h6, & .h6 {
        font-size: 1.125rem;
    }}
.card-body {
    padding: 1rem 1rem;
}
.sidenav-button .btn {
    width: 2.75rem;
    line-height: 2.5rem;
    padding: 0 !important;
}
.sidenav-button {
    margin-bottom: 1.5rem;
}
aside.sidenav {
    background: var(--primary-bg);
    background: #1E293B;
    width: 6.75rem;
    position: fixed;
    left: 0;
    bottom: 0;
    top: 0;
    color: #fff;
    z-index:99;
    & .nav-item {
    margin-bottom: 1rem;
    }
    & .nav-item .nav-link {
    padding: 0.25rem 0.35rem;
    font-family: var(--secondary-font-family);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    }
    & .nav-item .nav-link .nav-link-icon {
    display: inline-block;
    width: 3.65rem;
    border-radius: 50px;
    padding-block: 0.25rem;
    margin-bottom: 4px;
    }
    & .nav-item .nav-link:hover .nav-link-icon, & .nav-item .nav-link.active .nav-link-icon {
        background-color: #334155;
    }
}
main.wrapper {
padding-left: 6.75rem;
}
.main-content {display: flex;flex-wrap: wrap;}
.content-left-col.sub-sidebar {
    width: 250px;
    flex: 0 0 250px;
    background: #FFFFFF;
    position: relative;
    box-shadow: rgba(56, 58, 72, 0.04) 0px 4px 20px 0px;
    min-100%: ;
    position: sticky;
    top: 0;
}
.sub-sidebar.collapsed-menubar {
    width: 50px !important;
    flex: 0 0 50px !important;
}
.sub-sidebar.collapsed-menubar .sub-sidebar-inner {
    display: none;
}

.collapsed-menubar .submenu-toggle:before {
    content: "\f0c9";
}
.sub-sidebar:not(.inventory-sidebar) .sub-sidebar-inner {
    padding: 1.75rem;
}
.search-folders {
    border-bottom: 1px solid rgb(0 0 0 / 10%);
}
.search-folders .form-control {min-height: 2.5rem;}
ul.nav .nav-item .nav-link {
    padding: 0.35rem 0.5rem;
    color: var(--body-color);
    font-weight: 500;
    border-radius: 0.25rem;
    margin-bottom: 2px;
}

ul.nav .nav-item .nav-link:hover {
    background: #dbe8f2;
}
ul.nav .nav-item.has-sub-menu .nav-link {
    display: flex;
    align-items: center;
}

ul.nav .nav-item .nav-link svg {
    margin-right: 0.5rem;
}
ul.nav .nav-item:not(:last-child) {
    margin-bottom: 0.5rem;
}
ul.nav .nav-item ul {
    list-style: none;
    padding-left: 1rem;
}
.content-right-col {
    padding: 0px 1.5rem;
    flex: 1 0 calc(100% - 250px);
    width: calc(100% - 250px);
}
.submenu-toggle {
    width: 1.5rem;
    height: 1.5rem;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
    position: absolute;
    right: -0.75rem;
    top: 60px;
    font-size: 0.875rem;
    background-color: rgb(246, 248, 249);
    border: 1px solid rgb(246, 248, 249);
}
.submenu-toggle:hover {
    box-shadow: rgba(0, 0, 0, 0.1) 4px 4px 20px 0px;
    background-color: rgb(255, 255, 255);
}
header.page-header {
    border-bottom: 1px solid #dadde3;
    padding-block: 0.85rem;
}
.page-header .input-group {
    max-width: 500px;
    border-radius: 0.65rem;
    padding: 0.25rem 1rem;
    border: 1px solid #F1F5F9;
}
.page-header .input-group .form-control {
    height: 2rem;
    padding: 0.125rem 0.75rem;
    min-height: 2.25rem;
}
.page-header .input-group:hover {border-color: rgb(30 41 59 / 10%);}
.menu-title { margin-bottom: 1.5rem;}
.sidebar-menu-list > li {
    /* border-top: 1px solid #e2e8f0; */
    /* padding-top: 1rem; */
    margin-top: 0.5rem;
}
.sidebar-menu-list > li > a {
    padding: 0.5rem 1.5rem 0.5rem 1.5rem;
    border-radius: 50px;
}
.sidebar-menu-list > li > a:hover, .sidebar-menu-list > li > a.menu-link.current {
    background-color: rgba(219, 234, 254, 1);
}
a.menu-link {
    font-family: var(--secondary-font-family);
    color: rgba(100, 116, 139, 1);
    font-weight: 500;
    display: flex;
    align-items: center;
    background-repeat: no-repeat no-repeat;
    background-position: center left;
    background-size: 1.5rem;
    padding-left: 1.75rem;
}
a.menu-link[aria-expanded="true"] {
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_4392_1669)'%3E%3Cpath d='M8.71005 12.291L11.3001 9.70101C11.6901 9.31101 12.3201 9.31101 12.7101 9.70101L15.3001 12.291C15.9301 12.921 15.4801 14.001 14.5901 14.001H9.41005C8.52005 14.001 8.08005 12.921 8.71005 12.291Z' fill='%2364748B'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_4392_1669'%3E%3Crect width='24' height='24' fill='white' transform='translate(0 0.00100708)'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A");
}
a.menu-link[aria-expanded="false"] {
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_4392_2373)'%3E%3Cpath d='M8.71005 11.712L11.3001 14.302C11.6901 14.692 12.3201 14.692 12.7101 14.302L15.3001 11.712C15.9301 11.082 15.4801 10.002 14.5901 10.002H9.41005C8.52005 10.002 8.08005 11.082 8.71005 11.712Z' fill='%2364748B'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_4392_2373'%3E%3Crect width='24' height='24' fill='white' transform='translate(0 0.00201416)'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A");
}
.collapse-menu > li> a {
    padding: 0.5rem 1.5rem;
    border-radius: 100px;
    color: rgba(15, 23, 42, 1);
    font-weight: 500;
    display: block;
    margin-block: 1px;
}
.collapse-menu {
    margin-top: 0.5rem;
    padding-left: 1rem;
}
.collapse-menu > li> a.current, .collapse-menu > li> a:hover {
    background: rgba(219, 234, 254, 1);
}
.user-profile-dropdown .user-picture {
    width: 2.5rem;
    height: 2.5rem;
}
.dropdown-menu {
    border-color: rgb(12 14 14 / 6%);
    font-size: var(--body-font-size);
    box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 10px 0px;
}
.dropdown-item {
    padding-block: 0.45rem;
    padding-inline: 0.75rem;
}
.dropdown-item:focus, .dropdown-item:hover {
    color: var(--body-color);
    background-color: var(--bg-hover);
    background: #DBEAFE;
}
.dropdown-item.active, .dropdown-item:active {
    background-color: var(--bg-hover);
    color: var(--body-color);
}
.dropdown-item .avatar img {
    max-width: 2.5rem;
}
.content-right-col .container-fluid {
    padding: 0 !important;
}
.content-right-col .content-inner {
    margin-top: 1.5rem;
    padding-bottom: 1.5rem;
}
.notification-dropdown #userNotifications {
    font-size: 1.25rem;
}

.notification-dropdown > span.badge {
    width: 0.9rem;
    line-height: 0.9rem;
    font-size: 0.5rem;
    position: absolute;
    bottom: 0px;
    right: -6px;
}
.page-title-row { margin-bottom: 1.5rem;}
.page-title {
    font-size: 1.375rem;
}

.page-title-col nav {
    margin-top: 0.5rem;
}

.page-title-col nav .breadcrumb {
    margin-bottom: 0;
}

.status-col p {
    color: var(--body-color-2);
    font-weight: 500;
}

.status-col p strong {
    color: var(--body-color);
}

.status-col span.staus-value {
    font-size: 28px;
    font-weight: 500;
    display: block;
    line-height: 1.35;
}
.form-input-group { position: relative;padding-top: 0rem;margin-bottom: 1.5rem; }

.form-input-group:not(:last-of-type) {
    /* margin-bottom: 1.5rem; */
}
.form-input-group label {
    position: absolute;
    background: #fff;
    top: -7px;
    left: calc(0.75rem - 3px);
    padding-inline: 3px;
    line-height: 1;
    font-size: 0.85rem;
    margin-bottom: 0;
    border-radius: 0.25rem;
    z-index: 2;
}
.form-input-group .form-control:focus ~ label{
  color: var(--primary-color);
}
.form-input-group .form-control {
    min-height: 2.625rem;
}

.form-input-group textarea.form-control {
    padding-block: 0.66rem;
}
.form-input-group .form-control:focus {
    color: var(--body-color);
    border-color: var(--primary-color);
}

.grid-list .dropdown-menu {min-width: 12rem;}
.no-folder-col {
    max-width: 545px;
    text-align: center;
}
.add-item-image {
    background-color: #F1F5F9;
    padding: 2rem 2rem 2.5rem;
    border-radius: 0.75rem;
}
.add-item-image h4 {font-size: 1.375rem;}
.add-item-image input[type="file"] {
    position: absolute;
    opacity: 0;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: 10;
    left: 0;
    cursor: pointer;
}
.upload-btn span {
    border: 1px dashed #C7D2FE;
    display: inline-block;
    padding: 10px 16px 10px 16px;
    width: 230px;
    font-weight: 500;
    text-transform: capitalize;
    cursor: pointer;
}
.upload-btn:hover span {
    background: var(--primary-color);
    color: #fff;
}

.upload-btn .fa {
    margin-right: 0.5rem;
}
.has-variant-row {
    background: #F8FAFC;
    padding: 0.875rem 0.25rem;
}
.post-check label, .post-alert, .post-actions > button {
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2rem;
    height: 2rem;
    border-radius:100%
}
.post-check label:hover, .post-alert:hover, .post-actions:hover > button {
    background: #EFF6FF;
}
.post-actions, .bar-actions-dropdown {
    & .dropdown-menu {
     padding: 7px 0px;background: #EFF6FF;box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3), 0px 2px 6px 2px rgba(0, 0, 0, 0.15);min-width: 190px;
        & .dropdown-item {
                padding: 0.75rem;font-weight: 500;display: flex;align-items: center;
            & svg {
                    width: 1.5rem;
                    margin-right: 0.65rem;
            }
        }
    }
}
/* .post-actions .dropdown-menu, .bar-actions-dropdown .dropdown-menu {padding: 7px 0px;background: #EFF6FF;box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3), 0px 2px 6px 2px rgba(0, 0, 0, 0.15);min-width: 190px;}
.post-actions .dropdown-menu .dropdown-item, .bar-actions-dropdown .dropdown-menu .dropdown-item {padding: 0.75rem;font-weight: 500;display: flex;align-items: center;}
.post-actions .dropdown-item svg {
    width: 1.5rem;
    margin-right: 0.65rem;
} */
.item-top-actions { margin-inline: -0.5rem;}
.item-action-buttons {
    right: 0.5rem;
    top: 0.5rem;
}
.item-action-buttons button {
    opacity: 0;
}

.item-col .card:hover  .item-action-buttons button {
    opacity: 1;
}
.item-col .card.has-notification .item-action-buttons .set-or-update-item-alert {
    opacity: 1;
}

.item-action-buttons > button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 2rem;
    height: 2rem;
    background: #F8FAFC;
    border-radius: 0.375rem;
}

.item-action-buttons > button:hover {
    background: var(--bg-hover);
}
.item-action-buttons > button:not(:last-child) {
    margin-bottom:0.75rem
}
.item-status {
     bottom: 0.75rem;
     left: 0.75rem;
     border-radius: 0.375rem;
     /* overflow: hidden; */
     /* background: linear-gradient(to right, #F9A8DD, #626dd9); */
     /* padding: 2px; */
     display: inline-block;
     margin-top: 0.5rem;
}
.item-status span  {
    display: block;
    background: #1e293b;
    color: #fff;
    padding: 0.235rem 1rem;
    border-radius: 0.375rem;
}
.item-stock-alert {
    bottom: 0.5rem;
    left: 0.5rem;
}
.stock-alert {
    padding: 0.25rem 0.75rem;
    color: #fff;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
}

.stock-alert svg {
    margin-right: 0.25rem;
}
.stock-alert.low-stock {
    background: #B91C1C;
}
.item-col figure { margin-bottom:1rem}
.item-col h6 { margin-bottom:0.25rem}
ul.item-extra-value .list-item-inline {/* flex-grow: 1; */display: flex;margin-top: 5px;}
ul.item-extra-value .list-item-inline:not(:last-child) {
    border-right: 1px solid rgb(0 0 0 / 10%);
    padding-right: .5rem;
    margin-right: .5rem;
}
.items-bar {
    background: #0F172A;
    border-radius: 0.75rem;
    padding: 0.5rem 1rem;
    color: #fff;
}
.set-alert-header {
    background: #0F172A;
    border-radius: 0.45rem;
    padding: 0.5rem 1rem;
    color: #fff;
}
label.check-all-items input {
    background-color: transparent;
    border: 2px solid #647488;
    width: 1.125rem;
    height: 1.125rem;
    margin-top: 0;
}
label.check-all-items input:focus {
    border-color: #647488;
    box-shadow: none;
}
label.check-all-items input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

span.item-count {
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    margin-right: 0.5rem;
}

.items-bar .act-button {
    background: #1E293B;
    border-radius: 50px;
    padding: 0.25rem 0.85rem;
    color: #fff;
    height: 2.5rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.dropdown.item-selected > button:hover, .bar-action-buttons button:hover, .bar-action-buttons button.show {
    background: var(--body-color-3);
}

.bar-action-buttons> button svg {
    margin-right: 0.25rem;
}

.items-bar .bar-actions-dropdown button.act-button {padding: 0;width: 2.5rem;height: 2.5rem;/* display: flex; */justify-content: center;/* align-items: center; */}

.bar-action-buttons > * {
    margin-left: 0.35rem;
}
table.dataTable {
    width: 100% !important;
}
table.dataTable thead, table.table-striped thead {
    color: var(--body-color-2);
    background: var(--light-bg);
}
table.dataTable thead tr th, table.table-striped thead tr th {
    white-space: nowrap;
    color: var(--body-color-2);
    background: transparent;
    font-weight: 500;
    border-block: none;
    padding-block: 0.75rem;
    font-family: var(--secondary-font-family);
}

table.dataTable thead tr th, table.dataTable tbody tr td {
    padding-inline: 1rem;
}
table.dataTable tbody tr td {
    padding-block: 0.375rem;
}
table.dataTable tbody tr td, table.table-striped tbody tr td {
    background: none;
}
table.table-striped tbody tr td {
     border:none !important;
}
.table-striped>tbody>tr:nth-of-type(odd)>* {
    box-shadow: none;
}
table tr input.form-check-input {
    width: 1.125rem;
    height: 1.125rem;
    border: 2px solid #94A3B8;
}
.table.table-borderless tbody tr td {padding: 0.275rem 0.5rem;padding-left:0px}
.table.table-borderless tbody tr td:last-child {padding-right: 0px;}
.jstree-default-large .jstree-icon:empty {
    width: 17px !important;
}
.jstree-default-large>.jstree-no-dots .jstree-closed>.jstree-ocl {
    background-position: -5px 0 !important;
}
.jstree-default-large>.jstree-no-dots .jstree-open>.jstree-ocl {
    background-position: -38px 0 !important;
}
.jstree-default-large .jstree-node {
    margin-left: 10px !important;
    min-width: 32px;
    position: relative;
}
.jstree-wholerow-ul {
    display: block !important;
}
.jstree-default-large .jstree-anchor {
    max-width: calc(100% - 17px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 0;
    /* border-radius: 50px !important; */
}
.jstree-default-large .jstree-wholerow {
    border-radius: 50px !important;
    padding: 0.5rem 1.5rem !important;
}
.table-product-title h6 {
    max-width: 140px;
    margin-bottom: 0.2rem;
    font-size: var(--body-font-size);
    color: #0F172A;
}
.table-product-title p{color:#475569;font-size: .75rem;}
.table-product-img img {
    max-width: 42px;
    border-radius: 0.5rem;
    border: 1px solid #e7eaf7;
}
#items-list,
#move-items-list,
#bulk-set-alert-items-list {
    min-height: 300px;
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
}

table.table tbody tr.even, table.table tbody tr:nth-child(even) {
    background-color: #f7f7f7;
}

table tbody tr.odd {background-color: transparent;}

table tbody tr.odd td {
    background: none !important;
}
.item-size label {
    border: 1px solid #ccc;
    height: 2.625rem;
    width: 2.625rem;
    border-radius: 0.3125rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-check:checked+label {
    background: var(--primary-bg);
    color: #fff;
}
.img-thumbnail-border {
    position: relative;
    border: 2px dashed #eaeaea;
    cursor: pointer;
    padding-top: calc(100% - 4px);
}

.img-thumbnail-border:hover {
    border-color: #1e293b;
}
div.dataTables_wrapper div.dataTables_info {display: inline-block;padding-bottom: .85em;}

div.dataTables_wrapper div.dataTables_paginate {
    float: right;
}
.paginate_button.page-item.previous .page-link, .paginate_button.page-item.next .page-link {
    background: #f1f5f9;
    padding: 0.375rem 1rem;
    margin: 0 3px;
    border-radius: 3rem !important;
    width: auto;
    min-width: 36px;
    font-size: 0.875rem;
    border-color: transparent;
    font-weight: 500;
    color: var(--body-color);
}
.paginate_button.page-item.previous .page-link:hover, .paginate_button.page-item.previous .page-link:active, .paginate_button.page-item.next .page-link:active, .paginate_button.page-item.next .page-link:hover {
    background: var(--primary-color);
    color: #fff;
}
.paginate_button.page-item:not(.next):not(.previous) .page-link {
    align-items: center;
    justify-content: center;
    padding: 0px 0px;
    margin: 0 3px;
    border-radius: 0.25rem !important;
    width: auto;
    min-width: 36px;
    font-size: 0.875rem;
    min-width: 2.25rem;
    height: 2.25rem;
    display: flex;
    border-radius: 100% !important;
}
table tr .table-action {
    background: transparent;
    width: 2rem;
    height: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
}

table tr .table-action:hover, table tr .table-action.show {
    background: var(--bg-hover);
    color: var(--body-color);
}

.or-line-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.or-line {
    flex-grow: 1;
    height: 1px;
    background-color: #bfbfbf;
}

.or-text {
    margin: 0 10px;
}
.order-modal {
    width: 400px;
    right: -100%; /* or another value to hide it initially */
    top: 0;
    transition: right 0.5s; /* optional for smoother transition */
}
.customer-image img {
    width: 4.25rem;
    border: 1px solid rgb(0 0 0 / 50%);
}
.customer-info-label {width: 130px;
    max-width: 130px;}
.customer-info-label + td { word-break:break-word}

.order-detail-right-col:not(.expanded) {
    flex: 0 0 auto;
    width: 70px;
}

.order-detail-right-col:not(.expanded) .card > * {
     display: none;
}

.order-detail-right-col:not(.expanded) .card {
    height: 100%;
}
.expand-icon {
    background: #0d99ff;
    width: 1.5rem;
    height: 1.5rem;
    text-align: center;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 1rem;
}
.order-detail-right-col:not(.expanded) .expand-icon {
    left: calc(-0.5rem + 12px);
}
.order-detail-right-col.expanded .expand-icon {
    right: calc(-0.5rem + 12px);
    transform: rotate(180deg);
}
.all-orders-table {

& .custom_button_card.pt-0 {position:relative;}
& .dt-action-buttons {
    position: absolute;
    right: 0;}
& .custom_datatable_label {
    padding-right: 2.75rem;
}
& .dt-button-background { display: none !important;}
& .dt-button-collection {
    left: auto !important;
    right: 0;
    width: 190px;
    text-align: left; box-shadow: none !important;
}
& .dt-buttons > .dt-button {
    padding: 0 !important;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 5px !important;
    margin: 0px;
    background: transparent;
    border-color: var(--primary-bg); color: var(--primary-bg);
}
& button.dt-button.dropdown-item {
    background: transparent;
    border: 0 !important;
    padding: 6px 9px; border-radius:4px
}
& button.dt-button.dropdown-item:hover {
    background: var(--bg-hover) !important;
    box-shadow: none !important;
}
& button.dt-button.dropdown-item:active {
    background: var(--bg-hover) !important;
    box-shadow: none !important;
}
& button.dt-button.dropdown-item svg {margin-right: 6px !important;}
& .dt-buttons > .dt-button:after {
    display: none;
}
& .dt-buttons >.dt-button:hover {
    background: var(--primary-bg) !important;
    color: #fff;
    border-color: transparent !important;
}
}

#hideFilter:hover{
    color: #fff;
    background-color: var(--bs-btn-hover-bg);
    border-color: var(--bs-btn-hover-border-color);
}
.order-detail-left-col.orderProducts-colllapse {
    max-width: calc(100% - 400px);
}
.order-detail-left-col {
    max-width: calc(100% - 70px);
}
.order-detail-right-col.expanded {
    flex: 0 0 400px;
    width: 400px;
}
.close-filter {
    width: 1.5rem;
    height: 1.5rem;
    right: -10px;
    top: -10px;
}


.modal{

    /*From Right/Left */
    &.drawer{

      display: flex !important;

      pointer-events: none;
      * {
        pointer-events: none;
      }

      .modal-dialog{
        margin: 0px;
        display: flex;
        flex: auto;
        transform: translate(25%, 0);
        .modal-content{
          border:none;
          border-radius: 0px;
          .modal-body{
            overflow: auto;
          }
        }

      }

      &.show{
        pointer-events: auto;
        * {
          pointer-events: auto;
        }
        .modal-dialog{
          transform: translate(0, 0);
        }
      }

      &.right-align{
        flex-direction: row-reverse;
      }
      &.left-align{
        &:not(.show){
          .modal-dialog{
            transform: translate(-25%, 0);
          }
        }
      }

    }

}
/* Specific styles for the sidebar-modal */
.sidebar-modal {

    display: flex !important;
    pointer-events: none;

    .modal-dialog {
        margin: 0;
        display: flex;
        flex: auto;
        transform: translate(-100%, 0); /* Start hidden to the left */
        transition: transform 0.5s ease; /* Smooth sliding transition */
        position: fixed; /* Position fixed to allow sliding from the edge */
        top: 0;
        left: 0;
        height: 100vh; /* Full height to cover the viewport */
        width: 300px; /* Adjust width as needed */

        .modal-content {
            border: none;
            border-radius: 0;
            height: 100%; /* Full height for content */
            color: black;
            overflow: auto; /* Allow scrolling if content overflows */
        }
    }

    &.show {
        pointer-events: auto;
        .modal-dialog {
            transform: translate(0, 0); /* Slide in from the left */
        }
    }

    &.right-align {
        flex-direction: row-reverse; /* Show from the right */
    }

    &.left-align {
        .modal-dialog {
            transform: translate(-100%, 0); /* Start hidden to the left */
        }

        &.show {
            .modal-dialog {
                transform: translate(0, 0); /* Slide in from the left */
            }
        }
    }
}

.user-tabs .nav-item a.nav-link {
    border-bottom: 3px solid transparent;
}
.user-tabs .nav-item a.nav-link.active, .user-tabs .nav-item a.nav-link:hover {border-bottom-color:  #0d99ff;color:  #0d99ff;}

/* .blur-effect {
    filter: blur(5px);
    pointer-events: none;
} */

/* Make circles that indicate the steps of the form: */

.step-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    margin-top: 40px;
}

.step {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    margin: 0 10px;
    background-color: #bbbbbb;
    border: none;
    border-radius: 50%;
    text-align: center;
    color: white;
    opacity: 0.5;
    font-size: 16px;
    position: relative;
}

/* Active step */
.step.active {
    opacity: 1;
    background-color: var(--primary-bg) !important;
}

/* Finished step with tick mark */
.step.finish::before {
    content: '✔';
    font-size: 18px;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Hide the step number when finished */
.step.finish {
    background-color:#1E293B; /* Green background for finished steps */
    color: transparent; /* Hide the step number */
    opacity: 1;
}

/* Line between steps */
.line {
    width: 121px; /* Length of the line, adjust as needed */
    height: 2px; /* Thickness of the line */
    background-color: #bbbbbb; /* Color of the line */
    margin-left: 14px;
    margin-right: 7px;
}

.notinfo {
    margin: 10px 0;
}

.notiflink {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    /* border: 1px solid #ccc; */
    border-radius: 5px;
    background-color: #f9f9f9;
    width: 100%;
    max-width: 400px;
}

.notifi-desc {
    flex: 1;
    margin-right: 10px;
    width: 300px;
}


/* .ln_solid {
    border-top: 1px solid #e5e5e5;
    color: #ffffff;
    background-color: #ffffff;
    height: 1px;
    margin: 20px 0;
} */
.quick-actions-list li:not(:last-child) { margin-bottom:1rem;}

.quick-actions-list li a i {width: 1.25rem;text-align: center;}

@media(min-width:1680px) {
.order-detail-left-col.orderProducts-colllapse {
    max-width: calc(100% - 500px);
}
.order-detail-left-col {
    max-width: calc(100% - 70px);
}

.order-detail-right-col.expanded {
    flex: 0 0 500px;
    width: 500px;
}
}

@media(min-width:1440px) {
    .card-body, .modal-body {
        padding: 1.5rem;
    }
    .card-footer, .modal-footer {
        padding-inline: 1.5rem;
        padding-block: 1.025rem;
    }
    .card-header, .modal-header {
        padding-inline: 1.5rem;
        padding-block: 1rem;
    }
    .content-left-col.sub-sidebar {
        width: 300px;
        flex: 0 0 300px;
    }
    .content-right-col {
        padding: 0px 1.5rem;
        flex: 1 0 calc(100% - 300px);
        width: calc(100% - 300px);
    }

    .item-col figure { margin-bottom:1.5rem}
    ul.item-extra-value .list-item-inline:not(:last-child) {
    padding-right: 0.5rem;
    margin-right: 0.5rem;
    }
    .item-action-buttons > button {width: 2.25rem;height: 2.25rem;}
    .item-action-buttons {
    right: 0.75rem;
    top: 0.75rem;
}
    .item-stock-alert {
    bottom: 0.75rem;
    left: 0.75rem;
}
    .item-status {
    margin-top: 0.75rem;
}
    .item-col h6 {
    /* margin-bottom: 0.5rem; */
}
    .post-check label, .post-alert, .post-actions > button {
    width: 2.5rem;
    height: 2.5rem;
}
    .post-check label input {
    width: 1rem;
    height: 1rem;
}
.items-bar {
    padding: 0.5rem 1.5rem;
}
.items-bar .act-button {
    padding: 0.5rem 1rem;
    height: 2.5rem;
}
.bar-action-buttons> .act-button svg {
    margin-right: 0.5rem;
}
}
@media(max-width:1400px) {
    .detail-page-row .card h4 {
        font-size: 1.25rem;
    }
}
@media(max-width:1199px) {
    .content-right-col:not(.content-expanded) {
         & .page-title-col {width:100%;flex: 1 0 100%;}
         & .page-title-col + div {width:100%;flex: 1 0 100%;margin-top: 1rem;}
    }
.order-detail-right-col:not(.expanded) {
    width: 100%;
}

.order-detail-right-col:not(.expanded) .card > * {
     display: block;
}
.order-detail-right-col:not(.expanded) .card {
    height: auto;
}
.expand-icon {
    display:none
}
.order-detail-left-col.orderProducts-colllapse {
    max-width: calc(100% - 0px);
}
.order-detail-left-col {
    max-width: calc(100% - 0px);
}
.order-detail-right-col.expanded {
    flex: 0 0 100%;
    width: 100%;
}
}
@media(max-width:991px) {
    .item-action-buttons > button {
    display: inline-flex;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.25rem;
}
    .item-action-buttons > button svg { max-width:1.25rem; max-height:1.25rem;}
    .item-action-buttons > button:not(:last-child) {margin-bottom: 0rem; margin-right:0.5rem}
    .stock-alert {
    padding: 0.25rem 0.5rem 0.25rem 0.5rem;
    border-radius: 0.25rem; font-size:0.75rem;
}
    .item-status span {
     font-size:0.75rem;
    padding: 0.235rem 0.75rem;
    border-radius: 0.25rem;
}
.content-right-col {
         & .page-title-col {width:100%;flex: 1 0 100%;}
         & .page-title-col + div {width:100%;flex: 1 0 100%; margin-top:1rem}
    }
}

.disabled {
    cursor: not-allowed;
    opacity: 0.6;
}
@media(max-width:767px) {
div.dataTables_wrapper div.dataTables_info {
    display: block;
    padding-bottom: .85em; text-align:center
}
    div.dataTables_wrapper div.dataTables_paginate {
    float: none;
}
.customer-info-label { white-space: wrap;}
}

@media (max-width: 768px) {
    .step-container {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 20px;
    }

    .step {
        width: 12px;
        height: 12px;
        line-height: 1px;
        margin: 5px 0;
        font-size: 5px;
    }

    .line {
        width: 80px; /* Shorter line for small screens */
        margin-left: 0;
        margin-right: 0;
    }
}

/* Media query for mobile screens */
@media (max-width: 480px) {
    .step {
        width: 25px;
        height: 25px;
        line-height: 25px;
        font-size: 12px;
    }

    .line {
        width: 50px; /* Shorter line for extra small screens */
    }
}
@media (max-width:1705px){
.step-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    margin-top: 40px;
}

.step {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    margin: 0 10px;
    background-color: #bbbbbb;
    border: none;
    border-radius: 50%;
    text-align: center;
    color: white;
    opacity: 0.5;
    font-size: 16px;
    position: relative;
}

/* Active step */
.step.active {
    opacity: 1;
    background-color: var(--primary-bg) !important;
}

/* Finished step with tick mark */
.step.finish::before {
    content: '✔';
    font-size: 18px;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Hide the step number when finished */
.step.finish {
    background-color: #1E293B; /* Green background for finished steps */
    color: transparent; /* Hide the step number */
    opacity: 1;
}

/* Line between steps */
.line {
    width: 12px; /* Length of the line, adjust as needed */
    height: 2px; /* Thickness of the line */
    background-color: #bbbbbb; /* Color of the line */
    margin-left: 4px;
    margin-right: 7px;
}

}


.dropdown-shortcuts-list {
    max-height: 400px;
    /* overflow-y: auto; */
    min-width: 400px;
    background-color: #fff;
}
.dropdown-shortcuts-item:nth-child(odd) {
    border-right: 1px solid #dee2e6;
}

.dropdown-shortcuts-list > .row:not(:last-child) {
    border-bottom: 1px solid #dee2e6;
}
.dropdown-shortcuts-item {
    text-align: center;
    padding: 20px 10px;
    /* border: 1px solid #e0e0e0; */
    position: relative;
    /* height: 85px; */
}

/* Ensure the anchor takes the whole item */
.dropdown-shortcuts-item a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;  /* Optional: remove underline */
}

/* Hover effect on .dropdown-shortcuts-item */
.dropdown-shortcuts-item:hover {
    background-color: #f1f1f1;
}

/* search stlye */
.search-results-container {
    position: absolute;
    background-color: #fff;
    z-index: 999;
    max-height: 200px;
    overflow-y: auto;
    width: 490px;
    padding: 0.25rem 1rem;
    border-left: 1px solid #f3ebeb;
    border-right: 1px solid #f3ebeb;
    border-bottom: 1px solid #f3ebeb;
}

.search-results li {
    padding: 10px;
    cursor: pointer;
}

.search-results li:hover {
    background-color: #f1f1f1;
}

.loading-indicator {
    font-size: 14px;
    color: #999;
    padding: 10px;
}

.search-item {
    cursor: pointer;
    display: block;
}

.search-documents > .bootstrap-select{
    max-width: 140px !important;
}
.search-documents > .bootstrap-select .dropdown-toggle{
    background:#fff !important;
}

