@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background-color: #0061721e;
}

.b_btm {
    border-bottom: 1px solid #ccc;
}

.para {
    font-size: 16px;
    font-weight: 300;
    line-height: 22px;
    color: #818181;
}

.p_12 {
    font-size: 12px;
    font-weight: 300;
    line-height: 22px;
    color: #818181;
}

.pos_progley_page {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.pos_left {
    padding: 10px;
    width: calc(100% - 30%);
}

.pos_rigt {
    height: calc(100vh - 30px);
    width: 30%;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
    margin: 15px;
    background-color: #fff;
    border-radius: 15px;
    padding: 15px;

}

.input__search {
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-radius: 15px;
    background-color: #fff;
    overflow: hidden;
    margin: 7px 0px;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
}

.input__search input {
    height: 100%;
    width: 100%;
    border: none;
    outline: none;
    background-color: #fff;
    font-size: 16px;
}

.searchinput input {
    padding: 0px 15px !important;
    cursor: pointer;
}

.search_icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 10px;
    background-color: #04a8c5;
}

.search_icon svg {
    color: #fff;
}

.customer_detail {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 10px;
}

.reaction_btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.reaction_btn svg {
    color: #bbb;
    cursor: pointer;
}

.active svg {
    color: #04a8c5;
    cursor: pointer;
}

.item_content {
    display: flex;
    align-items: center;

}

.items_buy_box {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    height: calc(100vh - 400px);
    margin: 15px 0px 0px 0px;
    flex-direction: column;
    overflow: hidden;
    overflow-y: auto;

}

button:disabled {
    background: grey;
    color: #fff;
    opacity: 0.4;
}

.change_price p {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #005783;
}

.items_buy_box::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #F5F5F5;
    border-radius: 10px;

}

.items_buy_box::-webkit-scrollbar {
    width: 10px;
    background-color: #F5F5F5;

}

.items_buy_box::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-image: -webkit-gradient(linear,
            left bottom,
            left top,
            color-stop(0.44, rgb(210, 217, 231)),
            color-stop(0.72, rgb(151, 178, 212)),
            color-stop(0.86, rgb(88, 114, 191)));
}

.item_buy_box {
    background-color: #0061721e;
    padding: 10px;
    border-radius: 10px;
    width: 95%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-right: 10px;
}

.item_buy_img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    overflow: hidden;
}

.item_buy_img img {
    border-radius: 10px;
    width: 100%;
    height: 100%;
}

.item_buy_content {
    padding: 0px 10px;
}

.item_buy_content p {
    margin: 0;
}

.item_buy_content input {
    font-size: 12px;
    font-weight: 300;
    line-height: 22px;
    color: #818181;
    border: none;
    outline: none;
    width: 80px;
    border-radius: 5px;
    height: 20px;
    padding: 10px;
    box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px;



}

.item_incree {
    display: flex;
    align-items: center;
    gap: 5px;
}

.item_incree a {
    width: 30px;
    height: 30px;
    background: #005783;
    padding: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;

}

.control_para {
    display: inline-block;
    width: 180px;
    white-space: nowrap;
    overflow: hidden !important;
    text-overflow: ellipsis;
}

.item_incree svg {
    color: #fff;
}

.item_incree input {
    width: 30px;
    height: 30px;
    background: #fff;
    padding: 5px;
    border-radius: 5px;
    border: none;
    text-align: center;
    outline: none;
    box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px;
}

.pa_rl {
    padding: 0px 10px;
}

.price_calculation_box {
    background-color: #0061721e;
    padding: 0px 10px;
    border-radius: 10px;
}

.Dis_price_item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 0px !important;
}

.Dis_price_item p {
    font-size: 12px !important;
    color: #005783 !important;
}

.backbg {
    background-color: #00ff9156;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px !important;
    border-radius: 5px !important;
}

.backbg p {
    margin: 0 !important;
    padding: 0 !important;
    font-weight: 510 !important;
    color: #005783 !important;
    font-size: 16px !important;


}

.total_price_item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 0px;
}

.total_price_item p {
    font-size: 18px;
    font-weight: bold;
    color: #818181;
}

.total_price_box {
    margin: 10px 0px;

}

.total_price_item input {
    border: none;
    outline: none;
    width: 120px;
    border-radius: 5px;
    height: 30px;
    padding: 10px;
    box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px;

}

.total_price_box {
    width: 100%;
}

.total_price_box a {
    background-color: #fff;
    padding: 3px 20px;
    width: 33%;
    text-decoration: none;
    list-style: none;
    border-radius: 5px;
    margin: 0px 5px;
    box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px;

}

.button {
    width: 100%;
    border-radius: 15px;
    padding: 10px;
    margin: 10px 0px;
    background-color: #04a8c5;
    color: #fff;
    outline: none;
    cursor: pointer;
    border: none;
    box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px;

}

.service_all_bos {
    height: calc(100vh - 180px);
    width: 100%;
    overflow-y: auto;


}

.service_all_boss {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
}

.service_all_bos::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #F5F5F5;
    border-radius: 10px;

}

.service_all_bos::-webkit-scrollbar {
    width: 10px;
    background-color: #F5F5F5;

}

.service_all_bos::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-image: -webkit-gradient(linear,
            left bottom,
            left top,
            color-stop(0.44, rgb(210, 217, 231)),
            color-stop(0.72, rgb(151, 178, 212)),
            color-stop(0.86, rgb(88, 114, 191)));
}

.service_card {
    overflow: hidden;
    border-radius: 10px;
    width: 19%;
    height: fit-content;
    background: #fff;
    box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px;

}

.servuce_img {
    width: 100%;
    height: 150px;

}

.select_input {
    width: 70%;
    height: 100%;
    outline: none;
    border: none;
    font-size: 16px;
    font-weight: 300;
    color: #005783;
}

.servuce_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.price_product {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: bold;
    color: #005783;
}

.service_name {
    padding: 0px 10px 5px 10px;
    font-size: 14px;
    font-weight: 300;
    color: #818181;
}


/* bill invoice css */


/* popup style  */
.body_bil {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 5;
    overflow: hidden;
    overflow-y: auto;
    display: flex;
    padding: 20px 10px;
    justify-content: center;
}

.show-popup-btn {
    padding: 10px 20px;
    background-color: #3b82f6;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#popup {
    max-width: 340px;
    background-color: white;
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    border: 1px solid #e5e7eb;
    z-index: 20;
    height: fit-content;
}

.btn_container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
}

.popup-header {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

.invoice-name {
    margin-right: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
    font-size: 10px;
    color: #666;
}

.close-popup-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: #ef4444;
    cursor: pointer;
}


#invoice-POS {
    background: #FFF;
}


#invoice-POS h1 {
    font-size: 1.5em;
    color: #222;
}

#invoice-POS h2 {
    font-size: .9em;
}

#invoice-POS h3 {
    font-size: 13px;
    font-weight: 500;
    line-height: 2em;
}

#invoice-POS h4 {
    font-size: 16px;
    font-weight: 300;
    line-height: 2em;
}

p {
    font-size: .7em;
    color: #666;
    line-height: 1.2em;
}

#top,
#mid,
#bot {
    /* Targets all id with 'col-' */
    border-bottom: 1px solid #EEE;
    width: 100%;
}



#top {
    display: flex;
    justify-content: center;
}

#mid {
    min-height: 80px;
}

#bot {
    min-height: 130px;
}


#top .logo {
    width: 200px !important;
    height: auto !important;
}

#top .logo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
}

.popup-content {
    max-width: 340px;
}

#bot table {
    min-height: 130px;
}

#bot table tr td {
    color: #666;
    font-size: 10px;
}

@media print {
    .popup-content {
        page-break-inside: avoid;
    }

    table,
    table tr {
        page-break-inside: avoid;
    }
}

.popup-content .info {
    display: block;
    margin-left: 0;
}

.popup-content .title p {
    text-align: right;
}


.tabletitle {
    padding: 5px;
    font-size: .5em;
    background: #EEE;

}

.service {
    border-bottom: 1px solid #EEE;
}

.itemtext {
    font-size: 10px;
    font-weight: 400;
}



#legalcopy {
    margin-top: 5mm;
}


#invoice-POS h3 {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

.search-input {
    position: relative;
}


.autocom-box {
    padding: 10px 0;
    max-height: 280px;
    overflow-y: auto;
    position: absolute;
    top: 65px;
    width: 100%;
    min-height: 100px;
    background: #fff;
    box-shadow: 0px 1px 5px 3px rgba(0, 0, 0, 0.12);
    border-radius: 5px;
    z-index: 1000;
}



.autocom-box li {
    list-style: none;
    padding: 8px 12px;
    color: #3b82f6;
    width: 100%;
    border-radius: 3px;
    cursor: pointer;
}

.loader {
    width: 20px;
    height: 20px;
    border: 2px solid #FFF;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}