#image-preview {
    width: 120px;
    height: 120px;
    display: block;
    border-radius: 10px;
}

.txt-danger {
    color: #FF0000 !important;
}

.txt-info {
    color: #5072d8 !important;
}

.txt-white {
    color: #FFFFFF !important;
}

.product-wrap {
    height: 36vh !important;
    overflow: auto;
}

.hidee {
    display: none !important;
}

.showw {
    display: block !important;
}

.pos-category {
    margin-bottom: 2px !important;
}

.pos-categories {
    padding: 12px 24px !important;
}

.pos-products {
    height: 84vh !important;
    overflow: auto;
}

.pos-products .product-info {
       min-height: 102px !important;
}

.product-wrap .product-list .product-info .img-bg {
    width: 64px !important;
    height: 64px !important;    
}

.pos-products .product-info h6 {
    font-size: 14px !important;
    font-weight: 700 !important;
}
.product-wrap .product-list .info h6 {
    font-size: 12px !important;
}
.pos-categories h5, .pos-categories h6, .order-list h5, .order-list h6 {
    color: #626364 !important;
}

.custom-pos-nav-tab {
    border: 0 !important;
    background-color: #f8f9fa !important;
}

.custom-pos-nav {
    margin-top: .5rem !important;
    margin-bottom: .5rem !important;
}

.order-total svg {
    width: 14px;
    padding-bottom: 4px;
}

.tabs-sets .nav-tabs {
    margin: 0 0 0 !important; /* 0 0 15px !important; */
}

#finalize-order input[readonly] {
    background-color: #f3f2f1;
    border-color: #b6b7b9;
}

.login-wrapper .login-content {
    margin: auto !important;
    background-color: #fffdfa !important;
}

.readonly {
    background-color: #e6e4e4 !important;
}

.readonly:focus {
    background-color: #e6e4e4 !important;
}

.icon-sp {   
    width: 32px;
    height: 32px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    justify-content: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    font-size: 18px;
    border-radius: 50px;
    border: 1px solid #e6ebf1;
    color: #FF9F43;
    margin: 5px;
    -webkit-box-shadow: 0 2px 3px rgb(215, 197, 255);
    -moz-box-shadow: 0 2px 3px rgb(215, 197, 255);
    box-shadow: 0 2px 3px rgb(215, 197, 255);    
}

.icon-sp-red {
    color: #ed3e23;
}

.icon-sp-green {
    color: #2dce89;
}

.tech-span {
    padding: 2px 10px !important;
}

.pos-header {
    min-height: 92px;
    height: auto;
    background-color: #f9f9f9;
}

.customer-list li.active {
    background-color: #007bff;
    color: white;
}

.customer-list-dropdown {
    position: relative;
}

.customer-list-dropdown-menu {
    position: absolute;
    top: 100%; /* Just below the search input */
    left: 0;
    right: 0;
    max-height: 300px;
    overflow-y: auto;
    z-index: 10000;
    background-color: #fdf6f1;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    display: none;
}

.customer-list-dropdown-menu.show {
    display: inline-block;
}


.customer-list-dropdown-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 6px;
    cursor: pointer;
}

.customer-list-dropdown-item:hover, .customer-list-dropdown-item.active {
    background-color: #fde7d8;
    /* color: white; */
}

.customer-children {
    font-size: 0.85rem;
    margin-left: 1rem;
}

#selected-customer {
    margin-top: 6px;
}

.children-data {
    padding-left: 0.5rem;
}

.offcanvas-custom {
    width: 56%; /* 50%; 60%;  45%; */
    height: 100vh;
    position: fixed;
    top: 0;
    right: 0;
    background-color: #f8f9fa;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    z-index: 1045;
    transition: transform 0.4s ease;
}

.offcanvas-header {
    display: flex;
    align-items: center;
    padding: 1rem 1rem;
}

.offcanvas-header .btn-close {
    padding: 0.5rem;
    margin: -0.5rem -0.5rem -0.5rem auto;
}

.offcanvas-body {
    flex-grow: 1;
    padding: 1rem 1rem;
    overflow-y: auto;
}
  
.offcanvas-visible {
    transform: translateX(0);
}
  
.offcanvas-hidden {
    transform: translateX(100%);
}
  
.offcanvas-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    pointer-events: none;
}
  
.offcanvas-hidden + .offcanvas-overlay {
    opacity: 0;
    visibility: hidden;
}
 
.toggle-arrow {
    position: absolute;
    top: 50%;
    left: -30px;
    transform: translateY(-50%);
    font-size: 20px;
    background-color: #007bff;
    color: white;
    padding: 5px 10px;
    border-radius: 5px 0 0 5px;
    cursor: pointer;
    z-index: 1050;
    transition: left 0.4s ease;
}
 
.offcanvas-hidden .toggle-arrow {
    left: -30px;
}    
 
.offcanvas-visible .toggle-arrow {
    left: -30px;
}

/* .overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #000000e6;
    z-index: 1040; 
    display: none; 
    pointer-events: none; 
}

.offcanvas {
    position: fixed;
    top: 0;
    right: 0;  
    height: 100%;
    background-color: #f8f9fa;
    transition: transform 0.6s ease-in-out;
    z-index: 1050;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
}

.offcanvas.offcanvas-end {
    width: auto !important;
}

.offcanvas.visible {
    transform: translateX(0);
}

.offcanvas.hidden {
    transform: translateX(100%);
}

.customizer-links {
    position: fixed;
    top: 50%;
    right: 456px;
    transform: translateY(-50%);
    z-index: 1055;
    transition: transform 0.6s ease-in-out, right 0.6s ease-in-out;
}

.offcanvas.hidden ~ .customizer-links {
    right: 0; 
} */



/* Print specific styles */
@media print {
    /* Add margins around the printed page */
    /* @page {
        width: 424px;
        height: 700px;
    } */

    body {
        margin: 0;
        padding: 0;
    }    

    /* Optionally, you can hide elements not required for printing */
    .noPrint {
        display: none;
    }
}

/* @media print {
    body {
        width: var(--custom-width)mm;
        height: var(--custom-height)mm;
        margin: 0;
    }
    .report-content {
        width: 100%;
        height: 100%;
        border: 1px dotted #38aa03;
        box-sizing: border-box;
    }
} */

/**Appointment Css/
*----------------- 33. Attendance -----------------------*/
.first-off {
    white-space: pre-wrap;
}
.stats-info {
    background-color: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    margin-bottom: 20px;
    padding: 15px;
    text-align: center;
}
.stats-info h6 {
    color: #1f1f1f;
    font-size: 16px;
    font-weight: normal;
    line-height: 18px;
    margin-bottom: 5px;
}
.stats-info h4 {
    font-size: 24px;
    margin-bottom: 0;
}
.stats-info h4 span {
    color: #727272;
    font-size: 12px;
}
.punch-det {
    background-color: #f9f9f9;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    margin-bottom: 20px;
    padding: 10px 15px;
}
.punch-det h6 {
    line-height: 20px;
    margin-bottom: 0;
}
.punch-det p {
    color: #727272;
    font-size: 14px;
    margin-bottom: 0;
}
.punch-info {
    margin-bottom: 20px;
}
.punch-hours {
    align-items: center;
    background-color: #f9f9f9;
    border: 5px solid #e3e3e3;
    border-radius: 50%;
    display: flex;
    font-size: 15px;
    height: 120px;
    justify-content: center;
    margin: 0 auto;
    width: 120px;
}
.punch-btn-section {
    margin-bottom: 20px;
    text-align: center;
}
.punch-btn {
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    max-width: 100%;
    padding: 8px 40px;
}
.punch-status .stats-box {
    margin-bottom: 0;
}
.stats-list {
    height: 331px;
    overflow-y: auto;
}
.att-statistics .stats-info {
    margin-bottom: 5px;
}
.att-statistics .progress {
    height: 4px;
}
.statistics .row {
    margin-left: -5px;
    margin-right: -5px;
}
.statistics .row > div {
    padding-left: 5px;
    padding-right: 5px;
}
.stats-box {
    background-color: #f9f9f9;
    border: 1px solid #e3e3e3;
    margin-bottom: 15px;
    padding: 5px;
}
.stats-box p {
    margin: 0;
    font-size: 12px;
}
.stats-box > h6 {
    margin-bottom: 0;
}
.stats-info:last-child .progress {
    margin-bottom: 0;
}
.stats-info p {
    display: flex;
    font-size: 12px;
    justify-content: space-between;
    margin-bottom: 5px;
}
.recent-activity .res-activity-list {
    height: 328px;
    list-style-type: none;
    margin-bottom: 0;
    overflow-y: auto;
    padding-left: 30px;
    position: relative;
}
.recent-activity .res-activity-list li {
    margin-bottom: 15px;
    position: relative;
}
.recent-activity .res-activity-list li:last-child {
    margin-bottom: 0;
}
.recent-activity .res-activity-list li:before {
    width: 10px;
    height: 10px;
    left: -30px;
    top: 0px;
    border: 2px solid #00c5fb;
    margin-right: 15px;
    z-index: 2;
    background: #fff;
}
.recent-activity .res-activity-list li:before {
    content: "";
    position: absolute;
    border-radius: 100%;
}
.recent-activity .res-activity-list:after {
    content: "";
    border: 1px solid #e5e5e5;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 4px;
}
.recent-activity .res-activity-time {
    color: #bbb;
    font-size: 12px;
}
.recent-activity h6 {
    line-height: 14px;
    margin-bottom: 0;
}
.recent-activity p {
    font-size: 13px;
    margin-bottom: 0;
}
.half-day {
    width: 15px;
}
.dt-buttons {
    display: none;
}
.profile-widget-area {
    background-color: #fff;
}

.table-print thead tr th {
    font-size: 16px;
}
.table-print tbody tr td {
    color: #000000 !important;
    font-size: 15px;
}
.productimgname {
    flex-wrap: wrap !important;
    align-items: center !important;
}
@media print {
    body {
        width: 80mm; /* Set to 80mm for thermal printers */
        margin: 0;
        padding: 0;
        font-family: "Fake Receipt", sans-serif !important;
        font-size: 10pt !important; /* Adjust for readability */
        line-height: 1.6 !important; /* Space between lines */
        word-wrap: break-word !important;
        color: #000 !important;
    }

    .cust-font,
    .cust-font-b {
        font-size: 9pt !important; /* Ensure consistency for small font */
        line-height: 1.6 !important;
    }

    .row {
        display: flex;
        flex-wrap: wrap;
        margin: 0;
        padding: 0;
    }

    .col-sm-6,
    .col-sm-10,
    .col-sm-12 {
        flex: 1 1 auto; /* Ensure columns adjust properly */
    }

    hr {
        border: none;
        border-top: 1px dashed #000;
        margin: 5px 0;
    }

    .text-center {
        text-align: center;
    }

    .noPrint {
        display: none !important;
    }

    .justify-content-center {
        justify-content: center;
    }

    .text-end {
        text-align: right;
    }
}

.dash-widget .dash-widgetimg span {
    background: rgb(5, 38, 151, 0.12) !important;
}
