@import url(//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800&subset=latin,cyrillic-ext,greek-ext,vietnamese);
@import url('https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@100..900&display=swap');

/* Lucide Icons */
.lucide { display:inline-block; vertical-align:-0.15em; width:1.15em; height:1.15em; }
@keyframes lucide-spin { from { transform:rotate(0deg); } to { transform:rotate(360deg); } }
.lucide-spin { animation: lucide-spin 1s linear infinite; }

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: "Lexend Deca", 'Open Sans', sans-serif;
    color: #545454;
    text-rendering: optimizeLegibility;
    
}

h1, h2, h3, h4, h5, h6, p {
    margin-top: 0;
}

fieldset {
    margin-bottom: 20px;
}

legend {
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 15px;
}

a {
    text-decoration: none;
}

#container {
    min-height: 100%;
    width: 100%;
    position: relative;
    background: #F4F6FA;
    overflow: hidden;
}

.container-fluid {
    padding: 0 40px;
}

#alert {
    z-index: 9999;
    pointer-events: all;
    right: 50px;
}

#alert .alert {
    margin-bottom: 15px;
}

#header {
    background-color: rgba(17,25,57,1);
    z-index: 1000;
    margin: 0;
    padding: 0;
    /* border-bottom: 1px solid #d8d8d8; */
    /* box-shadow: 0px 0px 3px #CCCCCC; */
    height: 55px;
}

#header a{
    /* color: #7f8a9b; */
    color: #ffffffb3;
    /* color: #CCAA6F; */
}

#header a:hover{
    color: #fff;
}

#header .navbar-nav > li > .nav-link {
    /* color: #6D6D6D;
    color: #7f8a9b;  */
    color: #ffffffb3;
}

#header .navbar-nav li > .nav-link:hover, #header .navbar-nav li.show > .nav-link {
    background: #ffffff0d;
    color: #fff;    
}

#header .container-fluid{
    padding: 0 8px;
}

/* Header Notification */
#nav-notification .nav-link {
    padding-left: 15px;
    padding-right: 15px;
    line-height: 30px;
    font-size: 24px;
}

#nav-notification > .nav-link .badge {
    position: absolute;
    top: 7px;
    right: 12px;
    padding: 3px 4px 2px 4px;
    opacity: 0.8;
    border-radius: 6px;
}

/* Desktop */
@media (min-width: 992px) {
    #nav-notification .nav-link {
        line-height: 26px;
    }

    #nav-notification > .nav-link .badge {
        top: 14px;
        right: 11px;
    }
}

#nav-language .nav-link {
    padding-left: 15px;
    padding-right: 15px;
    line-height: 30px;
}

@media (min-width: 992px) {
    #nav-language .nav-link {
        line-height: 24px;
    }
}

/* Header Profile */
#nav-profile .nav-link {
    padding-left: 15px;
    padding-right: 15px;
    line-height: 30px;
}

#nav-profile img {
    max-width: 30px;
}

/* Desktop */
@media (min-width: 992px) {
    #nav-profile .nav-link {
        padding-left: 10px;
        padding-right: 10px;
        line-height: 24px;
    }

    #nav-profile img {
        max-width: 24px;
    }
}

/* Header Logout */
#nav-logout > .nav-link {
    padding-left: 15px;
    padding-right: 15px;
    line-height: 30px;
}

/* Desktop */
@media (min-width: 992px) {
    #nav-logout > .nav-link {
        padding-left: 10px;
        padding-right: 10px;
        line-height: 24px;
    }
}

/* Menu Button */
#button-menu {
    font-size: 25px;
    padding: 0px 16px;
    margin: 2px;
    cursor: pointer;
    color: #6D6D6D;
}

/* Desktop */
@media (min-width: 992px) {
    #button-menu {
        padding: 10px 16px;
    }
}

#column-left {
    width: 52px;
    height: 100%;
    overflow: auto;
    background-color: #2d3e50;
    background-color: #060a14;
    /* background-image: linear-gradient(rgba(30,58,138,1), rgba(23,37,84,1)); */
    background-color: rgba(17,25,57,1);
    position: absolute;
    top: 0px;
    left: -235px;
    padding-top: 60px;
    z-index: 6;
}

#column-left::-webkit-scrollbar {
    width: 10px;
    background-color: rgba(200, 200, 200, 0);
}

#column-left::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(128, 139, 156, 0.2);
}

#content {
    padding-bottom: 40px;
    min-height:80vh;
}

#column-left, #content, #footer {
    transition: all 0.3s;
}

#column-left + #content, #column-left + #content + #footer {
    position: relative;
    left: 0px;
}

#column-left.active {
    left: 0px;
}

#column-left.active + #content, #column-left.active + #content + #footer {
    left: 235px;
}

/* Desktop */
@media (min-width: 992px) {
    #column-left {
        left: 0px;
        /* width: 52px; */
    }

    /* #column-left.active {
        width: 235px;
    } */

    #column-left + #content, #column-left + #content + #footer {
        left: 0px;
        margin-left: 52px;
    }

    #column-left.active + #content, #column-left.active + #content + #footer {
        left: 0px;
        margin-left: 52px;
    }
}

/* Navigation */
#navigation {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 8px;
}

.nav-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #0e2b70;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}

.nav-toggle-btn .lucide {
    width: 18px;
    height: 18px;
    color: #fff;
    stroke: #fff;
    vertical-align: unset;
}

/* Menu */
#menu, #menu ul, #menu li {
    padding: 0;
    margin: 0;
    list-style: none;
}

#menu {
    margin-bottom: 25px;
}

#menu li a {
    text-decoration: none;
    display: block;
    padding: 10px;
    cursor: pointer;
    border-bottom: 0px solid #515151;
}

#menu li a.parent:after {
    font-family: 'Font Awesome 6 Free';
    font-weight: 600;
    float: right;
    margin-right: 8px;
}

#menu li a.parent:after {
    content: "\f107";
}

#menu li a.collapsed:after {
    content: "\f105";
}

/* 1st lvl */
#menu > li {
    position: relative;
    /* border-bottom: 1px solid #2b3642; */
    border-bottom: 1px solid #0000001a;
}

#menu > li > a {
    font-size: 14px;
    /* color: #dfe3eb; */
    color: #fff;
    color: #D3D4D6;
    padding-left: 20px;
    border-bottom: 0px solid #585858;
}

#menu > li > a:hover {
    background-color: #1B2127;
}

#menu > li > a > i {
    font-size: 16px;
    width: 18px;
    margin-right: 5px;
    /*color: #b3cbdd;*/
}

#menu > li.active > a {
    color: #0b91d2;
    color: #22c0b1;
    color: #CCAA6F;
    /* background-color: #171b21; */
    background-color: #0000001a;
}

#menu > li > ul {
    background-color: #293141;
}

/* 2nd lvl */
#menu li li a {
    color: #7f8a9b;
}

#menu li li a:before {
    font-family: 'Font Awesome 6 Free';
    content: "\f101";
    font-weight: 900;
    font-size: 13px;
    margin-left: 10px;
    margin-right: 10px;
    transition: margin ease 0.5s;
}

#menu li li a:hover:before {
    margin-right: 20px;
}

#menu li li a:hover {
    color: #FFFFFF;
    background-color: #242d37;
}

#menu li li.active > a {
    color: #0b91d2;
    color: #ffffff;
    background-color: #242d37;
}

#menu li ul a {
    padding-left: 20px;
}

#menu li li ul a {
    padding-left: 40px;
}

#menu li li li ul a {
    padding-left: 60px;
}

#menu li li li li ul a {
    padding-left: 80px;
}

#stats {
    border-radius: 2px;
    color: #808b9c;
    background: #2e3a47;
    margin: 15px 20px;
    padding: 5px 0;
}

#stats ul, #stats li {
    padding: 0;
    margin: 0;
    list-style: none;
}

#stats li {
    font-size: 11px;
    color: #9d9d9d;
    padding: 5px 10px;
    border-bottom: 1px dotted #373737;
}

#stats div:first-child {
    margin-bottom: 4px;
}

#stats .progress {
    height: 3px;
    margin-bottom: 0;
}

/* footer */
#footer {
    height: 100px;
    text-align: center;
    margin-top: 30px;
}

.page-header {
    vertical-align: middle;
    margin: 20px 0 15px 0;
    padding: 0;
    padding-bottom: 5px;
    border-bottom: 1px solid #e9e9e9;
}

.page-header h1 {
    /* font-family: Roboto, 'Open Sans', sans-serif; */
    font-weight: 600;
    font-size: 1.25rem;
    color: #4c4d5a;
    color: black;
    color: #111939;
    display: inline-block;
    margin-bottom: 15px;
    text-shadow: 0 1px #fff;
}

/* Navs
/* Tabs*/
.nav-tabs > li > a {
    color: #a5a5a5;
}

.nav-tabs > li > a:hover {
    border-color: #eee #eee #ddd;
}

.nav-tabs {
    margin-bottom: 25px;
    background-color: rgb(226 232 240 / 1);
}

.nav-tabs li.nav-item a.active {
    /* color: #333; */
    color: var(--bs-card-cap-color);
}

.form-label, .col-form-label {
    font-weight: bold;
}

.form-switch-lg {
    font-size: 26px;
    min-height: 36px;
    line-height: 36px;
}

input[readonly]{
    background-color: #E4E4E4;
}

input[readonly]:focus{
    background-color: #E4E4E4;
}

@media (min-width: 992px) {
    .col-form-label {
        text-align: right;
    }
}

.row.mb-3 {
    position: relative;
}

.row.mb-3 + .row.mb-3 {
    padding-top: 1rem;
}

.row.mb-3 + .row.mb-3:before {
    display: block;
    content: '';
    position: absolute;
    width: calc(100% - calc(var(--bs-gutter-x) / 1));
    height: 0px;
    left: calc(var(--bs-gutter-x) / 2);
    top: 0;
    border-bottom: 1px solid #ededed;
}

.form-control:hover {
    border: 1px solid #b9b9b9;
    border-top-color: #a0a0a0;
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
}

option{
    font-size: 1.3em;
}

div.required .col-form-label:not(span):before, td.required:before {
    content: '* ';
    color: #F00;
    font-weight: bold;
}

.image {
    width: 12rem;
}

.table thead td span[data-toggle='tooltip']:after, label.form-label span:after {
    font-family: 'Font Awesome 6 Free';
    font-weight: 600;
    content: "\f059";
    color: #1E91CF;
    margin-left: 4px;
}

.table thead td {
    font-weight: bold;
    /* background-color: rgb(245, 248, 250); */
    background-color: #e2e8f099;
    color:rgb(51, 71, 91);
}

.table thead td a{
    color:rgb(51, 71, 91);
    color: rgb(51 65 85 / 1);
}

.table thead > tr > td, .table tbody > tr > td {
    vertical-align: middle;
}

.table a.asc:after {
    font-family: 'Font Awesome 6 Free';
    font-weight: 600;
    content: " \f106";
}

.table a.desc:after {
    font-family: 'Font Awesome 6 Free';
    font-weight: 600;
    content: " \f107";
}

.table .btn{
    padding: 5px 10px;
}

.pagination {
    margin: 0;
}

/* Cards */
.card {
    border-radius: 0px;
}

.card-header{
    padding: 5px var(--bs-card-spacer-x);
    min-height: 46px;
    line-height: 36px;
}

.card-header > i {
    margin-right: 5px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.card-row-buttons{
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
}

.card-filter-buttons{
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
}



.bootstrap-datetimepicker-widget {
    position: absolute;
    float: right;
    z-index: 9999;
    height: 200px;
    width: 250px;
}

/* Modal Popup */
.modal-right .modal-dialog {
    max-width: 700px;
    /* width: 700px; */
    margin-right: 0px;
    margin-top:0px;
    margin-bottom:0px;
}

.modal-right .modal-content{
    height: 99vh;
}

.modal-right .modal-header{
    height: 50px;
    z-index: 10;
}

.modal-right .modal-footer{
    height: 70px;
    justify-content: flex-start;
}

.modal-right .modal-body{
    height: calc(99vh - 120px);
    overflow: auto;
    /* margin-top:-50px; */
    padding-bottom: 60px;
}

/* Tiles */
.tile {
    margin-bottom: 15px;
    border-radius: 3px;
    color: #FFFFFF;
    transition: all 1s;
}

.tile-primary {
    background-color: #1b80c2;
}

.tile-success {
    background-color: #53b953;
}

.tile-warning {
    background-color: #f3aa41;
}

.tile-danger {
    background-color: #e45847;
}

.tile:hover {
    opacity: 0.95;
}

.tile a {
    color: #FFFFFF;
}

.tile-heading {
    padding: 5px 8px;
    text-transform: uppercase;
    color: #FFF;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, .4);
    background-color: rgba(255, 255, 255, 0.1);
}

.tile .tile-heading .pull-right {
    transition: all 1s;
    opacity: 0.7;
}

.tile:hover .tile-heading .pull-right {
    opacity: 1;
}

.tile-body {
    padding: 15px;
    color: #FFFFFF;
    line-height: 48px;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, .4);
}

.tile .tile-body i {
    font-size: 50px;
    opacity: 0.3;
    transition: all 1s;
}

.tile:hover .tile-body i {
    color: #FFFFFF;
    opacity: 1;
}

.tile .tile-body h2 {
    font-size: 42px;
}

.tile-footer {
    padding: 5px 8px;
    background-color: rgba(0, 0, 0, 0.1);
}

.jqvmap-label {
    z-index: 999;
}

.card-body .jqvmap-zoomin, .jqvmap-zoomout {
    padding: 0px;
}

/* Filemanager Folder Size */
#filemanager .fa-folder.fa-5x {
    font-size: 10.5em;
}

#extension-list {
    color: #4b525d;
}

#extension-list h2 {
    margin-top: 54px;
    margin-bottom: 44px;
}

#extension-list section {
    border: 1px solid #ddd;
}

#extension-list section > div {
    position: relative;
}

#extension-list section > div + div {
    border-top: 1px solid #ddd;
    padding: 10px;
}

#extension-list section:hover {
    border: 1px solid #1b80c2;
}

#extension-list > .row {
    margin-top: 30px;
}

#extension-list > .row > * {
    margin-bottom: 30px;
}

#extension-list .extension-preview {
    min-height: 150px;
}

#extension-list .extension-preview img {
    margin: 0 auto;
}

#extension-list .extension-preview .extension-description {
    position: absolute;
    background-color: rgba(36, 45, 55, 0.9);
    color: #fff;
    padding: 10px;
    font-size: 14px;
    line-height: 16px;
    opacity: 0;
    height: 100%;
    width: 100%;
}

#extension-list .extension-preview .extension-description:hover {
    opacity: 1;
}

#extension-list i {
    color: #10b4e9;
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    #extension-list .extension-preview {
        min-height: 123px;
    }

    #extension-list .extension-preview .extension-description {
        font-size: 12.5px;
        padding: 6px;
    }

    #extension-list .extension-preview img {
        margin: 0 auto;
    }

    #extension-list .extension-name {
        min-height: 105px;
    }

    #extension-list .extension-name p {
        color: #000;
        margin-bottom: 0;
        font-weight: 600;
    }

    #extension-list .extension-name p:first-child {
        font-size: 17px;
    }

    #extension-list .extension-name p span {
        color: #4b525d;
        font-weight: 400;
    }

    #extension-list .extension-name h4 a, #extension-list .extension-name p a {
        color: #000;
    }

    #extension-list .extension-name + div > .row {
        margin-top: 0;
    }

    @media screen and (min-width: 992px) and (max-width: 1199px) {
        #extension-list .extension-name + div > .row {
            font-size: 14px;
        }
    }

    #extension-list span {
        font-weight: 600;
    }
}

#marketplace-extension-info #banner img {
    margin-left: auto;
    margin-right: auto;
}

#marketplace-extension-info .extension-review {
    border-top: 5px solid #1b80c2;
    padding-top: 50px;
    margin-top: 50px;
    margin-bottom: 50px;
}

#marketplace-extension-info .nav-tabs {
    font-size: 14px;
}

#marketplace-extension-info .nav-tabs + .tab-content {
    margin-top: 30px;
    margin-bottom: 30px;
}

#marketplace-extension-info iframe {
    width: 100%;
    height: 500px;
}

@media screen and (max-width: 767px) {
    #marketplace-extension-info iframe {
        height: 350px;
    }
}

#marketplace-extension-info #buy {
    color: #4b525d;
}

#marketplace-extension-info #buy #price {
    color: #000;
    font-size: 20px;
    padding-top: 15px;
    padding-bottom: 5px;
}

#marketplace-extension-info #buy i {
    color: #10b4e9;
}

#marketplace-extension-info #buy hr {
    border-color: #ddd;
    margin: 10px 0;
}

#marketplace-extension-info #sales {
    color: #4b525d;
}

#marketplace-extension-info #sales i {
    color: #7ec239;
    margin-right: 10px;
    font-size: 24px;
}

#marketplace-extension-info #sales strong {
    font-size: 24px;
}

#marketplace-extension-info #comment {
    color: #4b525d;
}

#marketplace-extension-info #comment i {
    margin-right: 10px;
    font-size: 22px;
}

#marketplace-extension-info #comment strong {
    font-size: 22px;
}

#marketplace-extension-info .reply > div {
    margin-top: 15px;
}

#marketplace-extension-info .well .media {
    line-height: 1.2;
}

#marketplace-extension-info .well .media .media-body {
    padding-top: 6px;
}

#marketplace-extension-info .well .media .media-body span {
    font-size: 24px;
    font-weight: 600;
}

#marketplace-extension-info .well .media .media-body small {
    color: #878f9a;
}

@media screen and (max-width: 992px) {
    #marketplace-extension-info .container-fluid {
        padding-bottom: 30px;
    }
}

.list-check {
    list-style: none;
}

.list-check li::before {
    font-family: 'Font Awesome 6 Solid';
    content: "\f00c";
    margin-left: -30px;
    width: 29px;
    display: inline-block;
    color: #7ebd38;
}

.list-check.list-color-blue li::before {
    color: #02afe9;
}

.table-responsive {
    overflow: visible;
}

td {
    position: relative;
}

.cursor-pointer {
    cursor: pointer;
}

.red-dot {
    height: 8px; 
    width: 8px; 
    background-color: red; 
    border-radius: 50%; 
    display: inline-block;
}

.color-bcbcbc {
    color: #bcbcbc !important;
}

.productlist-boldnumber {
    font-size: 1rem;
    color: #33475B;
}

.text-10 {
    font-size: 10px;
}

.import-status--100 {
    color: #0071E3 !important;
}

.import-status--110 {
    color: #4CB64C !important;
}

.import-status--120 {
    color: #33475B !important;
}

.import-detail-status--100 {
    background-color: #0071E3 !important;
}

.import-detail-status--111 {
    background-color: #d87000 !important;
}

.import-detail-status--110 {
    background-color: #4CB64C !important;
}

.import-detail-status--120 {
    background-color: #33475B !important;
}

.import-status--import_return {
    color: #4CB64C !important;
}

.import-status--import_new {
    color: #33475B !important;
}

.number_order {
    border-radius: 3px;
    color: #33475B;
    background-color: #E0EFFF;
    padding: 5px 10px;
    margin-left: 4px;
}

.number_order.active {
    color: #fff;
    background-color: #0071E3;
}

.text-red {
    color: red;
}

.text-gray{
    color: #666666;
}

.text-gray-light{
    color: #CCCCCC;
}

.text-orange{
    color: #FF9900;
}

.file-label{
    inline-size: 130px;
    overflow-wrap: break-word;
}

.add-product-image{
    padding: 114px 0;
    text-align: center;
}

/*TAB ORDER*/
.order-tab:empty {
    display: none;
}

.order-tab.active{
    color:#000;
    font-weight: bold;
}

.order-tab.active .number_order{
    color: #fff;
    background-color: #121737;
}


/* ECOMMERCE PLATFORM */
.export_basic-text {
    color: #999999 !important;
    border-left: 2px solid #999999 !important;
}
.badge-export_basic{
    color: #000000;
    background-color: #999999;
}

.oms-text {
    color: #000 !important;
    border-left: 2px solid #BE0487 !important;
}

.badge-oms{
    color: #fff;
    background-color: #BE0487;
}

.wms-text {
    color: #000 !important;
    border-left: 2px solid #BE0487 !important;
}

.badge-wms{
    color: #fff;
    background-color: #BE0487;
}

.shopee-text {
    color: #FF6600 !important;
    border-left: 2px solid #FF6600 !important;
}

.badge-shopee{
    color: #ffffff;
    background-color: #FF6600;
}

.tiktok-text {
    color: #000000 !important;
    border-left: 2px solid #25F4EE !important;
    font-weight: bold;
}

.badge-tiktok{
    color: #ffffff;
    background-color: #000000;
}

.tiki-text {
    color: #0068D1 !important;
    border-left: 2px solid #0068D1 !important;
}

.badge-tiki{
    color: #ffffff;
    background-color: #0068D1;
}

.lazada-text {
    color: #0F156D !important;
    border-left: 2px solid #F20476 !important;
}

.badge-lazada{
    color: #ffffff;
    background-color: #0F156D;
}

.sapo-text {
    color: #0099FF !important;
    border-left: 2px solid #0099FF !important;
}

.badge-sapo{
    color: #ffffff;
    background-color: #0099FF;
}

.haravan-text {
    color: #2979FF !important;
    border-left: 2px solid #2979FF !important;
}

.badge-haravan{
    color: #ffffff;
    background-color: #2979FF;
}

.shopify-text {
    color: #95BF47 !important;
    border-left: 2px solid #95BF47 !important;
}

.badge-shopify{
    color: #ffffff;
    background-color: #95BF47;
}


.woo-text {
    color: #8054B3 !important;
    border-left: 2px solid #8054B3 !important;
}

.badge-woo{
    color: #ffffff;
    background-color: #8054B3;
}


.website-text {
    color: #01887f !important;
    border-left: 2px solid #01887f !important;
}

.badge-website{
    color: #ffffff;
    background-color: #01887f;
}

.facebook-text {
    color: #211eae !important;
    border-left: 2px solid #211eae !important;
}

.badge-facebook{
    color: #ffffff;
    background-color: #211eae;
}

.zalo-text {
    color: #086CFF !important;
    border-left: 2px solid #086CFF !important;
}

.badge-zalo{
    color: #ffffff;
    background-color: #086CFF;
}

.affiliate-text {
    color: #c00000 !important;
    border-left: 2px solid #c00000 !important;
}

.badge-affiliate{
    color: #ffffff;
    background-color: #c00000;
}

.other-text {
    color: #3b2801 !important;
    border-left: 2px solid #3b2801 !important;
}

.badge-other{
    color: #ffffff;
    background-color: #3b2801;
}




/* ORDER STATUS CSS */
.badge-new{
    color: white;
    background-color: #000066;
}

.badge-counting{
    color: #4CB64C;
    background-color: #D3EDD3;
}

.badge-counted{
    color: #fff;
    background-color: #d87000;
}


.badge-checkin{
    color: #33475B;
    background-color: #F2F2F2;
}

.badge-on_hold{
    color: #AEAEAE;
    background-color: #F2F2F2;
}

.badge-import_cancel{
    color: #AEAEAE;
    background-color: #F2F2F2;
}


.badge-queueing{
    color: #ffffff;
    background-color: #666666;
}

.badge-queueing{
    color: #ffffff;
    background-color: #666666;
}

.badge-unqualified{
    color: #000000;
    background-color: #FFD9D9;
}

.badge-awating_approve{
    color: #4CB64C;
    background-color: #D3EDD3;
}

.badge-merchant_approved{
    color: white;
    background-color: #000066;
}

.badge-adding_picklist{
    color: #4CB64C;
    background-color: #D3EDD3;
}

.badge-ready_to_pick{
    color: #FFFFFF;
    background-color: #0099FF;
}

.badge-picking{
    color: #4CB64C;
    background-color: #D3EDD3;
}

.badge-awaiting_packing{
    color: #FFFFFF;
    background-color: #FF9900;
}

.badge-packing{
    color: #4CB64C;
    background-color: #D3EDD3;
}

.badge-ready_to_ship{
    color: #FFFFFF;
    background-color: #0071E3;
}

.badge-checkout{
    color: #33475B;
    background-color: #F2F2F2;
}

.badge-ecom_in_cancel{
    color: #AEAEAE;
    background-color: #F2F2F2;
}

.badge-merchant_rejected{
    color: #AEAEAE;
    background-color: #F2F2F2;
}

.badge-merchant_deleted{
    color: #AEAEAE;
    background-color: #F2F2F2;
}


.badge-seller_cancelled{
    color: #AEAEAE;
    background-color: #F2F2F2;
}

/* ORDER TYPE */
.badge-export_basic{
    color: #F2F2F2;
    background-color: #33475B;
}

.badge-export_destroy{
    color: #000000;
    background-color: #FFD9D9;
}

/* HANDOVER */
.badge-listing{
    color: #4CB64C;
    background-color: #D3EDD3;
}

.badge-done{
    color: #33475B;
    background-color: #F2F2F2;
}

/* PICKLIST */
.selected-picklist {
    --bs-btn-padding-x: 0.7692rem;
    --bs-btn-padding-y: 0.5385rem;
    --bs-btn-font-family: ;
    --bs-btn-font-size: 0.8125rem;
    --bs-btn-font-weight: 400;
    --bs-btn-line-height: 1.4;
    --bs-btn-color: var(--bs-body-color);
    --bs-btn-bg: rgb(245, 248, 250);
    --bs-btn-border-color: #1e91cf;
    --bs-btn-border-radius: var(--bs-border-radius);
    --bs-btn-hover-border-color: transparent;
    --bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
    --bs-btn-disabled-opacity: 0.65;
    --bs-btn-focus-box-shadow: 0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);
    display: inline-block;
    padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x);
    font-family: var(--bs-btn-font-family);
    font-size: var(--bs-btn-font-size);
    font-weight: var(--bs-btn-font-weight);
    line-height: var(--bs-btn-line-height);
    color: var(--bs-btn-color);
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 1px solid var(--bs-btn-border-color);
    border-radius: var(--bs-btn-border-radius);
    background-color: var(--bs-btn-bg);
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.bg-blue-100 {
    background-color: #F5F8FA;
}

.bg-unqualified{
    background-color: #FFD9D9 !important;
}

.bg-light-yellow{
    background-color: #FFFFCC !important;
}

.bg-gray-light{
    background-color: #ededed !important;
}

.adjust-type--adjust_damage, .adjust-type--adjust_lost {
    color: #ff9900 !important;
}

.adjust-status--300 {
    color: #0071E3 !important;
}

.adjust-status--310 {
    color: #4CB64C !important;
}

.adjust-status--330 {
    color: #999 !important;
}

.adjust-status--340 {
    color: #ff99cc !important;
}

.pda-control{
    
}


.package-finished{
    border-color:#CCC !important;
    background-color: #E5E5E5;
}


.required .form-control, .required .form-select{
    font-weight: bold;
    background: #E8F0FE;
}



.required input[readonly]{
    background-color: #E4E4E4;
}

.required input[readonly]:focus{
    background-color: #E4E4E4;
}




.bg-overlay-01{
    position: fixed;
    top:0;
    left:0;
    background:#151723 url("../image/astronaut-hero-img.webp") no-repeat center;
    width: 100vw;
    height: 100vh;
    z-index: 0;

}


.a-overlay {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    background: #222;
    background: rgba(255, 255, 255, 0.7);
    z-index: 9998;
}

.a-overlay__inner {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    position: absolute;
}

.a-overlay__content {
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

.spinner {
    width: 75px;
    height: 75px;
    display: inline-block;
    border-width: 2px;
    border-color: rgba(38, 32, 137, 0.05);
    border-top-color: #4e28b7;
    animation: spin 1s infinite linear;
    border-radius: 100%;
    border-style: solid;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

.bg-disable {
    background-color: #f2f2f2;
    opacity: 0.5;
}


.td_sticker{
    font-size: 0.6em;
    color: #666;
    background-color: #F2F2F2;
    position:absolute;
    left:0;
    top:0;
    padding: 3px;
    border-radius: 3px 0 0 3px;
}

.sticker_export_destroy{
    color: #000000;
    background-color: #FFD9D9;
}

.td_label{
    width: 112px;
    font-size: 0.6em;
    color: #666;
    background-color: #F2F2F2;
    padding: 3px;      
}

.label_warehouse_own_fleet{
    color: #000;
    background-color: #13d8e5; 
}


.package-header {
    display: flex;
  }

  .header01 {
    width: 120px;
  }

  .header02 {
    width: 240px;
  }

  .header03 {
    flex-grow: 1;
  }

  .header04 {
    width: 300px;
  }

  .header05 {
    width: 45px;
    background: yellow;
  }

  .header04a {
    width: 30px;
  }

  .header04b {
    flex-grow: 1;
  }

  .header04c {
    width: 50px;
    text-align:right;
  }

  @media all and (max-width: 991px) {
    .package-header {
      flex-wrap: wrap;
    }
    .header01 {
      order: 2;
    }
    .header02 {
      order: 2;
    }
    .header03 {
      order: 1;
      min-width: 100%;
    }
    .header04 {
      order: 2;
    }
    .header05 {
      order: 2;
    }

    .header04a {
      order: 2;
    }

    .header04b {
      order: 1;
    }

    .header04c {
      order: 2;
    }
  }


  .tab-content-border{
    border-right:1px solid var(--bs-border-color);
    border-bottom:1px solid var(--bs-border-color);
    border-left:1px solid var(--bs-border-color);
  }

.packing-pending{
    color: red;
}

.packing-packing{
    color: blue;
}

.packing-packed{
    color: green;
}

.packing-handovered{
    color: gray;
}

.w-80px{
    width: 80px;
}


@media (min-width: 992px) {
    .table-responsive{
        position: relative;
    }
    
    #container{
        overflow-y: auto;
        overflow-x: auto;
        max-height: none;
        height: 100%;
        min-height: calc(100vh-50px); /*optional, can be changed to anything*/
        padding-bottom: 50px;
        width: 100%;
        min-width: 1300px;
    }
    
    .card .card-body{
        /* position: relative;
        overflow: auto;*/
        width: 100%;
    }
    
    table.fixed-header{
       /* min-width: 1200px; */
    }
    
    table.fixed-header thead th, table.fixed-header thead td{
      position: sticky !important;
      top: -17px;
      z-index: 99999;
      background-color: #cfcfcf !important;
      
    }

    /*
    .fixed-pagination{
      position: sticky !important;
      bottom: -32px;
      z-index: 99999;
      background-color: #000 !important;

    }
    */

    #content{
      position: fixed !important;
      /* left: 52px; */
      width: 100%;
      padding-right: 30px;
      padding-bottom: 120px;
      top: 55px;
      z-index: 2;
      overflow-y: auto;
      overflow-x: auto;
      max-height: none;
      height: 100%;
      min-height: 100vh;
      transition: left 0.3s, width 0.3s;
    }

    #content.login-page{
        background: url(../image/login_bg2.webp) no-repeat center;
        background-size: cover;
    }

    #content.login-page:before{
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.2);
        z-index: -1;
    }
    
    #column-left{
      position: fixed !important;
      top: 55px;
      z-index: 3;
      overflow-y: auto;
      /* overflow-x: hidden; */
      max-height: none;
      height: 100%;
      min-height: 100vh; /*optional, can be changed to anything*/
      padding-top: 10px;
      transition: width 0.3s;
    }

    /* #column-left.active{
      width: 235px;
    } */

    #data-list{
        height: calc(100vh - 200px);
        /* height: 100vh; */
        /* padding-bottom: 200px; */
        overflow: auto;
    }
    
    #footer{
        display: none;
        
    }
}

.break-word{
    word-break: break-all;
}

.alert-danger .btn-editquantity{
    background-color: var(--bs-danger-text-emphasis);
}



.processing{
    width: 100px;
    height: 100px;
    margin:0 auto;
    background:#151723 url("../image/processing.gif") no-repeat center;
    background-size: cover;
}


/* PACKAGING SCREEN */
#pageHeader {
    /* margin-bottom: 20px; */
}
#pageBody {
    flex: 1;
    overflow: hidden;
}
#colBody1, #colBody2, #colBody3 {
    height: 100%;
    overflow-y: auto;
}
.header-box {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 5px;
    margin-bottom: 10px;
}
.header-icon {
    font-size: 24px;
    margin-right: 15px;
}
.header-text {
    display: flex;
    flex-direction: column;
}
.header-label {
    font-size: 12px;
    color: #000;
}
.header-value {
    font-size: 16px;
    font-weight: bold;
    color: #0d6efd;
}
.table-fixed-header {
    overflow-y: auto;
    max-height: calc(100% - 50px);
}
.table-fixed-header thead th {
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 1;
}
.highlight-row {
    background-color: #fff3cd !important;
}
.error-row {
    color: #dc3545 !important;
}
.completed-icon {
    color: #28a745;
}
.pending-icon {
    color: #6c757d;
}
.warning-icon {
    color: #dc3545;
}
.status-col {
    width: 60px;
    text-align: center;
}

.status-col {
    width: 60px;
    text-align: center;
}
/* Styles pour colBody3 */
#orderinfor, #packagematerial, #services {
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 20px;
}
.order-info-item {
    background-color: #f8f9fa;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
}
.order-header {
    font-weight: bold;
    margin-bottom: 10px;
}
.order-number {
    font-weight: bold;
}
.badge-shopee {
    background-color: #ff5722;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.btn-add {
    width: 28px;
    height: 28px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    border-radius: 4px;
}
.no-data {
    padding: 10px;
    color: #6c757d;
    text-align: center;
}

/* Điều chỉnh CSS cho bảng có header cố định */
#savedpackagedetail {
    position: relative;
    height: calc(100% - 60px);
    margin-top: 10px;
}

/* Sử dụng table-wrapper để tạo container có scroll */
.table-wrapper {
    max-height: 100%;
    overflow-y: auto;
}

/* Fix độ rộng cột cho cả header và body */
#savedpackagedetail table {
    width: 100%;
    table-layout: fixed;
}

/* Đảm bảo header được fixed khi scroll */
#savedpackagedetail thead th {
    position: sticky;
    top: 0;
    background-color: #f8f9fa;
    z-index: 1;
}

/* Định nghĩa độ rộng cột */
#savedpackagedetail th:nth-child(1),
#savedpackagedetail td:nth-child(1) {
    width: 10%;
}

#savedpackagedetail th:nth-child(2),
#savedpackagedetail td:nth-child(2) {
    width: 50%;
}

#savedpackagedetail th:nth-child(3),
#savedpackagedetail td:nth-child(3) {
    width: 20%;
}

#savedpackagedetail th:nth-child(4),
#savedpackagedetail td:nth-child(4) {
    width: 20%;
}

/* Đảm bảo không có khoảng cách trong cell */
#savedpackagedetail th,
#savedpackagedetail td {
    padding: 8px;
    vertical-align: middle;
}
/* END PACKAGING SCREEN */


.separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin-top: 1em;
    margin-bottom: 1em;
    color: #CCC;
}
  
.separator::before,
.separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #CCC;
}
  
.separator:not(:empty)::before {
    margin-right: .25em;
}
  
.separator:not(:empty)::after {
    margin-left: .25em;
}