body {
    background-color: var(--bs-white);
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-h);
    background-color: var(--bs-white);
    z-index: 3;
}
header ._left {
    background-color: var(--primary);
    width: var(--navmenu-w);
    height: 100vh;
    box-shadow: 3px 0 10px 0 rgba(0,0,0,0.1);
    position: fixed;
    left: 0;
    top: 0;
    z-index: 3;
}
header ._left a {
    color: var(--bs-white);
    text-decoration: none;
}
.btn-coll-menu {
    position: absolute;
    top: 0;
    margin-left: calc(var(--navmenu-w));
    height: var(--header-h);
    display: flex;
    align-items: center;
    padding: 0 20px;
    z-index: 3;
}
.btn-coll-menu button {
    color: var(--primary);
    font-size: 1.1rem;
    background-color: transparent;
}
.btn-coll-menu button::before {
    content: "\f0c9";
    font-family: "Font Awesome 6 Free";
    font-weight: 600;
}
.btn-coll-menu button:active {
    transform: scale(1.1);
}
.btn-coll-menu a {
    text-decoration: none;
    color: var(--primary);
    font-weight: bold;
    font-size: 1rem;
    margin-left: 10px;
}
.web_title {
    height: var(--header-h);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.6rem;
    font-weight: bold;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    margin: 0;
}
.web_title img {
    height: 40px;
    object-fit: cover;
}

.nav_menu {
    position: relative;
    margin-top: 10px;
    max-height: calc(100vh - var(--header-h) - 10px);
    overflow-y: auto;
    padding-bottom: 50px;
}
.nav_menu h2 {
    font-size: .8rem;
    color: var(--bs-white);
    padding: 0 20px;
    letter-spacing: .8px;
    margin-bottom: 12px;
}
.nav_menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.nav_menu > ul {
    margin-bottom: 30px;
}
.nav_menu ul ul {
    margin-top: 7px;
    padding-left: 60px;
    padding-top: 20px;
    padding-bottom: 12px;
    font-size: 0.87rem;
    background-color: rgba(0,0,0,0.1);
    display: none;
}
.nav_menu ul ul li {
    margin-bottom: 10px;
    position: relative;
    letter-spacing: .8px;
}
.nav_menu ul ul li.active a {
    font-weight: bold;
}
.nav_menu ul ul li.active::before {
    content: "";
    width: 7px;
    height: 7px;
    position: absolute;
    left: -18px;
    top: 7px;
    background-color: var(--bs-white);
    border-radius: 100%;
}
.nav_menu ul ul li:not(.active) {
    opacity: .9;
}
.nav_menu > ul > li {
    margin-bottom: 10px;
}
.nav_menu > ul > li > a {
   position: relative;
   display: block;
   border-radius: 2rem;
   height: 45px;
   display: flex;
   justify-content: space-between;
   align-items: center;
}
.nav_menu > ul > li:has(ul) > a::after {
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 600;
    position: absolute;
    right: 20px;
    top: 16px;
    font-size: .75rem;
    color: rgba(255, 255, 255, 0.5);
}
.nav_menu > ul > li:has(ul) > a.show_submenu::after {
    content: "\f078";
}
.nav_menu > ul > li.active > a > span {
    font-weight: bold;
}
.nav_menu > ul > li.active > a::before  {
    content: "";
    width: 5px;
    height: 60%;
    position: absolute;
    left: 0;
    background-color: #fff;
    border-radius: 0 5px 5px 0;
}
.nav_menu > ul > li > a > i {
    display: block;
    width: 55px;
    padding-left: 10px;
    line-height: 45px;
    text-align: center;
    /* background-color: #000; */
    border-radius: 2rem;
}
.nav_menu > ul > li > a > span {
   width: calc(100% - 55px);
}
.hide_menu header ._left, .collp-menu header ._left {
    display: none;
}
.collp-menu.hide_menu header ._left {
    display: block;
}
.collp-menu main, .collp-menu .btn-coll-menu, .hide_menu .btn-coll-menu, .hide_menu main {
    margin-left: 0;
}
.collp-menu.hide_menu .btn-coll-menu, .collp-menu.hide_menu main {
    margin-left: var(--navmenu-w);
}
.collp-menu.hide_menu .btn-coll-menu button::before {
    content: "\f060";
}
.hide_menu .btn-coll-menu button::before {
    content: "\f061";
}
.fadeout_menu .btn-coll-menu button::before {
    content: "\f060";
}
.fadeout_menu .btn-coll-menu, .fadeout_menu main {
    animation: slideLeftIconMenu 300ms forwards;
}
.fadeIn_menu .btn-coll-menu, .fadeIn_menu main {
    animation: slideRightIconMenu 300ms forwards;
}
.fadein_menu header ._left, .collp-menu.fadeIn_menu header ._left {
    animation: fadeInMenu 400ms forwards;
}
.fadeout_menu header ._left, .collp-menu.fadeout_menu header ._left {
    animation: fadeOutMenu 400ms forwards; 
}

header ._right {
    position: absolute;
    right: 0;
    top: 0;
    height: var(--header-h);
    display: flex;
    align-items: center;
    padding: 0 30px;
}
header ._right > ul {
    padding: 0;
    margin: 0;
    list-style: none;
    gap: 20px
}
header ._right > ul > li:last-child {
    border-left: 1px solid rgba(0,0,0,0.1);
    padding-left: 20px;
}
header ._right > ul .menu button {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background-color: transparent;
}
header ._right > ul .menu button i {
    color: var(--primary);
    font-size: 1rem;
    position: relative;
    top: 1px;
}
header ._right > ul .menu button span {
    background-color: var(--danger);
    position: absolute;
    right: 3px;
    top: 1px;
    border: 2px solid var(--bs-light);
    border-radius: 100%;
    width: 10px;
    height: 10px;
}
header ._right > ul .menu .icon {
    width: 45px;
    height: 45px;
    background-color: var(--bs-light);
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
} 
header ._right > ul .menu .text {
    width: calc(100% - 60px);
}  
header ._right > ul > li > ._img {
    width: 30px;
    height: 30px;
    border-radius: 100%;
    position: relative;
    cursor: pointer;
}
header ._right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
header ._right > ul > li > ._img span {
    width: 10px;
    height: 10px;
    border-radius: 100%;
    background-color: var(--success);
    border: 2px solid var(--bs-light);
    position: absolute;
    right: -3px;
    bottom: 2px;
    z-index: 1;
}
.dropdown-menu {
    border: 0;
    box-shadow: 0 5px 7px 0 rgba(0,0,0,0.05);
    border-top: 4px solid var(--primary);
    margin-top: 10px !important;
}
header ._right .dropdown-menu {
    width: 280px;
}
header ._right .dropdown-menu li:not(:last-child) {
    border-bottom: 1px dashed #eee;
}
header ._right .dropdown-menu .img {
    width: 70px;
    height: 70px;
    position: relative;
    overflow: hidden;
    border-radius: 100%;
    margin: 0 auto 15px;
}
header ._right .dropdown-menu img {
    width: 100%;
    height: 100%;
    object-fit: cover;

}
header ._right ul > li:last-child .dropdown-menu .dropdown-item:is(:active) {
    background-color: var(--primary);
}
header ._right ul > li:last-child .dropdown-menu li:last-child .dropdown-item:is(:active) {
    background-color: var(--danger);
    color: #fff !important;
    border-radius: 0 0 0.375rem 0.375rem;
}

main {
    position: relative;
    overflow-x: hidden;
    margin-top: var(--header-h);
    margin-left: var(--navmenu-w);
    padding: 30px;
    background-color: rgba(0,0,0,0.01);
    border-radius: 2rem 2rem 0 0;
    min-height: calc(100vh - var(--header-h));
}
.page_title {
    position: relative;
    margin-bottom: 30px;
}
.page_title h2 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--primary);
}
.page_title p {
    margin-bottom: 0; 
    color: rgba(0,0,0,0.5);
    letter-spacing: .8px; 
    font-size: .8rem;  
}

.chart-date-info h5 {
    letter-spacing: 1px;
    font-weight: bold;
}

.custom-list .list-group-item {
    border-style: dashed;
}
.custom-list .icon {
    width: 50px;
    height: 50px;
    border-radius: 100%;
    background-color: var(--bs-light);
    display: grid;
    place-items: center;
}
.custom-list .text {
    width: calc(100% - 65px);
}
.custom-list h6 {
    font-weight: bold;
}
.custom-list small {
    font-size: .7rem;
}

.cart_list {
    width: calc(100% - 280px - 8px);
    min-height: 31.5vh;
}
.form_pembayaran {
    width: 280px;
}
.shorcut_nominal button {
    font-size: 11px;
    border-radius: 5px;
    padding: 2px 10px;
    border: 1px solid #ccc !important;
    background-color: var(--bs-light);
}
.shorcut_nominal button:active {
    transform: scale(1.03);
}

#modal_barcode .img {
    min-height: 90px;
    background-color: var(--bs-light);
    border-radius: 10px;
}

a.badge {
    text-decoration: none;
}
#table-detail-opname th {
    vertical-align: middle;
}
.text-init {
    width: 100%;
    height: 100%;
    background-color: var(--bs-light);
    display: block;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.text-init.text-lg {
    font-size: 1.3rem;
}
.text-init.text-sm {
    font-size: 0.7rem;
}
.mart_logo .img {
    width: 60px;
    height: 50px;
    background-color: #fff;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
} 
.mart_logo img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
}
.mart_logo .text {
    width: calc(100% - 60px - 10px);
}
#inp_scanner {
    position: absolute;
    opacity: 0;
    z-index: -1;
    top: 0;
    left: 0;
}
#qr-reader, #qr-reader__dashboard_section_csr button, #html5-qrcode-button-file-selection {
    border: 1px solid #ddd !important;
    border-radius: 5px;
}
#qr-reader__dashboard_section_csr button, #html5-qrcode-button-file-selection {
    background-color: #fff;
    padding: 5px 20px;
}
#html5-qrcode-button-file-selection {
    margin-bottom: 10px;
}
#html5-qrcode-anchor-scan-type-change {
    margin-top: 10px;
    display: inline-block;
    text-decoration: none !important;
    color: rgba(0,0,0,0.7);
}
#import_file_inp {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

/* keyframe Animation */
@keyframes fadeInMenu {
    from {
        opacity: 0;
        margin-left: -50px;
    }
    to {
        opacity: 1;
        margin-left: 0;
    }
}
@keyframes fadeOutMenu {
    from {
        opacity: 1;
        margin-left: 0;
    }
    to {
        opacity: 0;
        margin-left: -50px;
    }
}
@keyframes slideLeftIconMenu {
    from {
        margin-left: var(--navmenu-w);
    }
    to {
        margin-left: 0px;
    }
}
@keyframes slideRightIconMenu {
    from {
        margin-left: 0px;
    }
    to {
        margin-left: var(--navmenu-w);
    }
}

/* media query */
@media screen and (max-width: 768px) {
    header ._left, .hide_menu header ._right {
        display: none;
    }
    .btn-coll-menu, main {
        margin-left: 0;
    }
    .hide_menu header ._left {
        display: block;
    }
    .hide_menu .btn-coll-menu {
        margin-left: var(--navmenu-w);
    }
    .hide_menu .btn-coll-menu button::before {
        content: "\f060";
    }
    .hide_menu main, .fadeout_menu main, .fadein_menu main, .collp-menu.hide_menu main, .collp-menu.collp-menu.fadeout_menu main, .collp-menu.fadein_menu main {
        margin-left: 0;
    }
    .fadeout_menu .btn-coll-menu button::before {
        content: "\f061";
    }
    .fadeout_menu .btn-coll-menu {
        animation: slideRightIconMenu 300ms forwards;
    }
    .fadeIn_menu .btn-coll-menu {
        animation: slideLeftIconMenu 300ms forwards;
    }
    .fadein_menu header ._left {
        animation: fadeOutMenu 400ms forwards; 
    }
    .fadeout_menu header ._left {
        animation: fadeInMenu 400ms forwards;
    }
    
    .cart_list, .form_pembayaran {
        width: 100%;
    }
}
