[data-sidebar=dark] body .sidebar{
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.2);
    /* background-color: #040C48; */
    background: linear-gradient(135deg, #1D4ED8, #0EA5E9);
}
[data-sidebar=dark] body .sidebar .sidebar-menu ul li a, [data-sidebar=dark] body .sidebar .sidebar-menu ul li a span {
    color: #ffffff;
}

.sidebar .sidebar-menu ul li a span {
    font-size: 14px;
    font-weight: 600;
}
[data-layout=horizontal] body .sidebar .sidebar-menu ul li i{
    font-size: 15px;
    color: #dee2ff;
}
[data-layout=horizontal] body .sidebar .sidebar-menu ul ul {
    /* background-color: #040C48; */
    background: linear-gradient(135deg, #1D4ED8, #0EA5E9);;
}
.sidebar-header-ul{
     /* margin-top: 8px !important; */
    /* transform: translateY(0);
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transition: all 0.3s ease; */
    box-shadow: 0px 4px 20px 0px rgba(92, 92, 92, 0.0784313725);
    min-width: 260px;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 9px;
    border: 1px solid #e5e7eb;
    /* padding: 6px !important; */
}
.card-header-pos{
    background-color: #040C48 !important;
}
[data-sidebar=dark] body .sidebar .sidebar-menu .greedy ul li a:hover, [data-sidebar=dark] body .sidebar .sidebar-menu ul > li > a:hover, [data-sidebar=dark] body .sidebar .sidebar-menu ul li a:hover span, [data-sidebar=dark] body .sidebar .sidebar-menu ul li.submenu ul li a.active{
    /* color: #b7b2ff; */
    color: #040C48;
}
[data-sidebar=dark] body .sidebar .sidebar-menu ul li a:hover i, [data-sidebar=dark] body .sidebar .sidebar-menu ul li a:hover span, [data-sidebar=dark] body .sidebar .sidebar-menu ul li a.active span, [data-sidebar=dark] body .sidebar .sidebar-menu ul li a.active i {
    /* color: #b7b2ff; */
    color: #040C48;
}
[data-layout=horizontal] body .sidebar .sidebar-menu ul li a:hover span.menu-arrow, [data-layout=horizontal] body .sidebar .sidebar-menu ul li a.subdrop span.menu-arrow, [data-layout=horizontal] body .sidebar .sidebar-menu ul li a.active span.menu-arrow{
    /* color: #b7b2ff !important; */
    color: #040C48 !important;
}
[data-layout=horizontal] body .sidebar .sidebar-menu ul li a:hover span, [data-layout=horizontal] body .sidebar .sidebar-menu ul li a.subdrop span, [data-layout=horizontal] body .sidebar .sidebar-menu ul li a.active span {
    /* color: #b7b2ff !important; */
    color: #040C48 !important;
}
[data-layout=horizontal] body ul.hidden-links {
    background-color: #040C48;
}
[data-sidebar=dark] body .sidebar .sidebar-menu ul li.submenu ul li a:hover i,
[data-sidebar=dark] body .sidebar .sidebar-menu ul li.submenu ul li a:hover span{
    /* color: #040C48 !important; */
    color: var(--primary-dark) !important;

}

[data-layout=horizontal] body .sidebar .sidebar-menu ul li a.subdrop i{
    /* color: #dee2ff !important; */
    color: #040C48 !important;
}
.top-nav-search {
    display: flex;
    justify-content: end;
    align-items: center;
    width: 35%;
    height: -webkit-fill-available;
    margin-top: 5px;
}
.top-nav-search .title{
    font-weight: 700;
    font-size: 26px;
    color: #040C48;
}
.header-top-link{
    /* display: flex !important;
    flex-direction: column !important; 
    border: 2px solid #fff;
    border-radius: 9px;
    min-width: 99px;
    */
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 16px;
    margin: 4px 6px;
}


.card-header-pos {
    line-height: 1 !important;
}
.card-header-pos2{
    background-color: #ffffff !important;
}
.card-header-pos2,
.card-header-pos{
    padding-top: 13px !important;
    padding-bottom: 13px !important;
    border-top-left-radius: inherit !important;
    border-top-right-radius: inherit !important;
}
.form-control-invoice{
    line-height: 1;
}
.amt-value{
    border-radius: 8px;
    margin-right: .25rem !important;
    margin-left: .25rem !important;
    margin-bottom: .25rem !important;
    color: #ffffff;
}
.total-items-value,
.total-qty-value{
    border-radius: 8px;
}
.card-header-title{
    color: #ffffff; 
}
.btn-tabs{
    border: 1px solid #ffffff !important;
    /* border-bottom: 1px solid #ffffff !important; */
    /* border-right: 1px solid #ffffff !important; */
    /* border-left: none !important; */
    /* border-top: none !important; */
}
.walk-cust{
    font-weight:600;
}
.table .thead-light th {
    color: #ffffff;
}
.th-th-check{
    vertical-align: bottom !important;
}
.th-check{
    display: block;
}

/* ------------setting sidebar new css---------------------------  */


.setting-col .settings-card{
    border: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 10px 35px rgba(4,12,72,0.08);
    /* transition: 0.3s ease; */
}

.setting-col .settings-card:hover{
    /* transform: translateY(-3px); */
    box-shadow: 0 14px 40px rgba(4,12,72,0.12);
}

/* HEADER */
.setting-col .settings-header{
    background: linear-gradient(135deg, #1D4ED8, #0EA5E9);
    padding: 18px 22px;
    border-radius: 8px 8px 0 0;
}

.setting-col .settings-header h5{
    color: #fff;
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .3px;
}

/* MENU */
.setting-col .settings-menu ul{
    padding: 0;
    margin: 0;
    list-style: none;
}

.setting-col .settings-menu ul li{
    margin-bottom: 10px;
}

.setting-col .settings-menu ul li:last-child{
    margin-bottom: 0;
}

.setting-col .settings-menu ul li a{
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 6px;
    text-decoration: none;
    color: #2d3250;
    font-weight: 600;
    background: #f7f8fc;
    /* transition: 0.25s ease; */
    border: 1px solid transparent;
}

/* ICON */
.setting-col .settings-menu ul li a i{
    width: 30px;
    height: 30px;
    border-radius: 6px;
    background: rgba(4,12,72,0.08);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    /* transition: 0.25s ease; */
}

/* HOVER */
.setting-col .settings-menu ul li a:hover{
    background-color: var(--primary-dark) !important;
    color: #fff;
    /* transform: translateX(5px); */
}

.setting-col .settings-menu ul li a:hover i{
    background: rgba(255,255,255,0.15);
    color: #fff;
}

/* ACTIVE */
.setting-col .settings-menu ul li a.active{
    background-color: var(--primary-dark) !important;
    color: #fff !important;
    box-shadow: 0 6px 6px rgba(4,12,72,0.20);
}

.setting-col .settings-menu ul li a.active i{
    background: rgba(255,255,255,0.15);
    color: #fff;
}


.entry-grid label{
    font-size:13px;
    font-weight:600;
    margin-bottom:6px;
    color:#374151;
}

.py-2-5{
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.btn-save{
    background:var(--primary);
    color:#fff;
}

.btn-cancel{
    background:var(--danger);
    color:#fff;
}

.btn-print{
    background:var(--success);
    color:#fff;
}
.btn-danger-light{
    background:#ffe9ec;
    color:#d11a2a;
}
.btn-warning-light{
    background:#fff4df;
    color:#8b5e00;
}
		
	  /* .table-bordered th, */
.table-bordered-c tr {
    border-bottom: 1px solid #dee2e6  !important;
}	



table.dataTable,
table.dataTable th,
table.dataTable td {
    border: 1px solid #dee2e6 !important;
}

table.dataTable {
    border-collapse: collapse !important;
}
.card-cs{
    box-shadow: 0 0 13px 0 rgb(20 133 227 / 28%);
}

.offcanvas {
    --bs-offcanvas-width: 500px;
}

.offcanvas-header {
    background-color: var(--primary);
}
.offcanvas-title{
    color: #fff;
    font-weight: 600;
    font-size: 16px;
}

#edit_inventory,
#add_inventory{
    width: 650px !important;
}

.offcanvas .offcanvas-body .form-control,
.offcanvas .offcanvas-body .form-select{
   font-size: 14px;
   color: #595c5f;
}

.settings-menu ul li.menu-section-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #8f9bb3;
    margin-top: 22px !important;
    margin-bottom: 6px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e8e8f0;
}
.settings-menu ul li.menu-section-title:first-child {
    margin-top: 0 !important;
}
.settings-menu ul li.menu-section-title + li {
    margin-top: 0 !important;
}
[data-layout-mode=dark] body .settings-menu ul li.menu-section-title {
    color: #6c7680;
    border-bottom-color: #2e3840;
}

.badge.bg-warning-light {
    color: #664d03;
}
[data-layout-mode=dark] body .badge.bg-warning-light {
    color: #fde68a;
}
.badge.bg-info-light {
    color: #055160;
}
[data-layout-mode=dark] body .badge.bg-info-light {
    color: #9eeaf9;
}

.notification-bell-toggle {
    position: relative;
}
/*
 * The theme's style.css has `.user-menu.nav > li > a .badge` (specificity
 * 0,3,2) forcing a 7px dark dot on every nav badge. This selector must match
 * or beat that specificity (it does: 0,4,2) to actually take effect.
 */
.user-menu.nav > li > a.notification-bell-toggle .notification-bell-badge {
    display: flex !important;
    position: absolute !important;
    top: 2px !important;
    right: 2px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    height: 18px !important;
    padding: 0 4px !important;
    align-items: center;
    justify-content: center;
    font-size: 11px !important;
    font-weight: 700;
    line-height: 1;
    background-color: #fd7e14 !important;
    color: #ffffff !important;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

/* Notification dropdown: shrink to fit instead of a fixed 290px that leaves
   empty space below when there are only a couple of notifications. */
.notifications .noti-content {
    height: auto;
    max-height: 290px;
}

.report-search-dropdown {
    position: absolute;
    width: 100%;
    min-width: 220px;
    background: #fff;
    border-radius: 10px;
    margin-top: 4px;
    overflow-y: auto;
    max-height: 220px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    border: 1px solid #eee;
    z-index: 1000;
    display: none;
}
.report-search-dropdown .report-search-item {
    padding: 8px 14px;
    cursor: pointer;
    border-bottom: 1px solid #f5f5f5;
    font-size: 14px;
}
.report-search-dropdown .report-search-item:hover {
    background: #f5f7ff;
    color: #4f46e5;
}