.loading_wrap {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #fff;
    display: block;
    position: absolute;
}
.card-body-scrollable {
    overflow: auto;
    white-space: nowrap;
}
.loader_logo {
    height: 80px;
    width: 80px;
    position: absolute;
    left: calc(50% - 50px);
    top: 38%;
}

.loader_logo img {
    height: 100%;
    width: 100%;
}

.fs-11px {
    font-size: 11px !important;
}

.fs-15px {
    font-size: 15px !important;
}

.fs-20px {
    font-size: 20px !important;
}

.vue-daterange-picker.is-invalid .form-control {
    border-color: #dc3545;
}

.vue-daterange-picker.is-invalid ~ .invalid-feedback {
    margin-top: 0;
    display: block;
}

.loading {
    border: 3px solid rgba(255, 99, 15, 0.45);
    position: absolute;
    left: calc(50% - 40px);
    top: 50%;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border-top-color: #ff630f;
    animation: loader 1s ease-in-out infinite;
    -webkit-animation: loader 1s ease-in-out infinite;
}

.custom-vgt-table {
    margin-top: 12px;
}

.vgt-table .product-stock-warning {
    background-color: rgba(236, 68, 68, 0.19);
}

#sidebar-right .vue-daterange-picker {
    width: 100%;
}

.vue-daterange-picker {
    width: 100%;
}

table.vgt-table td {
    vertical-align: middle !important;
}

.btn.btn-badge {
    padding: 0.25rem 0.45rem;
    font-size: 0.711375rem;
    line-height: 1;
    border-radius: 0.2rem;
}
.b-calendar-grid.form-control {
    width: 100% !important;
}
.v-select.is-invalid .vs__dropdown-toggle {
    border-color: #dc3545;
}

.vs__search::-webkit-input-placeholder {
    font-size: 13px;
}

.vs__search:-moz-placeholder {
    font-size: 13px;
}

.vs__search::-moz-placeholder {
    font-size: 13px;
}

.vs__search:-ms-input-placeholder {
    font-size: 13px;
}

.badge-warning {
    color: #fff !important;
}

@-webkit-keyframes spinner-border {
    to {
        -webkit-transform: rotate(1turn);
        transform: rotate(1turn);
    }
}

@keyframes spinner-border {
    to {
        -webkit-transform: rotate(1turn);
        transform: rotate(1turn);
    }
}

.spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: -0.125em;
    border: 0.25em solid;
    border-right: 0.25em solid transparent;
    border-radius: 50%;
    -webkit-animation: spinner-border 0.75s linear infinite;
    animation: spinner-border 0.75s linear infinite;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.2em;
}

.b-time.b-form-time-control {
    padding: 15px;
}

@-webkit-keyframes spinner-border {
    to {
        -webkit-transform: rotate(1turn);
        transform: rotate(1turn);
    }
}

@keyframes spinner-border {
    to {
        -webkit-transform: rotate(1turn);
        transform: rotate(1turn);
    }
}

.spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: -0.125em;
    border: 0.25em solid;
    border-right: 0.25em solid transparent;
    border-radius: 50%;
    -webkit-animation: spinner-border 0.75s linear infinite;
    animation: spinner-border 0.75s linear infinite;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.2em;
}

.text-primary {
    color: #ff630f !important;
}

.btn-loader .bg-light {
    background-color: #f8f9fa !important;
}

#branch-select-dropdown .btn.dropdown-toggle {
    border-color: transparent;
}
#branch-select-dropdown .btn.dropdown-toggle span {
    padding: 8px 12px !important;
    background-color: #f3f4f6 !important;
    cursor: pointer;
    border-radius: 8px;
}

@keyframes loader {
    to {
        -webkit-transform: rotate(360deg);
    }
}

@-webkit-keyframes loader {
    to {
        -webkit-transform: rotate(360deg);
    }
}

ul.timeline {
    list-style-type: none;
    position: relative;
}
ul.timeline:before {
    content: " ";
    background: #d4d9df;
    display: inline-block;
    position: absolute;
    left: 29px;
    width: 2px;
    height: 100%;
    z-index: 400;
}
ul.timeline > li {
    margin: 20px 0;
    padding-left: 20px;
}
ul.timeline > li:before {
    content: " ";
    background: white;
    display: inline-block;
    position: absolute;
    border-radius: 50%;
    border: 3px solid #22c0e8;
    left: 20px;
    width: 20px;
    height: 20px;
    z-index: 400;
}
.chart-ext {
    position: absolute;
    left: -700px;
    top: -500px;
}
.chart-ext .echarts {
    width: 600px !important;
    height: 400px !important;
}
.opacity-50 {
    opacity: 0.5;
}
.timeline li strong {
    margin-left: 30px;
    display: inline-block;
}
.timeline li p {
    margin-left: 30px;
}
.timeline li div {
    margin-left: 30px;
}
.timeline li a.disabled {
    opacity: 0.5;
}
@media (max-width: 991px) {
    .mobile-mb-30 {
        margin-bottom: 30px;
    }
}
.pull-left {
    float: left;
}
.pull-right {
    float: right;
}
.sales-overview-mt-30 {
    margin-top: 30px;
}
.sales-overview-select-date {
    position: relative;
    top: -7px;
    left: 25px;
}
.text-bold {
    font-weight: bold;
}
#pos .pos-detail .vgt-responsive {
    border-bottom: none !important;
    height: 40vh !important;
    max-height: 40vh !important;

    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    display: block;
    overflow-x: auto;
    width: 100%;
}
#pos .pos-detail .vgt-responsive > .table {
    margin-bottom: 0;
}
.vdp-datepicker.is-invalid .form-control {
    border-color: #ef4444;
}
.vdp-datepicker__clear-button {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.375rem 0.75rem;
    font-size: 16px;
    line-height: 20px;
    color: var(--danger);
}
.product-search-box {
    position: relative;
}
.autocomplete .search-product-clear-btn {
    position: absolute;
    top: 0;
    right: 15px;
    font-size: 20px;
    line-height: 36px;
}
.autocomplete .search-product-clear-btn:hover {
    text-decoration: none;
}
.vgt-responsive {
    min-height: 320px;
}
.breadcrumb ul li:not(:first-child):not(:last-child) {
    padding-left: 4px;
}
.breadcrumb ul {
    margin-right: 12px;
}
.breadcrumb .breadcrumb-action {
    margin-left: auto;
}
.table-auto-height .vgt-responsive {
    min-height: auto;
}
.vdp-datepicker__calendar {
    z-index: 10000000 !important;
}
.input-group .form-control {
    border-radius: 0 0.25rem 0.25rem 0;
}
.log-po-row-item-disabled {
    background-color: #f3f4f6;
}
.input-button {
    position: relative;
}
.input-button button {
    position: absolute;
    top: 1px;
    right: 1px;
    border: 0;
    background-color: transparent;
    padding: 6px 12px;
    border-radius: 50%;
}
.input-button button:focus,
.input-button button:active {
    border: 0;
    outline: none;
}
.sticky-header {
    position: relative;
    height: 400px;
    overflow: auto;
}

.sticky-header thead th {
    position: sticky;
    top: 0;
    background: #f8f9fa; /* Match Bootstrap styling */
}
.sticky-header tbody th:nth-child(1),
.sticky-header tbody td:nth-child(2),
.sticky-header tbody td:nth-child(3),
.sticky-header thead th:nth-child(1),
.sticky-header thead th:nth-child(2),
.sticky-header thead th:nth-child(3) {
    position: sticky;
    z-index: 2;
    background: linear-gradient(#f4f5f8, #f1f3f6) !important;
}
.sticky-header thead th:nth-child(1),
.sticky-header tbody th:nth-child(1) {
    width: 32.5px;
    left: 0;
}
.sticky-header thead th:nth-child(2),
.sticky-header tbody td:nth-child(2) {
    width: 105px;
    left: 32.5px;
}
.sticky-header thead th:nth-child(3),
.sticky-header tbody td:nth-child(3) {
    width: 150px;
    left: 142.95px;
}
.sticky-header thead th:nth-child(1),
.sticky-header thead th:nth-child(2),
.sticky-header thead th:nth-child(3) {
    top: 0;
    z-index: 4;
}

.sticky-header thead th {
    position: sticky;
    z-index: 3;
    top: 0;
}
.import-table-container {
    max-height: calc(100vh - 280px);
    overflow: auto;
}
#import-table {
    position: relative;
}
#import-table thead th {
    background: #f8f9fa; /* Match Bootstrap styling */
    position: sticky;
    z-index: 3;
    top: 0;
    border-bottom: 1px solid #dee2e6;
}
.import-modal .modal-dialog {
    max-width: calc(100vw - 100px) !important;
}
.w-160px {
    min-width: 160px!important;
    max-width: 160px!important;
    width: 160px!important;
}
.w-190px {
    min-width: 190px!important;
    max-width: 190px!important;
    width: 190px!important;
}
.w-200px {
    min-width: 200px!important;
    max-width: 200px!important;
    width: 200px!important;
}
.w-220px {
    min-width: 220px!important;
    max-width: 220px!important;
    width: 220px!important;
}
.w-240px {
    min-width: 240px!important;
    max-width: 240px!important;
    width: 240px!important;
}
.w-250px {
    min-width: 250px!important;
    max-width: 250px!important;
    width: 250px!important;
}
.w-285px {
    min-width: 285px!important;
    max-width: 285px!important;
    width: 285px!important;
}
.sticky-header th.line-numbers {
    padding: 0 12px !important;
}
@media (max-width: 576px) {
    .breadcrumb .breadcrumb-action {
        margin-left: 0;
    }
}

@media (min-width: 992px) {
    .modal-lg,
    .modal-xl {
        max-width: 800px !important;
    }
}
@media (min-width: 1200px) {
    .modal-xl {
        max-width: 1140px !important;
    }
}
