@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, U+20C1;
    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: "\20C1";
    font-family: "saudi_riyal" !important;
    font-size: inherit;
    color: inherit;
}

.icon-saudi_riyal::before {
    content: "\20C1";
    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 FOOTER BUTTONS - MODERN MINIMAL DESIGN
   Clean flat look, consistent spacing, equal button prominence
   ======================================================================= */

/* Design Tokens */
:root {
    --pos-btn-height: 48px;
    --pos-btn-padding: 10px 20px;
    --pos-btn-radius: 8px;
    --pos-spacing: 8px;
    /* Button Colors - distinct for each function */
    --pos-color-draft: #3b82f6; /* Blue */
    --pos-color-quotation: #f59e0b; /* Amber */
    --pos-color-suspend: #f97316; /* Orange */
    --pos-color-hold: #06b6d4; /* Cyan */
    --pos-color-cancel: #ef4444; /* Red */
    --pos-color-multipay: #6366f1; /* Indigo */
    --pos-color-card: #1e293b; /* Dark Slate */
    --pos-color-cash: #22c55e; /* Green */
    --pos-color-credit: #a855f7; /* Purple */
    --pos-color-kitchen: #14b8a6; /* Teal */
    --pos-color-recent: #64748b; /* Slate Gray */
    --pos-color-selforder: #8b5cf6; /* Violet */
    --pos-color-dark: #1e293b;
}

.pos-form-actions {
    height: auto;
    position: fixed;
    bottom: 0px;
    left: 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-top: 3px solid #3b82f6;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    width: 100%;
    z-index: 1000;
    padding: 0px 20px;
    display: flex;
    align-items: center;
}

/* === Scroll Arrows === */
.pos-scroll-arrow {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    color: #475569;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    z-index: 2;
}
.pos-scroll-arrow:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.35);
}
.pos-scroll-arrow:active {
    transform: scale(0.92);
}
.pos-scroll-arrow.hidden {
    opacity: 0;
    pointer-events: none;
}
.pos-scroll-left { margin-right: 6px; }
.pos-scroll-right { margin-left: 6px; }

/* === Single Flex Container for ALL buttons === */
.pos-buttons-container {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.pos-buttons-container::-webkit-scrollbar {
    display: none;
}

/* Hide checkboxes */
.pos-toggle-checkbox {
    display: none;
}

/* === UNIFIED BUTTON BASE STYLES === */
.pos-btn {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    height: 42px;
    padding: 0 18px;
    border: none;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    line-height: 1;
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.1),
        0 4px 8px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.pos-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 8px 8px 0 0;
    pointer-events: none;
}

.pos-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.15),
        0 8px 16px rgba(0, 0, 0, 0.1);
    color: #fff;
}

.pos-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Prevent buttons from shrinking in scrollable row */
.pos-btn, .pos-toggle-btn, .pos-action-update-wrap { flex-shrink: 0; }

/* === TOGGLE BUTTONS (Take Away, Dine In, Delivery) === */
.pos-toggle-btn {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
}
.pos-toggle-btn .pos-toggle-icon::before {
    content: "\2716";
    font-size: 0.85rem;
    font-weight: 700;
    opacity: 0.8;
}

/* Checked states */
.pos-toggle-checkbox:checked + .pos-toggle-takeaway {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}
.pos-toggle-checkbox:checked + .pos-toggle-dinein {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}
.pos-toggle-checkbox:checked + .pos-toggle-delivery {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}
.pos-toggle-checkbox:checked + .pos-toggle-btn .pos-toggle-icon::before {
    content: "✓";
    opacity: 1;
}

/* === COLOR CLASSES (Modern gradients) === */
.pos-action-sm-draft {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}
.pos-action-sm-quotation {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}
.pos-action-sm-suspend {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}
.pos-action-sm-hold {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}
.pos-action-sm-recent,
.pos-action-sm-transhold {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
}
.pos-action-multipay {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}
.pos-action-credit {
    background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
}
.pos-action-cash {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}
.pos-action-sm-cancel {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}
.pos-action-card {
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
}
.pos-action-kitchen {
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
}
.pos-action-selforder {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

/* Total Payable — large & prominent */
.pos-total {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 10px;
    padding: 8px 24px;
    margin: 0;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-height: 42px;
}
.pos-total span.number {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #4ade80;
}
.pos-total span.text {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    margin-right: 12px;
}

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

/* Update Price toggle — matches unified button 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;
    height: 42px;
    padding: 0 18px;
    border: none;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    line-height: 1;
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.1),
        0 4px 8px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}
.pos-action-update-wrap .checkbox + .button::before {
    content: "\2716";
    font-size: 0.85rem;
    font-weight: 700;
}
.pos-action-update-wrap .checkbox + .button:hover {
    transform: translateY(-2px);
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.15),
        0 8px 16px rgba(0, 0, 0, 0.1);
}
.pos-action-update-wrap .checkbox:checked + .button {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}
.pos-action-update-wrap .checkbox:checked + .button::before {
    content: "✓";
}

/* === Responsive: Large tablets / small desktops (1280px and below) === */
@media (max-width: 1280px) {
    .pos-btn,
    .pos-action-update-wrap .checkbox + .button,
    .pos-toggle-btn {
        font-size: 0.9rem;
        height: 40px;
        padding: 0 14px;
    }
    .pos-total span.number {
        font-size: 1.5rem;
    }
    .pos-total span.text {
        font-size: 0.8rem;
    }
    .pos-total {
        padding: 6px 16px;
        min-height: 40px;
    }
}

/* === Responsive: Tablets & CityPOS touch (1024px and below) === */
@media (max-width: 1024px) {
    .pos-form-actions {
        padding: 12px 16px;
    }
    .pos-buttons-container {
        gap: 8px;
    }
    .pos-btn,
    .pos-action-update-wrap .checkbox + .button,
    .pos-toggle-btn {
        font-size: 0.85rem;
        height: 38px;
        padding: 0 12px;
    }
    .pos-total {
        padding: 5px 14px;
        min-height: 38px;
    }
    .pos-total span.number {
        font-size: 1.4rem;
    }
    .pos-total span.text {
        font-size: 0.75rem;
        margin-right: 8px;
    }
}

/* === Responsive: Small tablets / large phones (768px and below) === */
@media (max-width: 768px) {
    .pos-form-actions {
        padding: 10px 12px;
    }
    .pos-buttons-container {
        gap: 6px;
    }
    .pos-btn,
    .pos-action-update-wrap .checkbox + .button,
    .pos-toggle-btn {
        font-size: 0.8rem;
        height: 36px;
        padding: 0 10px;
    }
    .pos-total {
        padding: 5px 12px;
        min-height: 36px;
    }
    .pos-total span.number {
        font-size: 1.3rem;
    }
    .pos-total span.text {
        font-size: 0.7rem;
        margin-right: 6px;
    }
}

/* Hide More toggle on desktop (before mobile override) */
.pos-mobile-more-toggle {
    display: none !important;
}
/* Overlay hidden by default */
.pos-actions-overlay {
    display: none;
}

/* === Responsive: Phones (576px and below) — single scrollable row === */
@media (max-width: 576px) {
    .pos-form-actions { padding: 8px 6px; }
    .pos-buttons-container { gap: 6px; }
    .pos-scroll-arrow { width: 26px; height: 26px; font-size: 0.7rem; }
    .pos-scroll-left { margin-right: 4px; }
    .pos-scroll-right { margin-left: 4px; }

    /* Compact buttons */
    .pos-btn, .pos-toggle-btn {
        font-size: 0.75rem;
        height: 38px;
        padding: 0 10px;
        flex-shrink: 0;
    }
    .pos-action-update-wrap .checkbox + .button {
        font-size: 0.75rem;
        height: 38px;
        padding: 0 10px;
    }

    /* Total Payable: first in row */
    .pos-total {
        order: -1;
        flex-shrink: 0;
        padding: 8px 14px;
        min-height: 38px;
    }
    .pos-total span.number { font-size: 1.4rem; }
    .pos-total span.text { font-size: 0.75rem; margin-right: 6px; }

    /* Show ALL buttons — remove More/overlay */
    .pos-action-secondary { display: inline-flex !important; }
    .pos-mobile-more-toggle { display: none !important; }
    .pos-actions-overlay { display: none !important; }
}

.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#add_pos_sell_form {
    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: 0;
    overflow-y: auto;
    overflow-x: hidden;
    margin-bottom: 0;
    flex: 1 1 auto;
    /* min-height: 395px; */
    /* max-height: 395px; */
}
/* The row wrapping pos_product_div needs to grow too */
.pos_product_div.col-sm-12 {
    flex: 1 1 auto;
}
#add_pos_sell_form .pb-0.box-body > .row {
    flex-shrink: 0;
}
#add_pos_sell_form .pb-0.box-body > .row:has(.pos_product_div) {
    flex: 1 1 auto;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
#add_pos_sell_form .pb-0.box-body > .row:has(.pos_product_div) > .pos_product_div {
    flex: 1 1 auto;
    max-height: none;
    overflow-y: auto;
     min-height: 0!important;
}
/* Compact Table/Kitchen order/Service staff area */
#add_pos_sell_form #restaurant_module_span .form-group {
    margin-bottom: 4px !important;
}
#add_pos_sell_form #restaurant_module_span label {
    margin-bottom: 0 !important;
    font-size: 12px;
}
#add_pos_sell_form #is_kitchen_order {
    margin: 0 !important;
}
#add_pos_sell_form .box-body > .row > .col-md-3 .checkbox {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
#add_pos_sell_form .box-body > .row > .col-md-3 .checkbox br {
    display: none;
}
/* Compact all form-groups in the left panel above the table */
#add_pos_sell_form .box-body .form-group {
    margin-bottom: 5px !important;
}
.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 ";
}
.treeview-menu > li.header {
    padding: 8px 10px 4px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    color: #8899aa !important;
    background: transparent !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    margin-top: 4px !important;
    pointer-events: none !important;
}
.treeview-menu > li.header:first-child {
    margin-top: 0 !important;
}

@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: 8px;
    }
}
@media (max-width: 576px) {
    .pos_form_totals {
        margin-bottom: 6px;
    }
}

.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;
}

.mb-80 { margin-bottom: 80px !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;
}

/* Order type container styles moved to POS footer buttons section */

/* 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.1) !important;
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
}

/* Image fills entire card */
.product_box .image-container {
    height: 120px !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: 13px !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: 11px;
    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: 4 columns, smooth scroll */
#product_list_body {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    max-height: calc(100vh - 300px) !important;
    gap: 8px !important;
    padding: 8px;
    padding-bottom: 100px !important; 
    background: transparent;
    border-radius: 0;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}
#product_list_body .product_list {
    width: 100% !important;
    padding: 0 !important;
    float: none !important;
}
#product_list_body .col-md-12 {
    grid-column: 1 / -1;
}

/* Styled scrollbar for product grid - MORE VISIBLE */
#product_list_body::-webkit-scrollbar {
    width: 10px !important;
    display: block !important;
}
#product_list_body::-webkit-scrollbar-track {
    background: #e2e8f0;
    border-radius: 5px;
}
#product_list_body::-webkit-scrollbar-thumb {
    background: #3b82f6;
    border-radius: 5px;
}
#product_list_body::-webkit-scrollbar-thumb:hover {
    background: #2563eb;
}

/* Product grid position for scroll indicator wrapper */
#product_list_body {
    position: relative;
}

/* Loader styling improvements */
#suggestion_page_loader {
    padding: 15px 0;
    background: rgba(255,255,255,0.9);
}

/* Load More button styling */
#load_more_products_btn {
    background: transparent;
    border: 2px solid #3b82f6;
    color: #3b82f6;
    border-radius: 8px;
    padding: 8px 20px;
    font-weight: 600;
    transition: all 0.2s ease;
}
#load_more_products_btn:hover {
    background: #3b82f6;
    color: white;
}

/* No more products message styling */
#product_list_body .no-more-products-message {
    grid-column: 1 / -1;
    width: 100%;
}
#product_list_body .no-more-products-message .text-center {
    animation: fadeInUp 0.5s ease-out;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tablet responsive */
@media (max-width: 1024px) {
    .product_box .image-container {
        height: 100px !important;
    }
    .product_box .text {
        font-size: 12px !important;
    }
    #product_list_body {
        grid-template-columns: repeat(3, 1fr) !important;
        padding: 6px;
        gap: 6px;
    }
}

/* Mobile responsive */
@media (max-width: 767px) {
    .product_box .image-container {
        height: 90px !important;
    }
    .product_box .text {
        font-size: 11px !important;
    }
    #product_list_body {
        grid-template-columns: repeat(3, 1fr) !important;
        -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: 0;
}
.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: 13px;
    font-weight: 600;
    color: #334155;
}
.pft-value {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
}
.pft-chip .fa-edit {
    color: #3b82f6;
    font-size: 12px;
    margin-left: 3px;
    cursor: pointer;
}
.pft-chip .fa-edit:hover {
    color: #1d4ed8;
}
.pft-chip-input {
    gap: 6px;
}
.pft-input {
    width: 90px;
    border: 1px solid #94a3b8;
    border-radius: 5px;
    padding: 3px 6px;
    font-size: 14px;
    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 */
#add_pos_sell_form .box.box-solid {
    border: none !important;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    background: #fff;
    font-family:
        "Aptos",
        "Segoe UI",
        "Inter",
        "Plus Jakarta Sans",
        -apple-system,
        BlinkMacSystemFont,
        sans-serif !important;
}

#add_pos_sell_form .pb-0.box-body {
    padding: 10px;
    display: flex !important;
    flex-direction: column !important;
    height: calc(100vh - 160px);
    overflow: hidden;
}
/* Totals strip pinned to bottom */
#add_pos_sell_form .pos_form_totals {
    margin-top: 0;
    margin-bottom: 8px;
}

/* POS Walk-In Customer Row */
#customer_id + .select2-container .select2-selection {
    height: 34px !important;
    border: 1px solid #e2e8f0;
}
#customer_id + .select2-container .select2-selection__rendered {
    line-height: 32px !important;
    font-size: 14px !important;
    padding-left: 8px;
    color: #1e293b;
}
#customer_id + .select2-container .select2-selection__arrow {
    height: 32px !important;
}
#customer_id + .select2-container .select2-selection__placeholder {
    font-size: 14px !important;
    color: #64748b;
}
/* Customer addon icon */
#add_pos_sell_form .col-md-4 .input-group > .input-group-addon:first-child {
    background: #3b82f6 !important;
    color: #fff !important;
    border: none;
    border-radius: 4px 0 0 4px;
    padding: 6px 10px;
}
#add_pos_sell_form .col-md-4 .input-group > .input-group-addon:first-child i {
    color: #fff !important;
    font-size: 14px;
}
/* Customer + button — match height */
#add_pos_sell_form .add_new_customer {
    padding: 6px 8px !important;
}
#add_pos_sell_form .add_new_customer .fa-lg {
    font-size: 14px !important;
}
/* POS Search Product Row */
#search_product {
    height: 34px !important;
    font-size: 14px !important;
    border: 1px solid #e2e8f0;
    padding: 0 10px;
}
#search_product:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.12);
    outline: none;
}
/* Search row ALL buttons — match input height */
#add_pos_sell_form .col-md-8 .input-group .input-group-btn .btn {
    padding: 6px 8px !important;
}
#add_pos_sell_form .col-md-8 .input-group .input-group-btn .btn .fa-lg {
    font-size: 14px !important;
}
#add_pos_sell_form .col-md-8 .input-group .input-group-btn .btn .fas {
    font-size: 13px;
}

/* POS Product Table */
#pos_table {
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}
/* Table header — compact */
#pos_table thead tr th {
    background: #1e293b !important;
    color: #fff !important;
    font-family: "Aptos", "Segoe UI", "Inter", "Plus Jakarta Sans", sans-serif !important;
    font-weight: 600;
    font-size: 13px !important;
    padding: 5px 6px;
    border: none !important;
    border-bottom: 2px solid #334155 !important;
    white-space: nowrap;
    line-height: 1.2;
    letter-spacing: 0.3px;
}
/* Cross (X) header icon — small */
#pos_table thead tr th:last-child {
    width: 24px !important;
    padding: 5px 2px !important;
    text-align: center;
}
#pos_table thead tr th:last-child .fas.fa-times {
    font-size: 14px;
}
/* Table body — compact rows */
#pos_table tbody tr td {
    background: #fff;
    color: #1e293b;
    padding: 3px 5px;
    border: none !important;
    border-bottom: 1px solid #e2e8f0 !important;
    font-size: 14px !important;
    vertical-align: middle !important;
    line-height: 1.2;
}
/* Delete column — compact */
#pos_table tbody tr td:last-child {
    width: 24px !important;
    padding: 3px 2px !important;
    text-align: center;
}
/* Inputs inside table */
#pos_table tbody tr td .form-control {
    font-size: 14px !important;
    height: 28px !important;
    padding: 2px 5px;
}
#pos_table tbody tr td input[type="text"],
#pos_table tbody tr td input[type="number"] {
    font-size: 14px !important;
    height: 28px !important;
    padding: 2px 5px;
}
#pos_table tbody tr td select.form-control {
    font-size: 13px !important;
    height: 28px !important;
    padding: 2px 3px;
}
#pos_table tbody tr td .prduct_name {
    font-size: 14px !important;
    height: 28px !important;
    padding: 2px 5px;
}
#pos_table .product_row .first {
    font-size: 14px !important;
}
/* Product name grid — compact */
#pos_table .product_row .first div[style*="display:grid"],
#pos_table .product_row .first div[style*="display: grid"] {
    background: #f8fafc !important;
    border-radius: 4px;
}
/* Quantity +/- buttons — inline aligned, same height as input */
#pos_table .input-group.input-number {
    display: flex !important;
    align-items: center;
    flex-wrap: nowrap;
}
#pos_table .input-group.input-number .input-group-btn {
    width: auto;
    display: flex;
}
#pos_table .input-group.input-number .input-group-btn .btn {
    padding: 0 7px !important;
    height: 28px !important;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0 !important;
    background: #fff !important;
    min-width: 28px;
}
#pos_table .input-group.input-number .input-group-btn .btn .fa-minus {
    font-size: 11px;
}
#pos_table .input-group.input-number .input-group-btn .btn .fa-plus {
    font-size: 11px;
}
#pos_table .input-group.input-number .pos_quantity {
    text-align: center;
    flex: 1;
    min-width: 50px;
}
/* Unit column — narrower */
#pos_table tbody tr td .sub_unit,
#pos_table tbody tr td input[readonly][style*="width:100px"] {
    width: 75px !important;
}
#pos_table .product_row .btn-xs {
    padding: 2px 5px;
    font-size: 12px;
}
/* Delete button in row */
#pos_table .product_row td:last-child .btn {
    padding: 2px 4px;
}
#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;
}

/* ===== Register Details & Close Register Modal Redesign ===== */

/* Modal header - dark style */
.reg-modal-header {
    background: #1e293b;
    color: #fff;
    padding: 16px 20px;
    border-radius: 5px 5px 0 0;
}
.reg-modal-header .modal-title {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}
.reg-modal-header .close {
    color: #fff;
    opacity: 0.8;
    text-shadow: none;
}
.reg-modal-header .close:hover {
    opacity: 1;
}
.reg-modal-header .reg-date-range {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 2px;
}

/* Summary badges in header */
.reg-header-badges {
    display: flex;
    gap: 12px;
    margin-top: 10px;
    flex-wrap: wrap;
}
.reg-header-badge {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 13px;
    color: #e2e8f0;
}
.reg-header-badge .reg-badge-value {
    font-weight: 700;
    color: #fff;
    margin-left: 4px;
}
.reg-header-badge.green {
    border-left: 3px solid #22c55e;
}
.reg-header-badge.red {
    border-left: 3px solid #ef4444;
}
.reg-header-badge.blue {
    border-left: 3px solid #3b82f6;
}

/* Payment summary table - modern */
.reg-payment-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
}
.reg-payment-table thead th {
    background: #1e293b;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 14px;
    border: none;
}
.reg-payment-table thead th:first-child {
    border-radius: 6px 0 0 0;
}
.reg-payment-table thead th:last-child {
    border-radius: 0 6px 0 0;
}
.reg-payment-table tbody td {
    padding: 9px 14px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 13px;
    color: #334155;
}
.reg-payment-table tbody tr:last-child td {
    border-bottom: none;
}
.reg-payment-table tbody tr:hover td {
    background: #f8fafc;
}
.reg-payment-table .pay-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    font-size: 12px;
    color: #fff;
    vertical-align: middle;
}
.pay-icon.cash {
    background: #22c55e;
}
.pay-icon.cheque {
    background: #8b5cf6;
}
.pay-icon.card {
    background: #3b82f6;
}
.pay-icon.bank {
    background: #06b6d4;
}
.pay-icon.advance {
    background: #f59e0b;
}
.pay-icon.custom {
    background: #64748b;
}
.pay-icon.other {
    background: #94a3b8;
}

/* Stat cards for totals */
.reg-stat-cards {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 16px 0;
}
.reg-stat-card {
    flex: 1;
    min-width: 140px;
    border-radius: 8px;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    background: #fff;
}
.reg-stat-card .reg-stat-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}
.reg-stat-card .reg-stat-value {
    font-size: 18px;
    font-weight: 700;
}
.reg-stat-card.green {
    border-left: 4px solid #22c55e;
}
.reg-stat-card.green .reg-stat-label {
    color: #16a34a;
}
.reg-stat-card.green .reg-stat-value {
    color: #15803d;
}
.reg-stat-card.red {
    border-left: 4px solid #ef4444;
}
.reg-stat-card.red .reg-stat-label {
    color: #dc2626;
}
.reg-stat-card.red .reg-stat-value {
    color: #b91c1c;
}
.reg-stat-card.blue {
    border-left: 4px solid #3b82f6;
}
.reg-stat-card.blue .reg-stat-label {
    color: #2563eb;
}
.reg-stat-card.blue .reg-stat-value {
    color: #1d4ed8;
}
.reg-stat-card.orange {
    border-left: 4px solid #f59e0b;
}
.reg-stat-card.orange .reg-stat-label {
    color: #d97706;
}
.reg-stat-card.orange .reg-stat-value {
    color: #b45309;
}

/* Collapsible accordion for product details */
.reg-accordion-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 12px;
    cursor: pointer;
    transition: background 0.15s;
    user-select: none;
}
.reg-accordion-toggle:hover {
    background: #f1f5f9;
}
.reg-accordion-toggle h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
}
.reg-accordion-toggle .reg-chevron {
    transition: transform 0.2s;
    color: #64748b;
    font-size: 14px;
}
.reg-accordion-toggle[aria-expanded="true"] .reg-chevron {
    transform: rotate(180deg);
}
.reg-accordion-body {
    border: 1px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 0;
    margin-bottom: 4px;
}
.reg-accordion-body .table {
    margin-bottom: 0;
}

/* Denominations card */
.reg-denom-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    margin-top: 16px;
}
.reg-denom-card h4 {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin: 0 0 12px 0;
}
.reg-denom-card .table {
    margin-bottom: 0;
}

/* Close register form card */
.reg-form-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    margin-top: 16px;
}

/* User info footer card */
.reg-user-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 16px;
    font-size: 13px;
    color: #475569;
}
.reg-user-card b {
    color: #334155;
}

/* Refund breakdown */
.reg-refund-detail {
    font-size: 11px;
    color: #64748b;
    margin-top: 2px;
}

/* Print overrides - expand all collapsed sections */
@media print {
    .reg-accordion-body.collapse:not(.in) {
        display: block !important;
        height: auto !important;
    }
    .reg-accordion-toggle .reg-chevron {
        display: none;
    }
}

.denom-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 0;
}
.denom-box {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #f8fafc;
    border: 2px solid #cbd5e1;
    border-radius: 10px;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    transition:
        background 0.15s,
        border-color 0.15s,
        transform 0.1s;
}
.denom-box:hover {
    background: #e2e8f0;
    border-color: #94a3b8;
}
.denom-box:active {
    transform: scale(0.93);
    background: #cbd5e1;
}
.denom-box.active {
    background: #eff6ff;
    border-color: #3b82f6;
}
.denom-box-value {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1;
}
.denom-box-count {
    position: absolute;
    top: -10px;
    right: -10px;
    min-width: 28px;
    height: 28px;
    padding: 0 6px;
    background: #ef4444;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}
.denom-total-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #f1f5f9;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #334155;
    margin-top: 4px;
}
/* Mobile scroll fixes */
#modal_payment .modal-body,
#transaction_payment_add_form .modal-body,
.multi-payment-modal .modal-body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    max-height: 70vh;
}
.pos_product_div {
    -webkit-overflow-scrolling: touch;
}
@media (max-width: 768px) {
    .denom-box {
        width: 60px;
        height: 60px;
    }
    .denom-box-value {
        font-size: 15px;
    }
    #modal_payment .modal-body,
    #transaction_payment_add_form .modal-body,
    .multi-payment-modal .modal-body {
        max-height: 80vh;
        padding: 10px;
    }
    .cash_denomination_div {
        max-height: 300px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}
/* Remove old bg-lightgray box styles inside payment modal */
#modal_payment .bg-lightgray {
    background: transparent;
    border: none;
    box-shadow: none;
}

@media print {
    .reg-modal-header {
        background: #1e293b !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    .reg-header-badge,
    .reg-stat-card,
    .pay-icon {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

/* ═══ GLOBAL: Fix DataTable scrollX duplicate tfoot ═══
   When scrollX is enabled, DataTable clones <tfoot> into both
   .dataTables_scrollBody (hidden scroll area) and .dataTables_scrollFoot (visible).
   The scrollBody copy must be hidden to prevent duplicate totals. */
.dataTables_scrollBody tfoot,
.dataTables_scrollBody table tfoot {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}
.dataTables_scrollBody tfoot tr,
.dataTables_scrollBody tfoot td,
.dataTables_scrollBody tfoot th {
    display: none !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    font-size: 0 !important;
    line-height: 0 !important;
}
/* Ensure no gap between scroll containers */
.dataTables_scrollBody { margin-bottom: 0 !important; }
.dataTables_scrollFoot { margin-top: 0 !important; }
.dataTables_scroll { margin-bottom: 0 !important; }
