.editBtn {
    cursor: pointer;
    color: rgb(255, 174, 0);
}

.viewBtnm, .printBtn {
    cursor: pointer;
    color: rgb(9, 44, 241);
}

.representImage {
    width: 35; 
    background: rgb(9, 44, 241); 
    color: #fff; 
    border-radius: 50%;
    text-align: center;
    padding: 10px;
    font-weight: 700;
}

.notification-box {
    padding: 10px;
    border-radius: 7px;
    margin-bottom: 10px;
}

.notification-box .notification-head {
    display: flex;
    justify-content: space-between;
}

.notification-box .notification-message {
    padding: 10px 0px;
}

/* log viewer */
.CodeMirror {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    line-height: 1.3;
    height: 500px;
}

.CodeMirror-linenumbers {
    padding: 0 8px;
}

​.custom-css p,
.custom-css li,
.custom-css span {
    color: white;
}

​.cm-s-monokai span.cm-tag {
    margin-left: 15px;
}
/* end log viewer */

.tableImage {
    width: 40px;
    border-radius: 50%;
}

.tablelink {
    color: #000;
    text-decoration: none;
}

.search-start-date {
    background-color:#fdfdff;
    border: 1px solid #cbcbcf;
    border-radius: 30px 0 0 30px;
    outline: none;
    padding: 0px 5px 0 15px;
    font-size: 13px;
}

.search-end-date {
    background-color:#fdfdff;
    border: 1px solid #cbcbcf;
    outline: none;
    padding: 0px 5px 0 10px;
    font-size: 13px;
}

.search-date-btn {
    color: #fff;
    background: #6777ef;
    border: none;
    padding: 0px 15px 0 10px;
    border-radius: 0 30px 30px 0;
    outline: none;
}

.stringDateSearch .search {
    background-color:#fdfdff;
    border: 1px solid #cbcbcf;
    border-radius: 30px 0 0 30px;
    outline: none;
    padding: 0px 5px 0 15px;
    font-size: 13px;
}

.stringDateSearch .search-start-date2 {
    background-color:#fdfdff;
    border: 1px solid #cbcbcf;
    outline: none;
    padding: 0px 5px 0 15px;
    font-size: 13px;
}

.stringDateSearch .search-end-date {
    background-color:#fdfdff;
    border: 1px solid #cbcbcf;
    outline: none;
    padding: 0px 5px 0 10px;
    font-size: 13px;
}

.stringDateSearch .search-date-btn {
    color: #fff;
    background: #6777ef;
    border: none;
    padding: 0px 15px 0 10px;
    border-radius: 0 30px 30px 0;
    outline: none;
}

.table-responsive {
    overflow-x: auto !important;
    white-space: nowrap;
}

/* sales receipt */
.receipt-container {
    background: #fdfdfd;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.receipt {
    font-family: 'Courier New', monospace;
    background: #fff;
    color: #000;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    padding: 10px;
}

.receipt hr {
    border-top: 1px dashed #aaa;
    margin: 0.5rem 0;
}

/* POS CSS */

.pos-nav {
    background: #fff;
    padding: 10px 0px;
}

.pos-nav-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pos-nav-box .right-side {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pos-search {
    width: 70%;
}

.pos-nav ul{
    display: flex;
}

.pos-nav ul li{
    display: flex;
}

.pos-nav .user-profile .user-img-radious-style {
    border-radius: 5px;
    width: 30px;
    height: 30px;
}

.pos-content {
    min-height: 65vh;
}


/* .cart-form {
    min-height: 60vh;
} */

.cart-form .table-cart {
    font-size: 13px;
    min-height: 30vh;
    max-height: 30vh;
    overflow-y: auto !important;
}

.cart-form .table-cart-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap:10px;

}

.cart-form .checkbox {
    width: 15px;
    height: 15px;
}

.cart-remove-btn {
    cursor: pointer;
    color: red;
}

.cart-buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

.cart-buttons div {
    width: 45%;
}
.cart-input {
    text-align:right; 
}

.cart-input, .cart-input-select, .cart-input2 {
    outline: none;
    border: #b8b5b5 1px solid;
    border-radius: 5px;
    padding: 3px 10px;
    width: 140px; 
}

.pos-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 10px;
}

 .pos-content .product-box {
    max-height: 85vh;
    min-height: 85vh;
    overflow-y: auto !important;
    display: grid; 
    grid-template-columns: repeat(6, 1fr); 
    gap: 10px; 
} 

/*.pos-content .product-box {*/
/*    display: grid;*/
/*    grid-template-columns: repeat(6, 1fr);*/
/*    gap: 10px;*/
/*    align-content: start;*/
/*}*/

.pos-content .product-box .product-list {
    background: #fff;
    /* height: 27vh; */
    height: 160px;
    box-shadow: 6px 3px 6px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    padding: 5px 2px;
    border: 1px solid rgb(252, 245, 245);
    /* margin-bottom: 8px;  */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover effect */
.pos-content .product-box .product-list:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: #eee; 
}

.pos-content .product-box .product-list img {
    max-width: 100%;
    max-height: 90px;
    object-fit: contain;
    border-radius: 5px 5px 0px 0px;
}

.product-text {
    height: 80px;
}

.product-text small {
    font-size: 11px;
}

.cart-buttons > div { 
    margin-bottom: 8px; 
}

/* .pos-content .product-box .product-list h6, .pos-content .product-box .product-list small {
    margin: none;
} */

/* Responsive grid */
@media (max-width: 1200px) {
    .pos-content .product-box {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .pos-content .product-box {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .pos-content .product-box {
        grid-template-columns: repeat(2, 1fr);
    }

    .mobile-hide {
        display: none;
    }

    .pos-search {
        width: 100%;
    }

    .pos-cart-img { 
        width: 48px; 
        height: 48px; 
    }
}

@media (max-width: 480px) {
    .pos-content .product-box {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* pos reciept */
@media print {
    body * {
        visibility: hidden !important;
    }
    #receiptArea, #receiptArea * {
        visibility: visible !important;
    }
    #receiptArea {
        position: absolute;
        left: 0;
        top: 0;
        width: 58mm;
        margin: 0;
        padding: 0;
    }
    .modal-content {
        box-shadow: none !important;
        border: none !important;
    }
    hr {
        margin: 2px 0 !important;
    }
}

.printPrintTagArea {
    margin-bottom: 15px;
    margin-top: 10px;
}

.printPrintTagArea img {
    width: 100%;
    height: 40px;
}