@font-face {
    font-family: 'saudi_riyal';
    src: url('../fonts/saudi-riyal/fonts/saudi_riyal.woff2') format('woff2'),
        url('../fonts/saudi-riyal/fonts/saudi_riyal.woff') format('woff'),
        url('../fonts/saudi-riyal/fonts/saudi_riyal.ttf') format('truetype');
    unicode-range: U+E900;
    font-weight: normal;
    font-style: normal;
}
body {
    font-family: 'saudi_riyal', 'Open Sans', sans-serif !important;
}
.tax_diff {
    font-family: 'saudi_riyal';
}

.riyal_symbol::before {
    content: '\e900';
    font-family: 'saudi_riyal' !important;
    font-size: inherit;
    color: inherit;
}

.icon-saudi_riyal::before {
    content: '\e900';
    font-family: 'saudi_riyal' !important;
    font-size: inherit;
    color: inherit;
}

[data-currency_symbol='true'] {
    font-family: 'saudi_riyal';
}

.new_subscriptions {
    font-family: 'saudi_riyal';
}

@media (max-width: 767px) {
    .main-header .navbar-custom-menu {
        float: none !important;
        display: block !important;
    }
    .main-header .navbar-custom-menu .dropdown-menu {
        left: auto !important;
    }
    .skin-blue-light .main-header .navbar .dropdown-menu li a {
        color: #777;
    }
    .main-header .navbar {
        height: auto;
    }
}
.bg-danger {
    background-color: #f2dede !important;
}
.btn-big {
    padding: 10px 30px;
    font-size: 18px;
    line-height: 1.3333333;
}

.of-visible {
    overflow: visible !important;
}

#online_indicator {
    font-size: 8px;
    vertical-align: middle;
}

.pt-0 {
    padding-top: 0px;
}
.f-right {
    float: right;
}
.mb-10 {
    margin-bottom: 10px;
}
.discount-badge {
    position: absolute;
    top: 6px;
    right: 10px;
    font-size: 18px;
    padding: 7px;
}

.discount-badge-small {
    position: absolute;
    top: -2px;
    left: 10px;
    font-size: 12px;
    padding: 6px;
}
.product-info-table td,
.product-info-table th {
    font-size: 12px;
}
.catalogue {
    max-height: 127px;
    margin: auto;
    margin-bottom: 18px;
}
.catalogue-title {
    display: inline-block;
    font-size: 18px;
    margin: 0;
    line-height: 1;
    margin-bottom: 10px;
}
.bg-light-gray {
    background-color: #f8f8f8 !important;
}
.p-5-5 {
    padding: 5px 5px !important;
}
.m-4 {
    margin: 4px;
}
.skin-black .main-header,
.skin-black-light .main-header {
    color: #525f7f !important;
}
.skin-black .main-header .navbar .nav .open > a {
    color: #999 !important;
}
.skin-black .main-header .navbar .nav > li > a:hover {
    color: #999 !important;
}
.skin-black .main-header .navbar > .sidebar-toggle:hover {
    color: #999 !important;
}
.mt-0 {
    margin-top: 0 !important;
}
.table-pdf thead tr {
    background-color: #357ca5 !important;
    color: #fff;
}
.table-pdf thead tr th {
    color: #fff !important;
}
.blue-heading {
    background-color: #357ca5;
    color: #fff;
}

.table-pdf .odd {
    background-color: #dce6f1;
}
.p-4 {
    padding: 4px;
}
.p-10 {
    padding: 10px !important;
}
.jquery-top-scrollbar {
    height: 6px !important;
}
.jquery-top-scrollbar div {
    height: 6px !important;
}
.scroll-top-bottom {
    width: 100%;
    overflow: scroll;
}
.scroll-top-bottom::-webkit-scrollbar {
    height: 6px;
}

.scrolltop {
    display: none;
    width: 100%;
    margin: 0 auto;
    position: fixed;
    bottom: 20px;
    right: 10px;
}
.scroll {
    position: absolute;
    right: 20px;
    bottom: 20px;
    background: #b2b2b2;
    background: rgba(178, 178, 178, 0.7);
    padding: 7px;
    text-align: center;
    margin: 0 0 0 0;
    cursor: pointer;
    transition: 0.5s;
    -moz-transition: 0.5s;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    border-radius: 6px;
}
.scroll:hover {
    background: rgba(178, 178, 178, 1);
    transition: 0.5s;
    -moz-transition: 0.5s;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
}
.scroll:hover .fas {
    padding-top: -10px;
}
.scroll .fas {
    font-size: 25px;
    margin-top: -5px;
    margin-left: 1px;
    transition: 0.5s;
    -moz-transition: 0.5s;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
}

.f-left {
    float: left;
}
.align-left {
    text-align: left;
}
.align-right {
    text-align: right;
}

.table-pdf {
    border-collapse: collapse;
    width: 100%;
    border-spacing: 8px 10px;
}
.td-border td,
.td-border th {
    border-bottom: 1px solid lightgrey;
    padding: 8px 5px;
}

.ws-nowrap {
    white-space: nowrap;
}

.btn-app > .fas,
.btn-app > .fab {
    font-size: 20px;
    display: block;
}
.dropdown-menu > li > a > .fas {
    margin-right: 6px;
}
.mt-5 {
    margin-top: 5px !important;
}
.pos-form-actions {
    height: auto;
    position: fixed;
    bottom: 0px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
    border-top: 2px solid #e2e8f0;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
    width: 100%;
    z-index: 1000;
    padding: 8px 10px 6px 10px;
}
.pos-form-actions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #1d4ed8, #9333ea, #16a34a, #facc15);
    z-index: 1;
}

/* === Compact 2-Row POS Bar === */
.pos-bar-inner {
    padding: 0 !important;
}
.pos-bar-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    gap: 4px;
}
.pos-bar-top {
    justify-content: space-between;
    margin-bottom: 4px;
}
.pos-bar-bottom {
    justify-content: space-between;
}

/* Top row: left / center / right zones */
.pos-bar-left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}
.pos-bar-center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    gap: 6px;
}

/* Cash & Card buttons — same size as order type toggles */
.pos-center-btn {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    line-height: 1.3;
}
.pos-center-btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 40%;
    background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
    border-radius: 6px 6px 0 0;
}
.pos-center-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    color: #fff;
}
/* Order on Hold gap — extra margin-right to separate from order type */
.pos-hold-gap {
    margin-right: 10px;
}

.pos-bar-right {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 5px;
}

/* Total Payable in right zone — large & prominent */
.pos-bar-right .pos-total {
    background-color: #1e293b;
    border-radius: 6px;
    padding: 8px 18px;
    margin: 0;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}
.pos-bar-right .pos-total span.number {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2rem;
    font-weight: 700;
}
.pos-bar-right .pos-total span.text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    width: auto;
    margin-right: 10px;
}

/* Row 2: payment split left/right */
.pos-pay-left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
}
.pos-pay-right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    margin-left: auto;
}

/* Primary Action Buttons (Row 2) */
.pos-action-btn {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 9px 16px;
    border: none;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    line-height: 1.3;
}
.pos-action-btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 40%;
    background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
    border-radius: 6px 6px 0 0;
}
.pos-action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    color: #fff;
}
.pos-action-btn:active { transform: translateY(0); }
.pos-action-cash { background-color: #16a34a; }
.pos-action-card { background-color: #1e293b; }
.pos-action-multipay { background-color: #1d4ed8; }
.pos-action-credit { background-color: #9333ea; }
.pos-action-kitchen { background-color: #0891b2; }

/* Secondary Action Buttons — readable size */
.pos-action-btn-sm {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 7px 14px;
    border: none;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    line-height: 1.3;
}
.pos-action-btn-sm::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 40%;
    background: linear-gradient(180deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
    border-radius: 6px 6px 0 0;
}
.pos-action-btn-sm:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.18);
    color: #fff;
}
.pos-action-btn-sm:active { transform: translateY(0); }
.pos-action-sm-draft { background-color: #1d4ed8; }
.pos-action-sm-quotation { background-color: #ca8a04; }
.pos-action-sm-suspend { background-color: #dc2626; }
.pos-action-sm-hold { background-color: #0891b2; }
.pos-action-sm-cancel { background-color: #dc2626; }
.pos-action-sm-recent { background-color: #475569; }
.pos-action-sm-transhold { background-color: #475569; }

/* Recent Trans + Trans Hold in right zone — slightly bigger */
.pos-bar-right .pos-action-btn-sm {
    font-size: 1rem;
    padding: 8px 16px;
}

/* Update Price toggle — matches pos-action-btn-sm style */
.pos-action-update-wrap {
    display: inline-flex;
    align-items: center;
}
.pos-action-update-wrap .checkbox { display: none; }
.pos-action-update-wrap .checkbox + .button {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 7px 14px 7px 12px;
    border: none;
    background-color: #475569;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.2s ease;
    display: inline-flex;
    align-items: center;
    line-height: 1.3;
}
.pos-action-update-wrap .checkbox + .button::before {
    content: '\2716';
    color: #fca5a5;
    font-size: 0.85rem;
    margin-right: 5px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}
.pos-action-update-wrap .checkbox + .button::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 40%;
    background: linear-gradient(180deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
    border-radius: 6px 6px 0 0;
}
.pos-action-update-wrap .checkbox + .button:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}
.pos-action-update-wrap .checkbox:checked + .button {
    background-color: #16a34a;
}
.pos-action-update-wrap .checkbox:checked + .button::before {
    content: '✓';
    color: #bbf7d0;
}

/* When kitchen OFF: pos-bar-center still renders with just Cash+Card,
   space-between keeps secondary left, Cash+Card center, Total right. */

/* === Responsive: Large tablets / small desktops (1280px and below) === */
@media (max-width: 1280px) {
    .pos-center-btn {
        font-size: 0.95rem;
        padding: 8px 14px;
    }
    .pos-action-btn-sm {
        font-size: 0.82rem;
        padding: 6px 10px;
    }
    .pos-bar-right .pos-action-btn-sm {
        font-size: 0.88rem;
        padding: 7px 12px;
    }
    .pos-action-btn {
        font-size: 0.85rem;
        padding: 8px 12px;
    }
    .pos-bar-right .pos-total span.number {
        font-size: 1.6rem;
    }
    .pos-bar-right .pos-total span.text {
        font-size: 0.85rem;
        margin-right: 6px;
    }
    .pos-bar-right .pos-total {
        padding: 6px 12px;
    }
}

/* === Responsive: Tablets & CityPOS touch (1024px and below) === */
@media (max-width: 1024px) {
    .pos-form-actions { padding: 5px 5px 4px 5px; }
    /* Stack zones vertically */
    .pos-bar-top {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }
    /* All zones become full-width wrapping rows */
    .pos-bar-left, .pos-bar-center, .pos-bar-right {
        width: 100%;
        flex-wrap: wrap;
        flex-shrink: 1;
        justify-content: center;
    }
    .pos-bar-center { order: 1; gap: 4px; }
    .pos-bar-right { order: 2; gap: 4px; }
    .pos-bar-left { order: 3; gap: 4px; }
    .pos-bar-bottom {
        justify-content: center;
        flex-wrap: wrap;
        gap: 4px;
    }
    /* Payment buttons: consistent sizing with flex-basis for even grid */
    .pos-center-btn {
        font-size: 0.88rem;
        padding: 8px 10px;
        gap: 4px;
        flex: 1 1 calc(25% - 4px);
        min-width: 100px;
        max-width: 200px;
        text-align: center;
    }
    /* Secondary buttons: even grid */
    .pos-action-btn-sm {
        font-size: 0.8rem;
        padding: 6px 8px;
        gap: 3px;
        flex: 1 1 calc(20% - 4px);
        min-width: 70px;
        max-width: 160px;
        text-align: center;
    }
    .pos-bar-right .pos-action-btn-sm {
        font-size: 0.82rem;
        padding: 6px 10px;
        flex: 0 1 auto;
        max-width: none;
    }
    /* Credit Sale / Kitchen Print: don't stretch full width */
    .pos-action-btn {
        font-size: 0.82rem;
        padding: 8px 10px;
        gap: 4px;
        flex: 1 1 calc(33% - 4px);
        min-width: 100px;
        max-width: 220px;
    }
    .pos-bar-right .pos-total {
        padding: 5px 12px;
        flex: 1 1 auto;
        justify-content: center;
    }
    .pos-bar-right .pos-total span.number { font-size: 1.5rem; }
    .pos-bar-right .pos-total span.text { font-size: 0.82rem; margin-right: 5px; }
    .pos-hold-gap { margin-right: 4px; }
    /* Update Price: compact */
    .pos-action-update-wrap .checkbox + .button {
        font-size: 0.78rem;
        padding: 6px 8px 6px 6px;
    }
    .pos-pay-left { justify-content: center; width: 100%; }
}

/* === Responsive: Small tablets / large phones (768px and below) === */
@media (max-width: 768px) {
    .pos-form-actions { padding: 4px 4px 3px 4px; }
    .pos-bar-top { gap: 3px; }
    .pos-bar-center { gap: 3px; }
    .pos-bar-left { gap: 3px; }
    .pos-bar-right { gap: 3px; }
    /* Payment buttons: 3 per row */
    .pos-center-btn {
        font-size: 0.82rem;
        padding: 7px 8px;
        flex: 1 1 calc(33.33% - 3px);
        min-width: 85px;
        max-width: 180px;
    }
    /* Secondary: even rows */
    .pos-action-btn-sm {
        font-size: 0.76rem;
        padding: 5px 7px;
        flex: 1 1 calc(20% - 3px);
        min-width: 60px;
        max-width: 140px;
    }
    .pos-bar-right .pos-action-btn-sm {
        font-size: 0.78rem;
        padding: 5px 8px;
    }
    /* Credit Sale / Kitchen: capped width */
    .pos-action-btn {
        font-size: 0.8rem;
        padding: 7px 10px;
        flex: 1 1 calc(33% - 3px);
        max-width: 180px;
    }
    .pos-bar-right .pos-total { padding: 5px 10px; }
    .pos-bar-right .pos-total span.number { font-size: 1.3rem; }
    .pos-bar-right .pos-total span.text { font-size: 0.78rem; margin-right: 4px; }
    .pos-hold-gap { margin-right: 2px; }
    .pos-action-update-wrap .checkbox + .button {
        font-size: 0.73rem;
        padding: 5px 7px 5px 5px;
    }
}

/* === Responsive: Phones (576px and below) — Box-button grid (2 per row) === */
@media (max-width: 576px) {
    .pos-form-actions {
        padding: 5px 4px 4px 4px;
    }
    /* Make .pos-bar-inner the single flex parent for ALL buttons */
    .col-md-12.pos-bar-inner {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
    }
    /* All structural wrappers become transparent — buttons flow flat */
    .pos-bar-top,
    .pos-bar-bottom,
    .pos-bar-left,
    .pos-bar-center,
    .pos-bar-right {
        display: contents;
    }
    /* Default: push unknown elements to end */
    .col-md-12.pos-bar-inner > *,
    .pos-bar-top > *,
    .pos-bar-bottom > *,
    .pos-bar-left > *,
    .pos-bar-center > *,
    .pos-bar-right > * {
        order: 99;
    }
    /* Hidden inputs: no space */
    .col-md-12.pos-bar-inner input[type="hidden"],
    .pos-bar-bottom input[type="hidden"],
    .pos-bar-center input[type="hidden"] {
        display: none;
    }

    /* Every button: 50% width, BIG and same size */
    .pos-center-btn,
    .pos-action-btn-sm,
    .pos-action-btn,
    .pos-bar-right .pos-action-btn-sm {
        flex: 0 0 calc(50% - 2px);
        max-width: calc(50% - 2px);
        min-width: 0;
        font-size: 1rem;
        padding: 12px 6px;
        border-radius: 5px;
        text-align: center;
        justify-content: center;
    }

    /* === Button order === */
    .pos-action-card { order: 1; }
    .pos-action-cash { order: 2; }
    .pos-action-sm-draft { order: 3; }
    .pos-action-multipay { order: 4; }
    .pos-action-credit { order: 5; }
    .pos-action-sm-hold { order: 6; }
    .pos-action-sm-quotation { order: 7; }
    .pos-action-sm-suspend { order: 8; }
    .pos-action-update-wrap { order: 9; }
    .pos-action-sm-cancel { order: 10; }
    /* 11. Total Payable — targets BOTH desktop (.pos-total) and mobile (.text-right) versions */
    .pos-bar-right .pos-total { order: 11; }
    .pos-bar-right > .text-right { order: 11; }
    .pos-action-sm-transhold { order: 12; }
    .pos-action-sm-recent { order: 13; }
    #take_away_container { order: 14; }
    .pos-action-kitchen { order: 15; }

    /* Total Payable (desktop version): full width */
    .pos-bar-right .pos-total {
        flex: 0 0 100%;
        max-width: 100%;
        justify-content: center;
        padding: 10px 12px;
    }
    .pos-bar-right .pos-total span.number { font-size: 1.5rem; }
    .pos-bar-right .pos-total span.text { font-size: 1rem; margin-right: 6px; }

    /* Total Payable (mobile version): full width, styled */
    .pos-bar-right > .text-right {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
        padding: 10px 12px;
        background-color: #1e293b;
        color: #fff;
        border-radius: 5px;
        font-size: 1rem;
    }
    .pos-bar-right > .text-right b { color: #fff; }
    .pos-bar-right > .text-right #total_payable {
        color: #4ade80;
        font-size: 1.5rem;
        font-weight: 700;
    }

    .pos-hold-gap { margin-right: 0; }

    /* Update Price: same 50% box, same size */
    .pos-action-update-wrap {
        flex: 0 0 calc(50% - 2px);
        max-width: calc(50% - 2px);
    }
    .pos-action-update-wrap .checkbox + .button {
        width: 100%;
        font-size: 1rem;
        padding: 12px 6px;
        text-align: center;
        justify-content: center;
        box-sizing: border-box;
    }

    /* Take Away / Dine In / Delivery: full-width row of 3 */
    #take_away_container {
        flex: 0 0 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
    }
    #take_away_container label.button {
        flex: 1 1 calc(33.33% - 4px);
        text-align: center;
        margin-bottom: 0;
        font-size: 1rem;
        padding: 12px 6px;
    }
}
.mb-12 {
    margin-bottom: 12px !important;
}
.pb-0 {
    padding-bottom: 0px !important;
}
.pr-12 {
    padding-right: 12px !important;
}
.main-header .sidebar-toggle:before {
    content: '' !important;
}
.ui-autocomplete {
    max-height: 300px;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
}
.margin-bottom-20 {
    margin-bottom: 20px !important;
}
.text-white {
    color: #fff;
}
.wizard > .steps > ul > li {
    width: 33.33% !important;
}
.wizard > .content {
    background: #445867 !important;
}
legend {
    color: #fff;
    margin-bottom: 6px;
    border-bottom: none;
}
.left-col {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.76), rgba(51, 51, 51, 0.32)),
        url(../img/home-bg.jpg);
    text-align: center;
    background-size: cover;
    background-position: center;
}
.left-col-content {
    color: #1a7bf9;
    width: 100%;
}
.login-header {
    font-size: 27px;
    font-weight: 600;
}
.login-header a {
    color: #fff;
}
.form-header {
    font-size: 18px;
    margin: 16px 0;
}
.btn-login {
    padding: 6px 52px !important;
}
.right-col {
    background-color: #243949;
    height: 100%;
    min-height: 100vh;
}

.right-col label {
    color: #fff;
}

.right-col a,
.text-white a {
    color: #fff;
    font-weight: 600;
    font-size: 15px;
}
.right-col a:hover,
.text-white a:hover {
    color: #ccc;
}
.right-col-content {
    padding: 10% 16%;
    padding-bottom: 3%;
}
.right-col-content-register {
    padding: 2% 8%;
}

.input_inline {
    width: 100%;
    display: inline-flex;
}
.input_inline input,
.input_inline span {
    width: 50%;
}
.bg-manufacturing {
    background-color: #ff851b;
}
.img-thumbnail {
    position: relative;
    width: 70px;
    height: 70px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 2px;
    transition: border 0.2s ease-in-out;
    padding: 4px;
    margin: 3px;
    text-align: center;
}
.img-thumbnail > .badge {
    position: absolute;
    top: -5px;
    right: -7px;
    font-size: 9px;
    font-weight: 400;
    cursor: pointer;
}
.navbar-nav > .notifications-menu > .dropdown-menu > li .menu {
    max-height: 350px;
}
.bg-aqua-lite {
    background-color: #7fffd4;
}
.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > a {
    white-space: normal;
}
.spacer {
    margin-top: 20px;
}
#product_list_body {
    max-height: 545px;
    overflow-y: scroll;
    overflow-x: hidden;
}
.div-overlay {
    cursor: not-allowed;
    background: #e9e9e9;
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0.5;
}

.d-inline-table {
    display: inline-table;
}

.label-round {
    font-size: 8px;
    border-radius: 44%;
}
.table > tbody + tbody {
    border-top: 0;
}
.table-pl-12 td,
.table-pl-12 th {
    padding-left: 12px !important;
}
table tbody td.pl-20-td {
    padding-left: 20px !important;
}
table.table-border-center > tbody > tr > td:first-child,
table.table-border-center > thead > tr > th:first-child,
table.table-border-center > tfoot > tr > td:first-child {
    border-right: 1px solid darkgray;
}
table.table-border-center-col > tbody > tr > td:nth-child(2),
table.table-border-center-col > thead > tr > th:nth-child(2),
table.table-border-center-col > tfoot > tr > td:nth-child(2) {
    border-right: 1px solid darkgray;
    border-left: 1px solid darkgray;
}
.bg-transparent {
    background-color: transparent !important;
}
.mb-0 {
    margin-bottom: 0;
}

.nav-tabs > li > a {
    font-size: 18px;
    font-weight: 600;
}
.table-transparent,
.table-transparent th {
    background-color: transparent !important;
    color: #000 !important;
}
.td-full-width {
    white-space: nowrap;
}
.font-17 {
    font-size: 17px !important;
}
table.dataTable tbody > tr.selected {
    background-color: #b0bed9;
}
tr.footer-total > td {
    vertical-align: middle !important;
}
.error {
    color: red !important;
}
/*  pos tab */
div.pos-tab-container {
    z-index: 10;
    background-color: #ffffff;
    padding: 0 !important;
    border-radius: 4px;
    -moz-border-radius: 4px;
    border: 1px solid #ddd;
    margin-bottom: 28px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    -moz-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    background-clip: padding-box;
}
div.pos-tab-menu {
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 0;
}
div.pos-tab-menu div.list-group {
    margin-bottom: 0;
}
div.pos-tab-menu div.list-group > a {
    margin-bottom: 0;
}
div.pos-tab-menu div.list-group > a .glyphicon,
div.pos-tab-menu div.list-group > a .fa {
    color: #5a55a3;
}
div.pos-tab-menu div.list-group > a:first-child {
    border-top-right-radius: 0;
    -moz-border-top-right-radius: 0;
}
div.pos-tab-menu div.list-group > a:last-child {
    border-bottom-right-radius: 0;
    -moz-border-bottom-right-radius: 0;
}
div.pos-tab-menu div.list-group > a.active,
div.pos-tab-menu div.list-group > a.active .glyphicon,
div.pos-tab-menu div.list-group > a.active .fa {
    background-color: #3c8dbc;
    color: #ffffff;
    border-color: #3c8dbc;
}
div.pos-tab-menu div.list-group > a.active:after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    margin-top: -13px;
    border-left: 0;
    border-bottom: 13px solid transparent;
    border-top: 13px solid transparent;
    border-left: 10px solid #3c8dbc;
}

div.pos-tab-content {
    background-color: #ffffff;
    /* border: 1px solid #eeeeee; */
    padding-left: 20px;
    padding-top: 20px;
}

div.pos-tab div.pos-tab-content:not(.active) {
    display: none;
}

.add-product-price-table th {
    background-color: #5cb85c;
    color: white;
}
.blue-header th {
    background-color: #3c8dbc;
    color: white;
}
.table-th-green th {
    background-color: #5cb85c;
    color: white;
}

input[type='number']::-webkit-inner-spin-button,
input[type='number']::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}
.active-cell {
    border: 2px dotted #3c8dbc !important;
}
.cursor-pointer {
    cursor: pointer !important;
}
.pos_product_div {
    min-height: 40vh;
    max-height: calc(100vh - 280px);
    overflow-y: auto;
    margin-bottom: 8px;
}
.bg-lightgray {
    background-color: #f0eded !important;
}
.balance_due_box > li {
    padding: 11px 5px 0px 5px;
}
.option-div {
    padding: 15px;
    background-color: #d2d6de;
    color: #333;
    border: 1px solid #d2d6de;
    cursor: pointer;
}
.option-div input[type='radio'] {
    display: none;
}
.option-div-group .icon {
    color: #d33724;
    display: none;
}
.option-div-group .option-div:hover {
    border: 1px solid gray;
}
.option-div-group .active .icon {
    display: block;
}
.margin-left-10 {
    margin-left: 10px;
}
.margin-bottom-12 {
    margin-bottom: 12px;
}
.bg-info {
    background-color: #00c0ef !important;
}
.bg-info > a {
    color: #ffffff !important;
}
.bg-info > a:hover {
    background-color: #337ab7 !important;
}
ul.dt-button-collection {
    background-color: #00c0ef;
}
td.details-control {
    background: url('/img/details_open.png') no-repeat center center;
    cursor: pointer;
}
tr.details td.details-control {
    background: url('/img/details_close.png') no-repeat center center;
}
.icheckbox_square-blue,
.iradio_square-blue {
    margin-right: 10px;
}
.header-right-div {
    right: 10px;
    float: right;
    position: absolute;
    top: 15px;
}
.header-left-div {
    margin-top: 15px;
    display: inline-flex;
}
.m-8 {
    margin: 8px;
}
.mt-10 {
    margin-top: 10px;
}
.mt-15 {
    margin-top: 15px;
}
.m-5 {
    margin: 5px;
}
.icon-link {
    text-align: center;
    display: block;
    margin-bottom: 18px;
}
.icon-link > a {
    display: grid;
}
.icon-link > .badge {
    position: absolute;
    top: 20px;
    right: 67px;
}
.link-des {
    display: inline-block;
    text-align: left;
}

.navbar-nav > .user-menu > .dropdown-menu > li.user-header > img {
    border: none;
    height: auto;
    width: 100%;
    max-height: 120px;
}
.bg-light-green {
    background-color: #98d973 !important;
    color: #fff !important;
}
.hover-q {
    font-size: 16px;
    margin-left: 3px;
    cursor: help;
}
.input-group-addon .hover-q {
    margin-left: 0px;
}
.text-bold {
    font-weight: bold;
}
.tour .popover-content {
    padding: 18px 14px;
}
.table-slim > tbody > tr > td,
.table-slim > tbody > tr > th,
.table-slim > tfoot > tr > td,
.table-slim > tfoot > tr > th,
.table-slim > thead > tr > td,
.table-slim > thead > tr > th {
    padding: 1px;
}

/* Custom scroll bar start*/

/* width */
::-webkit-scrollbar {
    width: 7px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Custom scroll bar end*/

.product_cell {
    height: 100px;
    padding: 1%;
}
.product_cell_div {
    height: 100% !important;
    width: 100% !important;
    text-align: center;
    vertical-align: middle;
    padding-top: 5px;
    cursor: pointer;
    overflow: hidden;
}

/*CSS to print receipts*/
.print_section {
    display: none;
}
@media print {
    .print_section {
        display: block !important;
    }
    .modal-xl {
        width: 100% !important;
    }
    ::-webkit-scrollbar {
        display: none !important;
    }
    #toast-container {
        display: none;
    }
}

.input-number .btn-default {
    background-color: white;
    padding: 6px 9px;
}

.width-50 {
    width: 50% !important;
}
.width-40 {
    width: 40% !important;
}
.width-60 {
    width: 60% !important;
}
.width-100 {
    width: 100% !important;
}

.font-30 {
    font-size: 30px !important;
}

.font-23 {
    font-size: 23px !important;
}
.padding-5 {
    padding: 5px !important;
}
.padding-10 {
    padding: 10px !important;
}
.padding-side-15 {
    /*padding-left: 15px !important;
    padding-right: 15px !important;*/
}
.text-muted-imp {
    color: #a3a3a3 !important;
}

.table-no-top-cell-border td {
    border-top: 0px !important;
    border-bottom: 0px !important;
}
.table-no-top-cell-border th {
    border-top: 0px !important;
    border-bottom: 0px !important;
}

.table-no-side-cell-border td {
    border-left: 0px !important;
    border-right: 0px !important;
}
.table-no-side-cell-border th {
    border-left: 0px !important;
    border-right: 0px !important;
}

.color-555 {
    color: #555555 !important;
}
.color-555 * {
    color: #555555 !important;
}
.color-white {
    color: white !important;
}
.col-no-padding {
    padding-left: 0px;
    padding-right: 0px;
}
.col-2px-padding {
    padding: 2px;
}

.pos-express-btn {
    font-size: 23px !important;
    overflow: hidden !important;
    height: 73px !important;
    white-space: normal;
}
.word-wrap {
    word-wrap: break-word !important;
}

.modal-xl {
    width: 90%; /* respsonsive width */
    margin-left: auto !important;
    margin-right: auto !important;
}
table.ajax_view tbody tr {
    cursor: pointer;
}
.bg-white {
    background-color: #fff;
}

.product-thumbnail-small {
    height: 50px;
    width: 50px;
}

table.table-text-center td,
table.table-text-center th {
    vertical-align: middle !important;
}
.product_list {
    padding-left: 8px;
    padding-right: 8px;
}
.product_box {
    width: 100%;
    margin-bottom: 10px;
    text-align: center;
    cursor: pointer;
    /* border: 1px solid darkgray; */
    font-weight: 600;

    background-color: #fff;
    border-radius: 4px;
    padding-top: 3px;
    box-shadow: 0 4px 0 #c8c9cb69;
}

@media (max-width: 567px) {
    .product_box {
        width: 100%;
        margin-bottom: 10px;
        text-align: center;
        cursor: pointer;
        /* border: 1px solid darkgray; */
        font-weight: 600;
        background-color: #fff;
        border-radius: 4px;
        padding-top: 3px;
        box-shadow: 0 4px 0 #c8c9cb69;
    }
}
.product_box .image-container {
    /*width: 95%;*/
    height: 55px;
    margin: auto;
    /*padding-top: 5px;*/
}
.product_box .image-container img {
    height: 45px;
    /*width: 45px*/
}
.eq-height-row {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
}
.eq-height-col {
    display: flex;
}

.product_box .text_div {
    margin-top: 3px;
    overflow: hidden;
}
.product_box .text {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1; /* number of lines to show */
    line-height: 14px; /* fallback */
    max-height: 14px; /* fallback */
}
.small-box.bg-gray:hover {
    color: #000;
    text-decoration: none;
}

#calendar table tbody td {
    cursor: pointer;
}

.min-height-90hv {
    min-height: 90vh !important;
}

/* Grow Shadow */
.hvr-grow-shadow {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: box-shadow, transform;
    transition-property: box-shadow, transform;
}
.hvr-grow-shadow:hover,
.hvr-grow-shadow:focus,
.hvr-grow-shadow:active {
    box-shadow: 0 10px 10px -10px rgba(0, 0, 0, 0.5);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.text-link {
    cursor: pointer;
}

.text-link:hover {
    text-decoration: underline;
}

.v-center {
    vertical-align: middle !important;
}

.bg-woocommerce {
    background-color: #9e458b !important;
}

/*.box, .info-box, .nav-tabs-custom, .external-event{
  box-shadow: 0 4px 6px 0 hsla(0, 0%, 0%, 0.2) !important;
}*/

.user_avatar {
    border-radius: 50%;
    width: 25px;
    height: 25px;
    margin: 1px;
}

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

.timeline-lode-more-btn {
    margin-left: 50px;
    margin-top: 25px;
    padding-right: 12px;
    padding-left: 12px;
}

.pa-0 {
    padding: 0px !important;
}

.mt-56 {
    margin-top: 56px !important;
}

.m-2 {
    margin: 2px !important;
}

.treeview-menu i {
    display: none !important;
}
.treeview-menu a {
    padding-left: 5px !important;
    font-size: 95% !important;
}
.treeview-menu a::before {
    content: '\2192 ';
}

@media only screen and (max-width: 600px) {
    .pos-form-actions {
        position: absolute;
    }
    .pos-bar-center {
        flex-wrap: wrap;
    }
}
.mr-8 {
    margin-right: 8px !important;
}

@media (max-width: 1024px) {
    .pos_form_totals {
        margin-bottom: 180px;
    }
}
@media (max-width: 576px) {
    .pos_form_totals {
        margin-bottom: 220px;
    }
}

.swal-modal .swal-text {
    text-align: center;
}

.pos-total {
    display: inline-block;
    padding: 8px 10px;
    vertical-align: middle;
    margin-left: 5px;
    margin-right: 5px;
}
.pos-total span.number {
    font-size: 26px;
    vertical-align: middle;
    font-weight: bolder;
}

.pos-total span.text {
    font-weight: bolder;
    display: inline-block;
    width: 60px;
    vertical-align: middle;
}
.mb-40 {
    margin-bottom: 40px !important;
}

@media print {
    a:after {
        content: '';
    }
    a[href]:after {
        content: none !important;
    }
}

.fa-times {
    font-size: 30px;
}
.mb-5 {
    margin-bottom: 5px !important;
}
.tree-actions {
    margin-left: 20px;
    display: none;
}
.jstree-hovered .tree-actions {
    display: inherit;
}

.product_box_popup_modal_container_body {
    padding: 0 15px !important;
}

.product_box * {
    font-family: var(--openSans);
}

.product_box_popup_modal_container_header {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: space-between;
    align-items: center;
    background: #1e293b;
    padding: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    border-bottom: 2px solid #334155;
}

.products_popup_header_top_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
}

.products_popup_header_btn_container {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    padding: 8px 16px 10px;
    background: #1e293b;
}

/* pos-btn style for popup buttons — Product Category & All Brands */
button.productCategoryShowHideButton,
button.productBrandShowHideButton {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 1.15rem;
    padding: 10px 18px;
    border-radius: 6px;
    background: #e5e7eb;
    color: #374151;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
button.productCategoryShowHideButton::before,
button.productBrandShowHideButton::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 50%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.15), transparent);
    pointer-events: none;
}
button.productCategoryShowHideButton:hover,
button.productBrandShowHideButton:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
button.productCategoryShowHideButton:active,
button.productBrandShowHideButton:active {
    transform: translateY(0);
}

.popup-close-btn {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 8px 18px;
    border-radius: 6px;
    background: #dc2626;
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.popup-close-btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 50%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.15), transparent);
    pointer-events: none;
}
.popup-close-btn:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.popup-close-btn:active {
    transform: translateY(0);
}

.product_box_popup_modal_container_body {
    background: #f8fafc;
}

#product_box_popup_modal_container .modal-footer {
    background: #f1f5f9;
    border-top: 1px solid #e2e8f0;
    padding: 10px 16px;
}

#product_box_popup_modal_container .modal-content {
    border-radius: 10px;
    overflow: hidden;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

a.btn:hover {
    background-color: #24a46d !important;
}

.item_details_box {
    border: 1px solid;
    padding: 1rem;
    width: max-content;
}
.item_details_box ul {
}
.item_details_box ul li {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.item_details_box ul li div {
}
.item_details_box ul li div:first-child {
    text-align: right;
}
.item_details_box ul li div:last-child {
    text-align: left;
    margin-left: 2rem;
}

#hide_content {
    display: none;
}
@media print {
    #hide_content {
        display: block;
    }
}

.logoArea {
    display: none;
}

@media print {
    .logoArea {
        display: flex !important;
        position: fixed;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
        z-index: -1;
    }

    .logoArea .img {
        opacity: 0.2;
    }

    .logoArea .img img {
        width: 250px;
        height: 250px;
    }
}
#calc_wrapper {
    background: #2b3e50;
}

form#calc {
    /* background: #ddd; */
    height: 60px;
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    align-items: center;
    box-shadow: 3px 3px 10px rgb(38 53 67), -1px -1px 6px rgb(234 234 234 / 40%),
        inset 3px 3px 10px rgb(43 62 80), inset -1px -1px 6px rgba(255, 255, 255, 0.4);
}
form#calc input {
    color: white;
    font-size: 3rem;
    font-family: 'Orbitron', sans-serif;
}
.calc_button {
    position: relative;
    background: linear-gradient(100deg, #344953, #2c3e50);
    box-shadow: inset -8px 0px 8px rgba(0, 0, 0, 0.15), inset 0 -8px 8px rgba(0, 0, 0, 0.25),
        inset 0 0 0 2px rgba(0, 0, 0, 0.25), 10px 20px 25px rgba(0, 0, 0, 0.4) !important;
    outline: none;
    border: none;
}
.calc_button span {
    position: relative;
    color: white;
}
.calc_button::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    bottom: 7px;
    right: 7px;
    /* box-shadow: -5px 5px 15px rgba(0, 0, 0, 0.1), 10px 5px 10px rgba(0, 0, 0, 0.15); */
    border-left: 1px solid #fff4;
    border-top: 1px solid #fff4;
    border-bottom: 1px solid #fff4;
    border-radius: 10px;
}

.calc_button#allClear {
    background: #10679b;
    border-radius: 10px;
    height: 50px;
}

.calc_button#allClear::before {
    background: linear-gradient(90deg, #10679b, #ffffff5c);
}

.calc_button#deleteCal {
    background: #d44c2a;
    border-radius: 10px;
    height: 50px;
}
.calc_button#deleteCal::before {
    background: linear-gradient(90deg, #ed5833, #ffffff5c);
}

.calc_right {
}
.calc_right i {
    font-size: 3rem !important;
}

.calc_button_bottom {
    position: relative;
    background: linear-gradient(100deg, #344953, #2c3e50);
    box-shadow: inset -8px 0px 8px rgba(0, 0, 0, 0.15), inset 0 -8px 8px rgba(0, 0, 0, 0.25),
        inset 0 0 0 2px rgba(0, 0, 0, 0.25), 10px 20px 25px rgba(0, 0, 0, 0.4);
    border: none !important;
    border-radius: 10px;
}
.calc_button_bottom i {
    position: relative;
    font-size: 3rem !important;
}

.calc_button_bottom::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    bottom: 7px;
    right: 7px;
    background: linear-gradient(90deg, #34495e, #2c3e50);
    box-shadow: -5px 5px 15px rgba(0, 0, 0, 0.1), 10px 5px 10px rgba(0, 0, 0, 0.15);
    border-left: 1px solid #0004;
    border-top: 1px solid #0004;
    border-bottom: 1px solid #0009;
    border-radius: 10px;
    border-right: 1px solid #0009;
}

span.num {
    font-family: 'Orbitron', sans-serif !important;
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    height: 60px;
    background: linear-gradient(100deg, #344953, #2c3e50);
    box-shadow: inset -8px 0px 8px rgba(0, 0, 0, 0.15), inset 0 -8px 8px rgba(0, 0, 0, 0.25),
        inset 0 0 0 2px rgba(0, 0, 0, 0.25), 10px 20px 25px rgba(0, 0, 0, 0.4) !important;
    color: white;
    border-radius: 10px;
    border: none;
}
span.num::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    bottom: 6px;
    right: 7px;
    background: linear-gradient(90deg, #34495e, #2c3e50);
    box-shadow: -5px 5px 15px rgba(0, 0, 0, 0.1), 10px 5px 10px rgba(0, 0, 0, 0.15);
    border-left: 1px solid #0004;
    border-top: 1px solid #0004;
    border-bottom: 1px solid #0009;
    border-radius: 10px;
    /* border-right: 1px solid #0009; */
}

span.num:active {
    filter: brightness(1.2);
}

.calc_button:active {
    filter: brightness(1.2);
    background-image: none !important;
    background: none !important;
}
.calc_button_bottom:active {
    filter: brightness(1.2);
}

.calc_button_bottom.btn:active {
    background-image: linear-gradient(100deg, #344953, #2c3e50) !important ;
}

span.num i {
    position: relative;
    font-style: normal;
    font-weight: 600;
    font-size: 2rem;
}

.popover {
    max-width: 380px !important;
    background: none !important;
}

.popover.bottom > .arrow:after {
    border-bottom-color: #2b3e50 !important;
}
.navbar-custom-menu .popover-content,
.pos-header .popover-content {
    padding: 0 !important;
}

.popover {
    background: white !important;
}

#take_away_container {
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

#take_away_container .checkbox {
    display: none;
}

#take_away_container .checkbox + .button {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 10px 24px 10px 32px;
    border: 2px solid #e5e7eb;
    background-color: #e5e7eb;
    color: #374151;
    border-radius: 6px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.2s ease;
}

#take_away_container .checkbox + .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

#take_away_container .checkbox + .button::before {
    content: '\00d7';
    position: absolute;
    left: 10px;
    color: #dc2626;
    font-size: 1.3rem;
    font-weight: 700;
}

#take_away_container .checkbox:checked + .button::before {
    content: '✓';
    position: absolute;
    left: 10px;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
}

#take_away_container .checkbox:checked + .button.take_way {
    background-color: #1d4ed8;
    border-color: #1d4ed8;
    color: #fff;
}
#take_away_container .checkbox:checked + .button.dine_in {
    background-color: #9333ea;
    border-color: #9333ea;
    color: #fff;
}
#take_away_container .checkbox:checked + .button.delivery {
    background-color: #16a34a;
    border-color: #16a34a;
    color: #fff;
}


/* Universal POS button style */
.pos-modern-btn {
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    margin: 6px 5px;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 42px;
    line-height: 1.5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Individual button colors */
.pos-draft-btn {
    background-color: #007bff;
} /* Blue */
.pos-quotation-btn {
    background-color: #ffc107;
    color: #000;
} /* Yellow */
.pos-suspend-btn {
    background-color: #dc3545;
} /* Red */
.pos-credit-btn {
    background-color: #6f42c1;
} /* Purple */
.pos-card-btn {
    background-color: #343a40;
} /* Dark Gray */
.pos-finalize-btn {
    background-color: #0d6efd;
} /* Navy Blue */
.pos-cash-btn {
    background-color: #28a745;
} /* Green */
.pos-cancel-btn {
    background-color: #ff4d4f;
} /* Danger Red */
.pos-recent-btn {
    background-color: #17a2b8;
} /* Teal */

/* Hover effect */
.pos-modern-btn:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

/* Matching total box style — overridden by .pos-row-total .pos-total for action bar */
.pos-total {
    padding: 10px 18px;
    border-radius: 6px;
    background-color: #343a40;
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    min-height: 42px;
    line-height: 1.5;
    margin: 6px 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* #customer_display_screen {
    margin-top: 9px;
} */

.font-bold-sm {
    font-weight: 500; /* Medium bold */
    font-size: 0.875rem; /* 14px */
}

.font-bold-md {
    font-weight: 550; /* Semi-bold */ /* 16px */
}

.font-bold-lg {
    font-weight: 700; /* Bold */ /* 18px */
}

.font-bold-xl {
    font-weight: 800; /* Extra-bold */ /* 20px */
}


  ::-webkit-scrollbar {
      width: 7px;
  }
  ::-webkit-scrollbar-track {
      background: #f1f1f1;
  }
  ::-webkit-scrollbar-thumb {
      background: #888;
  }
  ::-webkit-scrollbar-thumb:hover {
      background: #555;
  }

  ol, ul {
    padding: 0!important;
    list-style-position: initial !important;
}

.datepicker-dropdown{
    z-index: 9999999!important;
}

/* =============================================
   POS Product Tiles - Touch-Friendly (Gradient Overlay)
   To revert: uncomment "REVERT" section below and comment out "GRADIENT" section
   ============================================= */

/* --- GRADIENT OVERLAY LAYOUT (active) --- */

/* Card: full-image tile, no internal padding */
.product_box {
    border-radius: 10px !important;
    padding: 0 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10) !important;
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
}

/* Image fills entire card */
.product_box .image-container {
    height: 140px !important;
    width: 100% !important;
    background-size: cover !important;
    background-position: center !important;
}

/* Text overlay: positioned at bottom with gradient */
.product_box .text_div {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin-top: 0;
    padding: 24px 8px 8px !important;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.45) 60%, transparent 100%);
    overflow: visible !important;
}

/* Product name: white on gradient — larger font */
.product_box .text {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 700;
    color: #ffffff !important;
    -webkit-line-clamp: 2 !important;
    line-height: 1.35 !important;
    max-height: 2.7em !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* SKU: light on gradient — larger */
.product_box .text_div small.text-muted {
    font-size: 0.82rem;
    color: #e2e8f0 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

/* Entire right-side product panel: unified section */
.col-md-5.no-padding {
    background: #ffffff !important;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.04);
    border-left: 3px solid #3b82f6;
}

/* Button container inside panel */
.pos_sidebar_button_container {
    background: linear-gradient(135deg, #f0f7ff 0%, #f8fafc 100%) !important;
    padding: 10px 12px !important;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 0;
}

/* Product grid area: smooth scroll, transparent bg (panel provides it) */
#product_list_body {
    max-height: calc(100vh - 200px) !important;
    gap: 6px;
    padding: 8px;
    background: transparent;
    border-radius: 0;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

/* Styled scrollbar for product grid */
#product_list_body::-webkit-scrollbar {
    width: 6px !important;
    display: block !important;
}
#product_list_body::-webkit-scrollbar-track {
    background: #dde1e8;
    border-radius: 3px;
}
#product_list_body::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 3px;
}

/* Tablet responsive */
@media (max-width: 1024px) {
    .product_box .image-container {
        height: 110px !important;
    }
    .product_box .text {
        font-size: 0.92rem !important;
    }
    #product_list_body {
        padding: 8px;
        gap: 5px;
    }
}

/* Mobile responsive */
@media (max-width: 767px) {
    .product_box .image-container {
        height: 90px !important;
    }
    .product_box .text {
        font-size: 0.85rem !important;
    }
    #product_list_body {
        -webkit-overflow-scrolling: touch;
    }
}

/* --- REVERT: Separate image/text layout (inactive) ---
.product_box {
    border-radius: 8px !important;
    padding: 6px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10) !important;
    border: 1px solid #e5e7eb;
}
.product_box .image-container {
    height: 100px !important;
    background-color: #f8fafc !important;
    background-image: linear-gradient(145deg, #f1f5f9 0%, #e8edf4 100%) !important;
}
.product_box .text_div {
    position: static;
    margin-top: 6px;
    padding: 0 4px 4px;
    background: none;
}
.product_box .text {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 0.85rem !important;
    font-weight: 600;
    color: #1e293b !important;
    -webkit-line-clamp: 2 !important;
    line-height: 1.3 !important;
    max-height: 2.6em !important;
    text-shadow: none;
}
.product_box .text_div small.text-muted {
    font-size: 0.75rem;
    color: #64748b !important;
    text-shadow: none;
}
--- END REVERT */

/* POS Left Panel - Single-Line Strip */
.pos_form_totals {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.07);
    border-left: 4px solid #3b82f6;
    padding: 0;
    margin-bottom: 6px;
}
.pft-strip {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px 14px;
    gap: 6px 0;
    row-gap: 6px;
}
.pft-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    white-space: nowrap;
    min-height: 36px;
}
.pft-sep {
    width: 1.5px;
    height: 28px;
    background: #94a3b8;
    flex-shrink: 0;
    align-self: center;
}
.pft-label {
    font-size: 1.18rem;
    font-weight: 600;
    color: #334155;
}
.pft-value {
    font-size: 1.3rem;
    font-weight: 800;
    color: #0f172a;
}
.pft-chip .fa-edit {
    color: #3b82f6;
    font-size: 1.05rem;
    margin-left: 3px;
    cursor: pointer;
}
.pft-chip .fa-edit:hover {
    color: #1d4ed8;
}
.pft-chip-input {
    gap: 6px;
}
.pft-input {
    width: 100px;
    border: 1px solid #94a3b8;
    border-radius: 5px;
    padding: 4px 8px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    background: #fff;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.pft-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.12);
}

/* POS Left Panel Container */
.pos-tab-container > .box.box-solid {
    border: none !important;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    background: #fff;
}
.pos-tab-container > .box.box-solid > .box-body {
    padding: 10px;
}

/* POS Walk-In Customer + Search Row */
.pos-tab-container .input-group {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}
.pos-tab-container .input-group .input-group-addon:first-child {
    background: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 8px 0 0 8px;
    padding: 8px 12px;
}
.pos-tab-container .input-group .input-group-addon:first-child i {
    color: #fff;
}
.pos-tab-container .input-group .input-group-btn .btn {
    border: none;
    background: transparent;
    color: #3b82f6;
    transition: color 0.2s;
}
.pos-tab-container .input-group .input-group-btn .btn:hover {
    color: #1d4ed8;
    background: #eff6ff;
}
.pos-tab-container #search_product {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.95rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.pos-tab-container #search_product:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.12);
    outline: none;
}

/* POS Product Table */
#pos_table {
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}
#pos_table thead tr th {
    background: #1e293b !important;
    color: #fff !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 10px 10px;
    border: none !important;
    border-bottom: 2px solid #334155 !important;
}
#pos_table tbody tr td {
    background: #fff;
    color: #1e293b;
    padding: 8px 10px;
    border: none !important;
    border-bottom: 1px solid #e2e8f0 !important;
    font-size: 0.9rem;
}
#pos_table tbody tr:nth-child(even) td {
    background: #f1f5f9;
}
#pos_table tbody tr:hover td {
    background: #eff6ff;
}
#pos_table tbody tr:last-child td {
    border-bottom: none !important;
}

/* POS page background - replace flat #D2D6DE gray */
body.lockscreen {
    background-color: #f1f5f9 !important;
    background-image: linear-gradient(180deg, #f8fafc 0%, #e8edf4 100%) !important;
}