@font-face {
    font-family: font;
    src: url('../fonts/vazirmatn.ttf')
}

.card-title,
*,
h1,
h2,
h3,
h4,
h5,
h6,
p {
    font-family: font
}

.login-body .form-section {
    box-shadow: rgba(60, 64, 67, .3) 0 1px 2px 0, rgba(60, 64, 67, .15) 0 2px 6px 2px
}

.login-logo {
    height: 120px !important;
    width: 120px !important
}

.btn-theme {
    font-family: font !important
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0
}

.tabbable .nav-pills {
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap
}

.tabbable .nav-pills .nav-link {
    white-space: nowrap
}

select {
    font-family: font
}

select option {
    font-family: font
}

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

.footer {
    margin-top: 20px
}

.collapsing {
    -webkit-transition: none;
    transition: none;
    display: none
}

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

table.table-bordered {
    border: 1px solid #8B7F88 !important
}

table.table-bordered>thead>tr>th {
    border: 1px solid #8B7F88 !important
}

table.table-bordered>tbody>tr>td {
    border: 1px solid #8B7F88 !important
}

table.table-bordered>tfoot>tr>th {
    border: 1px solid #8B7F88 !important
}

table.table-bordered>tfoot>tr>td {
    border: 1px solid #8B7F88 !important
}

label,
li,
table thead th,
table tbody td,
.col-md-1,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
table tfoot th,
table tfoot td {
    font-size: 1rem;
    font-weight: 500
}

input,
select,
button,
select option {
    font-size: 1rem !important;
    font-weight: 500 !important
}

@media (max-width:576px) {
    .mustHidden {
        display: none
    }

    .baseHeight {
        height: 70vh;
        overflow: auto
    }

    .baseHeight-fast-sale {
        height: 70vh;
        overflow: auto
    }
}

@media (min-width:576px) {
    .baseHeight {
        height: calc(100vh - 280px);
        overflow-y: auto;
        overflow-x: hidden
    }
    .baseHeightr {
        height: calc(100vh - 280px);
        overflow-y: auto;
        overflow-x: hidden
    }

    .baseHeight-fast-sale {
        height: calc(100vh - 300px);
        overflow-y: auto;
        overflow-x: hidden
    }
}

.padding-1 {
    padding: 1px !important
}

.wi-250 {
    width: 130px !important
}

.wi-220 {
    width: 120px !important
}

.wi-200 {
    width: 80px !important
}

.bg-light-red {
    background: #9e3a38
}

.bg-header {
    background: #282c34
}

.outline {
    outline: none !important
}

.default-radius {
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px
}

.bg-none {
    background: none !important
}

body {
    background: rgb(245, 246, 250)
}

.header_icon {
    font-size: 25px !important;
    color: white
}

.hr_line {
    background-color: none;
    border: none;
    margin: 5px
}

.mt-90 {
    margin-top: 80px !important
}

.mt-80 {
    margin-top: 70px !important
}

.card-shadow,
.navbar,
.dropdown-menu,
.ui-autocomplete,
.swal2-container,
.card {
    box-shadow: rgba(60, 64, 67, .3) 0 1px 2px 0, rgba(60, 64, 67, .15) 0 2px 6px 2px
}

.dash_card {
    box-shadow: rgba(0, 0, 0, .35) 0px -50px 36px -28px inset !important
}

.report_card {
    background-color: #181c32;
    color: white;
    box-shadow: rgba(0, 0, 0, .35) 0px -50px 36px -28px inset !important
}

.btn {
    outline: none !important;
    box-shadow: none !important
}

.logo-img {
    max-height: 100px
}

.nav-link {
    color: white
}

.nav-item {
    margin: 10px
}

.nav-link:hover {
    color: white
}

a {
    text-decoration: none !important
}

@media(max-width:991px) {
    .navbar-nav {
        direction: ltr !important
    }

    .navbar-nav .nav-item a,
    .navbar-nav .nav-item select {
        text-align: center
    }

    .dash_card {
        padding: 18px !important
    }

    .dash_container {
        max-width: 100% !important;
        padding-left: 0;
        padding-right: 0
    }
}

@media(min-width:991px) {
    .dash_card {
        padding: 25px !important
    }
}

.unit_text {
    vertical-align: middle;
    padding: 3px !important;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 14px !important;
    font-weight: 800
}

.tr_item td {
    padding: 1px !important
}

td {
    vertical-align: middle !important
}

.rounded-pill {
    border-radius: 50rem !important
}

.ltr_class {
    direction: ltr
}

.font-label-20 {
    font-size: 18px
}

.report_card:hover {
    background-color: rgb(158, 29, 24);
    color: white;
    transform: scale(.9);
    transition: transform .2s ease-in-out
}

.placeholder::-webkit-input-placeholder {
    color: white !important
}

.placeholder:-moz-placeholder {
    color: white !important
}

.width-70 {
    width: 70px
}

.mt-n10 {
    margin-top: -10px !important
}

.price_total_class {
    background: none;
    border: none;
    outline: none
}

textarea:focus,
input:not(.product_item_total_class, .search-pos):focus,
select:not(.search-pos):focus,
input[type]:not(.product_item_total_class, .search-pos):focus,
.uneditable-input:focus {
    border-color: rgba(229, 103, 23, .8) !important;
    box-shadow: 0 1px 1px rgba(229, 103, 23, .075) inset, 0 0 8px rgba(229, 103, 23, .6) !important;
    outline: 0 none !important
}

.margin-top-n20 {
    margin-top: -20px !important
}

.listy-quick {
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    border-radius: 0 !important
}

.product-search {
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    border-radius: 0 !important
}

.mouse-cursor {
    cursor: pointer !important;
    font-size: 1.2rem
}

.border-radius-0 {
    border-radius: 0 !important
}

.nav-mobile-sale {
    background-color: #181c32;
    padding: 0
}

.padding-5 {
    padding: 5px !important
}

.padding-top-5 {
    padding-top: 5px !important
}

.margin-top-5 {
    margin-top: 5px !important
}

.modal {
    overflow-y: auto !important;
    overflow-x: hidden !important
}

.modal-padding {
    padding-right: 0 !important
}

.modal-fullscreen {
    width: 100vw;
    max-width: none;
    height: 100%;
    margin: 0
}

.modal-fullscreen .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0
}

.modal-fullscreen .modal-header {
    border-radius: 0
}

.modal-fullscreen .modal-body {
    overflow-y: auto
}

.modal-fullscreen .modal-footer {
    border-radius: 0
}

.font-12 {
    font-size: 12px
}

.product-card {
    overflow: hidden;
    height: 100%
}

.product-thumb {
    position: relative
}

.card-img-top {
    flex-shrink: 0;
    width: 100%
}

.card-img-top {
    border-top-left-radius: 3px;
    border-top-right-radius: 3px
}

.product-title {
    margin-top: .5rem
}

.product-title a {
    color: #364a63;
    font-size: 16px
}

.select2-container--default .select2-selection--single {
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .3rem .2rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 8px;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    display: none !important
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 26px !important
}

.select2-selection__clear {
    margin-top: -7px !important;
    font-size: 25px !important
}

.select2-container--default .select2-selection--single:hover {
    border-color: rgba(229, 103, 23, .8) !important;
    box-shadow: 0 1px 1px rgba(229, 103, 23, .075) inset, 0 0 8px rgba(229, 103, 23, .6) !important;
    outline: 0 none !important
}

.select2-selection__choice,
.select2-results__option--highlighted {
    border: none
}

span.select2-selection.select2-selection--single {
    outline: none !important
}

.custom-control-lg .custom-control-label::before,
.custom-control-lg .custom-control-label::after {
    top: .1rem !important;
    left: -2rem !important;
    width: 1.25rem !important;
    height: 1.25rem !important
}

.custom-control-lg .custom-control-label {
    margin-left: .5rem !important;
    font-size: 1rem !important
}

[dir="ltr"] .form-main-search {
    border-top-left-radius: 8px !important;
    border-bottom-left-radius: 8px !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important
}

[dir="ltr"] .form-main-select {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-top-right-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
    border-left-style: none !important
}

[dir="rtl"] .form-main-search {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-top-right-radius: 8px !important;
    border-bottom-right-radius: 8px !important
}

[dir="rtl"] .form-main-select {
    border-top-left-radius: 8px !important;
    border-bottom-left-radius: 8px !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-right-style: none !important
}

.img-table {
    height: 5vh !important
}

.img-table:hover {
    cursor: pointer !important
}

.product_item_total_class {
    background: none !important;
    border: none !important;
    outline: none !important
}

.action-icon {
    font-size: 22px !important
}

.bg-inventory-warning {
    background-color: rgb(244, 189, 14) !important;
    color: black !important
}

.bg-inventory-danger,
.bg-inventory-danger em {
    background-color: #e85347 !important;
    color: white !important
}

.select2-search__field,
.form-control:not(.number-spinner-input, .form-main-search, .form-main-select) {
    border-radius: 8px !important
}

.swal2-modal,
.dropdown-menu,
.report_card,
.select2-search__field,
.select2-selection,
.select2-dropdown,
.modal-radius,
.card {
    border-radius: 8px !important
}

.select2-results__option--selectable:last-child {
    border-bottom-left-radius: 5px !important;
    border-bottom-right-radius: 5px !important
}

.btn:not(.number-spinner-btn),
.swal2-confirm,
.swal2-cancel {
    border-radius: 8px !important
}

.swal2-content {
    max-height: 30vh;
    overflow-y: auto;
    width: 100%
}

.select2-dropdown {
    margin-top: 5px !important;
    border-top: 1px rgb(170, 170, 170) solid !important;
    box-shadow: rgba(60, 64, 67, .3) 0 1px 2px 0, rgba(60, 64, 67, .15) 0 2px 6px 2px
}

@media screen and (max-width:767px) {
    li.paginate_button.previous {
        display: inline
    }

    li.paginate_button.next {
        display: inline
    }

    li.paginate_button {
        display: none
    }
}

.pagination {
    display: -ms-flexbox;
    display: flex;
    padding-right: 0;
    list-style: none;
    border-radius: .25rem
}

.page-link {
    position: relative;
    display: block;
    padding: .5rem .75rem;
    margin-right: -1px;
    line-height: 1.25;
    color: #007bff;
    background-color: #fff;
    border: 1px solid #dee2e6
}

.page-link:hover {
    z-index: 2;
    color: #0056b3;
    text-decoration: none;
    background-color: #e9ecef;
    border-color: #dee2e6
}

.page-link:focus {
    z-index: 3;
    outline: 0;
    box-shadow: none !important
}

[dir="ltr"] .page-item:first-child .page-link {
    margin-right: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px
}

[dir="ltr"] .page-item:last-child .page-link {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px
}

[dir="rtl"] .page-item:first-child .page-link {
    margin-right: 0;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0
}

[dir="rtl"] .page-item:last-child .page-link {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0
}

.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #007bff;
    border-color: #007bff
}

.page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    cursor: auto;
    background-color: #fff;
    border-color: #dee2e6
}

.borderless tr td {
    border: none !important
}

.bg-stock {
    background-color: #e85347 !important;
    color: black !important
}

.bg-stock td,
.bg-stock .product_item_total_class,
.bg-stock td a {
    color: rgb(0, 0, 0) !important
}

@media screen and (max-width:992px) {
    .mobile-header-store {
        margin: 5px
    }

    .modal-xl,
    .modal-to-fullscreen {
        width: 100vw !important;
        max-width: none !important;
        height: 100% !important;
        margin: 0 !important
    }

    .modal-xl .modal-content,
    .modal-to-fullscreen .modal-content {
        height: 100% !important;
        border: 0 !important;
        border-radius: 0 !important
    }

    .modal-xl .modal-header,
    .modal-to-fullscreen .modal-header {
        border-radius: 0 !important
    }

    .modal-xl .modal-body,
    .modal-to-fullscreen .modal-body {
        overflow-y: auto !important
    }

    .modal-xl .modal-footer,
    .modal-to-fullscreen .modal-footer {
        border-radius: 0 !important
    }

    .list-columns {
        border: 2px solid rgb(219, 223, 234) !important;
        border-radius: 8px !important
    }
}

.modal {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-right: 0 !important
}

.border-none {
    border: none !important
}

.search-pos:focus {
    box-shadow: none !important;
    outline: 0 none !important
}

.border-bottom-none {
    border-bottom: none !important
}

[dir="ltr"] body {
    text-align: left !important
}

[dir="rtl"] body {
    text-align: right !important
}

[dir="ltr"] .navbar-left {
    margin-left: auto !important
}

[dir="rtl"] .navbar-left {
    margin-right: auto !important
}

.pos-header .select2-container--default .select2-selection--single {
    background: none !important;
    color: white !important
}

.pos-header .select2-container--default .select2-selection--single span {
    color: white !important
}

.profile-link {
    text-decoration: underline !important;
    text-underline-offset: 6px !important
}

.border-4 {
    border-width: 4px !important
}

.card-bordered {
    border: 1px solid #dbdfea !important
}

.product-card {
    overflow: hidden;
    height: 100%
}

.product-thumb {
    position: relative
}

.product-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    flex-wrap: wrap;
    margin: -.25rem
}

.product-badges>li {
    padding: .25rem;
    list-style: none !important
}

.product-badges>li>span {
    font-size: 15px !important
}

.card-img-top {
    flex-shrink: 0;
    width: 100%
}

.card-img-top {
    border-top-left-radius: 3px;
    border-top-right-radius: 3px
}

.pos-no-info {
    padding: 5px;
    border-radius: 8px
}

.list-group {
    padding-right: 0 !important
}

.list-group li {
    padding: 5px !important
}

.border-left-and-right {
    border-left: none !important;
    border-right: none !important;
    border-radius: 0 !important
}

.border-top-only {
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
    border-radius: 0 !important
}

.nav-active {
    border-top: 3px solid #007bff !important
}

.pos-close {
    font-size: 30px !important
}

.image-modal-close {
    position: absolute !important;
    margin-right: 5px !important;
    margin-top: 5px !important;
    font-size: 40px !important
}

.image-modal-css .modal-content,
.image-modal-css .modal-body {
    background: none !important;
    box-shadow: none !important;
    border: none !important
}

.login-icon {
    font-size: 22px !important
}

.bg-inventory-warning .profile-link,
.bg-inventory-warning .material-icons {
    color: black !important
}

.bg-inventory-danger .profile-link,
.bg-inventory-danger .material-icons {
    color: white !important
}

*:focus {
    outline: none !important
}

.width-40 {
    width: 40px !important
}

.login-35 .container {
    margin-top: -120px !important
}

*::-webkit-scrollbar-thumb {
    background-color: rgb(193, 193, 193) !important;
    border: 4px solid transparent !important;
    border-radius: inherit !important;
    background-clip: padding-box !important
}

*::-webkit-scrollbar {
    width: 18px !important
}

.btn {
    font-size: 14px !important
}

@media (max-width:992px) {
    .product_table th {
        white-space: nowrap !important;
        width: max-content !important;
        min-width: max-content !important
    }

    .product_table td {
        white-space: nowrap !important;
        width: max-content !important;
        min-width: max-content !important
    }

    .product_table .form-control {
        width: max-content !important;
        min-width: max-content !important
    }

    .mt-70 {
        margin-top: 45px !important
    }
    .mt-60 {
        margin-top: 40px !important
    }
}

@media (min-width:992px) {
    .mt-70 {
        margin-top: 70px !important
    }
    .mt-60 {
        margin-top: 60px !important
    }
}

@media (max-width:768px) {
    .mt-top-1 {
        margin-top: 5px !important
    }
}

.pos-card-header {
    border-bottom: none !important;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    padding-right: 15px !important;
    padding-left: 15px !important
}

.total-invoice-bottom {
    margin-left: 1rem !important;
    margin-right: 1rem !important;
    border-top-left-radius: 8px !important;
    border-top-right-radius: 8px !important;
    color: white !important
}
.total-invoice {
    margin-left: 1rem !important;
    margin-right: 1rem !important;
    border-top-left-radius: 18px !important;
    border-top-right-radius: 18px !important;
    border-bottom-left-radius: 18px !important;
    border-bottom-right-radius: 18px !important;
    color: white !important
}

.numeric-huge {
    font-size: 35px !important;
    font-weight: 900 !important;
    margin-bottom: -10px !important
}

.numeric-huge-text {
    font-size: 18px !important
}

.td-hover:hover {
    cursor: pointer !important;
    background-color: rgb(233, 236, 239) !important
}

.ui-menu {
    border-radius: 8px !important;
    padding: 5px !important;
    font-size: 14px !important
}

.ui-state-active {
    border-radius: 8px !important;
    border: none !important;
    background-color: #ced6e0 !important;
    color: inherit !important
}

.ui-autocomplete {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    max-height: 303.516px !important
}

.number-spinner-wrap .number-plus {
    border-top-left-radius: 8px !important;
    border-bottom-left-radius: 8px !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important
}

.number-spinner-wrap .number-minus {
    border-top-right-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important
}

.number-spinner-input {
    border-right: none !important;
    border-left: none !important
}

.number-spinner-wrap button i {
    margin-top: 4px !important
}

.modal-on-top {
    background: rgb(32, 33, 36, .5);
    z-index: 9999 !important
}

.modal-background {
    background: rgb(32, 33, 36, .6) !important
}

.hover-enable:not(.nav-active):hover {
    cursor: pointer !important;
    background-color: white !important;
    border-radius: 8px !important
}

.hover-enable:not(.nav-active):hover a,
.hover-enable:not(.nav-active):hover span {
    color: black !important
}

.circle-btn-sm {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 16px;
    cursor: pointer;
    transition: background-color .3s ease
}

.btn-group-export-buttons {
    margin-top: -1px !important
}

.list-columns .list-group-item:not(:last-child) {
    border: none !important;
    border-bottom: 2px solid rgb(219, 223, 234) !important;
    box-shadow: none !important
}

.list-columns .list-group-item:first-child {
    border-top-left-radius: 8px !important;
    border-top-right-radius: 8px !important
}

.list-columns .list-group-item:last-child {
    border-bottom: 0 !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom-left-radius: 8px !important;
    border-bottom-right-radius: 8px !important
}

.list-columns .list-group-item {
    padding: 10px !important
}

@media screen and (min-width:992px) {
    .list-columns {
        max-height: 30vh !important;
        overflow-y: auto !important;
        border: 2px solid rgb(219, 223, 234) !important;
        border-radius: 8px !important
    }
}

.modal-header {
    padding: .5rem 1rem !important
}

.modal-title {
    margin: 0 !important
}

.modal-footer {
    padding: .5rem 1rem !important
}

[dir="rtl"] .custom-control-label {
    display: inline-block;
    padding-right: 2rem;
    padding-left: 0;
    text-align: right;
    width: auto;
    vertical-align: middle
}

[dir="rtl"] .custom-control-label::before,
[dir="rtl"] .custom-control-label::after {
    right: 0;
    left: auto
}

[dir="rtl"] .swal2-actions {
    direction: ltr !important
}

[dir="ltr"] .swal2-actions {
    direction: rtl !important
}

.swal2-title {
    font-size: 1rem !important;
    font-weight: 500 !important
}

.swal2-actions button {
    padding: 8px !important;
    font-size: .85rem !important;
    font-weight: 400 !important;
    line-height: 1.25rem !important;
    min-width: 100px !important
}
 /* Modal styling */
    #baqy_modal_create .modal-dialog {
        max-width: 1050px;
        width: 100%;
        margin: 1.75rem auto;
    }

    @media (max-width: 576px) {
        #baqy_modal_create .modal-dialog {
            max-width: 100%;
            margin: 0;
            height: 100%;
        }

        #baqy_modal_create .modal-content {
            height: 100%;
            border-radius: 0;
        }

        #baqy_modal_create .modal-body {
            overflow-y: auto;
        }
    }

    #baqy_modal_create {
        font-size: 62.5%;
        box-sizing: border-box;
    }

    #baqy_modal_create *, 
    #baqy_modal_create *::before, 
    #baqy_modal_create *::after {
        margin: 0;
        padding: 0;
        box-sizing: inherit;
    }

    #baqy_modal_create .calculator {
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: white;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        margin: auto;
    }

    #baqy_modal_create .calculator-screen {
        width: 100%;
        height: 100%;
        border: none;
        color: #fff;
        text-align: center;
        padding-right: 20px;
        padding-left: 10px;
        font-size: 4rem;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
    }

    #baqy_modal_create button {
        height: 60px;
        font-size: 2rem;
        border: 1px solid #ddd;
        background-color: #f8f9fa;
        cursor: pointer;
        transition: background-color 0.2s;
    }

    #baqy_modal_create button:hover {
        background-color: #e9ecef;
    }

    #baqy_modal_create button:active {
        background-color: #dee2e6;
    }

    #baqy_modal_create .btn-light {
        background-color: #f8f9fa;
        color: #212529;
    }

    #baqy_modal_create .btn-danger {
        background-color: #dc3545;
        color: white;
    }

    #baqy_modal_create .btn-danger:hover {
        background-color: #c82333;
    }

    #baqy_modal_create .btn-warning {
        background-color: #ffc107;
        color: #212529;
    }

    #baqy_modal_create .inputs-section {
        padding: 20px;
        background-color: #f8f9fa;
        border-bottom: 1px solid #ddd;
    }

    #baqy_modal_create .input-group {
        margin-bottom: 15px;
    }

    #baqy_modal_create .input-group label {
        display: block;
        margin-bottom: 5px;
        font-weight: bold;
        font-size: 1.4rem;
        color: #333;
    }

    #baqy_modal_create .result-input {
        width: 100%;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 1.8rem;
        background-color: white;
        text-align: right;
    }

    #baqy_modal_create .calculator-keys {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 10px;
        padding: 10px;
    }
#split-button {
    display: inline-flex;
    border-radius: 30px;
    border: 1px solid white;
    margin-right: 10px;
    margin-left: -20px;
    overflow: hidden;
    font-weight: bold;
    direction: rtl;
    box-shadow: none;
}

  #split-button a {
    padding: 6px 20px;
    border: none;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    user-select: none;
    color: white;
  }

    #split-button .active-btn {
        background-color: #ffffff;
        color: black;
    }

   #split-button .inactive-btn {
        background-color: transparent;
        color: white;
    }

  #split-button a:hover {
    text-decoration: none;
    background-color: #ffffff !important;
    color: rgb(148, 143, 143) !important;
  }
   #table-container {
        max-height: 400px;
        overflow-y: auto;
    }
     .barcode-input-container {
            position: relative;
        }

        .barcode-input-container input {
            padding-right: 10px;
        }

        .barcode-icon-inside {
            position: absolute;
            left: 5px;
            top: 50%;
            transform: translateY(-50%);
            cursor: pointer;
            color: #6c757d;
            font-size: 18px;
            z-index: 10;
        }

        .barcode-icon-inside:hover {
            color: #495057;
        }

#google-drive-page {
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: calc(100vh - 100px);
}

#google-drive-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: center;
}

#google-drive-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    padding: 40px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    margin: 0 auto;
}

#google-drive-card .google-drive-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: block;
}

#google-drive-card #card-title {
    color: #2d3748;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
}

#google-drive-card .info-item {
    background: #f7fafc;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: right;
}

#google-drive-card .info-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #667eea;
    margin-bottom: 8px;
}

#google-drive-card .info-value {
    font-size: 16px;
    font-weight: 500;
    color: #2d3748;
}

#google-drive-card .backup-button,
#google-drive-card .btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 10px;
    padding: 16px 24px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    text-decoration: none;
    display: inline-block;
}

#google-drive-card .backup-button:hover,
#google-drive-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

#google-drive-card .btn-danger {
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
}

#google-drive-card .btn-danger:hover {
    box-shadow: 0 10px 25px rgba(229, 62, 62, 0.3);
}

#google-drive-card .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Responsive design for Google Drive page only */
@media (max-width: 480px) {
    #google-drive-card {
        padding: 30px 20px;
        margin: 10px;
    }
    
    #google-drive-card #card-title {
        font-size: 20px;
    }
}


.badge-count {
    position: absolute;
    top: 5px;
    left: 6px;
    background: rgb(1, 5, 23);
    color: white;
    border-radius: 100%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: none;
    text-align: center;
    padding-left: 6px;
    line-height: 24px;
}

.position-relative {
    position: relative;
}

.swal2-container {
    position: fixed !important;
    z-index: 99999 !important;  
}
 .pos-category {
    border-right: 1px solid #dee2e6;
    height: calc(100vh - 140px);
    direction: ltr
}
.pos-no-info {
    padding: 5px;
    border-radius: 8px
}
.pos-active-category {
    border: 2px solid #6576ff !important;
}
.category-btn {
    border: 1px solid #bacef0;      
     color: #003d80;                     
    border-radius: 10px;               
    transition: all 0.2s ease-in-out;
}
.fw-bold {
    font-weight: 700 !important;
}
.pos-product-card {
    height: calc(100vh - 190px);
    padding-top: 10px;
    padding-bottom: 10px;
    direction: ltr
}

.height-pos-frame {
    height: calc(100vh - 64px)
}
  .baseHeight {
        height: calc(100vh - 245px);
        overflow-y: auto;
        padding: 3px
    }
.product-card-pos .card {
    border-radius: 8px;
    height: 100%;
    width: 100%;
    cursor: pointer;
    border: 2px dotted #dee2e6
}
.product-card-pos h6 {
    font-size: .86rem
}
.w-20 {
    width: 20%;
}
.cashier-width {
    width: var(--cashier-width) !important;
}
.w-80{
    width: 80%;
}
 .card-rounded {
    border-radius: 1rem !important;
    overflow: hidden;
}
 .arrow-icon {
            transition: transform 0.3s ease;
            display: inline-block;
        }
.product-card-pos img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    object-position: center;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px
}

.bg-green {
    background-color: #3CB043
}
.product-name-column {
    width: 20%;
    min-width: 10px;
}

.product-total-column {
    width: 10%;
    min-width: 100px;
}

#product_body_result tr.focused-row {
    background-color: #d1ffd6 !important;
}


  .price-toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 28px;
}

/* Hide checkbox */
.price-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* Slider */
.price-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  border-radius: 34px;
  transition: 0.4s;
}

/* Circle */
.price-toggle-slider::before {
  content: "";
  position: absolute;
  height: 22px;
  width: 22px;
  right: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.4s;
}

.price-toggle-switch input:checked + .price-toggle-slider {
  background-color: #4cafee;
}

.price-toggle-switch input:checked + .price-toggle-slider::before {
  transform: translateX(-32px);
}


.price-toggle-label-outside {
  font-size: 14px;
  font-weight: bold;
  color: #000;
    margin-left: 10px;
}

.toggle-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.toggle-text {
    font-size: 16px;
    color: #666;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.toggle-switch {
    display: inline-block;
    position: relative;
}

.toggle-input {
    display: none;
}

.toggle-label {
    display: block;
    width: 40px;
    height: 18px;
    background-color: #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease;
    margin: 0;
}

.toggle-slider {
    position: absolute;
    top: 2px;
    right: 0px;
    width: 14px;
    height: 14px;
    background-color: #fff;
    border-radius: 100%;
    transition: transform 0.3s ease;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

.toggle-input:checked + .toggle-label {
    background-color: #4577f6;
}

.toggle-input:checked + .toggle-label .toggle-slider {
    transform: translateX(-22px);
}

.toggle-label:hover {
    opacity: 0.9;
}

.toggle-input:disabled + .toggle-label {
    opacity: 0.5;
    cursor: not-allowed;
}

.toggle-input:focus + .toggle-label {
    box-shadow: 0 0 0 3px rgba(69, 119, 246, 0.2);
}

.toggle-input:checked ~ .toggle-container .left-text,
.toggle-container:has(.toggle-input:checked) .left-text {
    color: #4577f6;
    font-weight: 500;
}

.toggle-input:not(:checked) ~ .toggle-container .right-text,
.toggle-container:has(.toggle-input:not(:checked)) .right-text {
    color: #4577f6;
    font-weight: 500;
}
.pos-totals-panel {
    direction: rtl;
    font-family: 'Tajawal', 'Segoe UI', Tahoma, sans-serif;
    background: #fff;
    border-top: 1px solid #e8eaed;
}

.pos-stats-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    padding: 10px 10px 6px;
}

.pos-stat-chip {
    background: #f5f7fa;
    border: 1px solid #eaecf0;
    border-radius: 10px;
    padding: 8px 10px 7px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    transition: border-color .15s, background .15s, transform .1s;
}

.pos-chip-clickable:hover {
    background: #fff;
    border-color: #c0c8d8;
    transform: translateY(-1px);
}

.pos-chip-label {
    font-size: 10.5px;
    color: #8a94a6;
    font-weight: 600;
    letter-spacing: .3px;
    line-height: 1;
}

.pos-chip-value {
    font-size: 16px;
    font-weight: 700;
    color: #1a202c;
    line-height: 1.2;
    letter-spacing: -.3px;
}

.pos-chip-accent {
    color: #1a6fc4;
}

.pos-cost-row {
    display: flex;
    align-items: center;
    padding: 5px 10px;
    gap: 0;
    background: #fafbfc;
    border-top: 1px solid #eaecf0;
}

.pos-cost-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pos-cost-divider {
    width: 1px;
    height: 20px;
    background: #dde1e9;
    margin: 0 10px;
}

.pos-note-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #8a94a6;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 7px;
    border: 1px dashed #d0d5de;
    text-decoration: none !important;
    transition: color .15s, border-color .15s, background .15s;
    background: transparent;
}

.pos-note-btn:hover {
    color: #1a6fc4;
    border-color: #1a6fc4;
    background: #eef4fd;
    text-decoration: none;
}

.pos-total-bar {
    margin: 8px 10px 10px;
    background: linear-gradient(135deg, #16794a 0%, #1dab6a 100%);
    border-radius: 12px;
    padding: 12px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 4px 14px rgba(29, 171, 106, .28);
}

.pos-total-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
}

.pos-total-amount {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -.5px;
    line-height: 1.2;
}

