/* bill invoice design start */
.line-h-20{
    line-height: 20px !important;
}

.invoice_print .print-btn{
    background: blue;
    border: none;
    color: white;
    border-radius: 8px;
    margin-top: 10px;
}
.card-body.invoice-bill{
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.invoice-bill .header_info h2{
    font-size: 20px;
    font-weight: 600;
    line-height: 30px;
    color: #212121;
}
.invoice-bill .header_info p{
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color:  #656565;
}

.invoice-bill .header_info p span{
    font-weight: 500;
}

.invoice-logo img{
    width: 88px;
    height: 82px;
}

.b-bottom{
    border-bottom: 4px solid #DADADA;
}

.invoice-bill .invoice-button{
    padding: 4px 16px;
    border-radius: 27px;
    border: 1px solid #656565;
    background: transparent;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    color: #212121;
}

.invoice-bill.payment-receipt .invoice-button{
    border-radius: 0px;
    border: 0px;
}

.invoice-bill .customer_info .details_info, .invoice-bill .invoice_info .details_info{
    display: flex;
    margin-bottom: 4px;
}

.invoice-bill .customer_info .details_info p, .invoice-bill .invoice_info .details_info p{
    margin-bottom: 0px;
}


.invoice-bill .customer_info .details_info p:first-child, .invoice-bill .invoice_info .details_info p:first-child{
    width: 110px;
    font-size: 14px;
    font-weight: 500;
    line-height: 17px;
    color: #111827;
}
.invoice-bill .invoice_info.bill-invoice .details_info p:first-child{
    width: 135px;
}
.invoice-bill .customer_info .details_info p:first-child, .invoice-bill .invoice_info.bill-invoice .details_info p:last-child{
    width: 115px;
}
.invoice-bill .customer_info.Supplier-info .details_info p:first-child{
    width: 130px;
}
.invoice-bill .customer_info.Supplier-info .details_info p:last-child{
    width: 210px;
}


.invoice-bill .customer_info .details_info p:last-child, .invoice-bill .invoice_info .details_info p:last-child{
    width: 230px;
    font-size: 14px;
    font-weight: 500;
    line-height: 17px;
    color:  #4B5563;
}
.invoice-bill.payment-receipt .customer_info .details_info p:last-child{
    width: 180px;
}
.invoice-bill .invoice_info .details_info p:last-child{
    text-align: right;
    width: 80px;
}
.invoice-bill .invoice_info.bill_info .details_info p:last-child, .invoice-bill.sales .invoice_info .details_info p:last-child{
    text-align: right;
    width: 98px;
}

.table.invoice-table thead th {
    border: 1px solid#BEBEC1;
    background: #F3F4F6;
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 18px;
    color: #191919;
    padding:16px;
}

.table.invoice-table tbody td {
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #111827;
    border: 1px solid#BEBEC1;
    text-align: left;
    white-space: normal;
    padding: 16px;
}





.table.invoice-table tfoot th {
    background: transparent;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    color: #101010;
    padding: 16px;
    border-bottom: 1px solid  #BEBEC1;
}
.invoice-table tfoot th:first-child {
    border-left: 1px solid  #BEBEC1;
}
.invoice-table tfoot th:last-child {
    border-right: 1px solid  #BEBEC1;
}

.invoice-bill .total_amount{
    display: grid;
    grid-template-columns: 66% 34%;
}
.invoice-bill .total_amount .amount_title p{
    font-size: 16px;
    font-weight: 700;
    color: #212121;
    margin-bottom: 0px;
}
.invoice-bill .total_amount .amount_data .amount_data_info{
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.invoice-bill .total_amount .amount_data .amount_data_info p{
    margin-bottom: 0px;
}

.invoice-bill .total_amount .amount_data .amount_data_info p:first-child{
    font-size: 16px;
    font-weight: 500;
    color: #4B5563;
}
.invoice-bill .total_amount .amount_data .amount_data_info p:last-child{
    font-size: 16px;
    font-weight: 500;
    color:#212121;
}

.invoice-bill .invoice_signature .customer, .invoice-bill .invoice_signature .authorized{
    border-top: 1px solid
    #212121;
}


.invoice-bill .invoice_signature .customer p, .invoice-bill .invoice_signature .authorized p{
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color:#212121;
    margin-bottom: 0px;
}


.bg-light-gray{
    background-color: #ebebeb;
}
.container.print-max-w{
    max-width: 750px !important;
}

.invoice-bill .footer p{
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #5B5B5B;
    margin-bottom: 0px;
}

/* --------------- invoicetable css start ---------------*/

.invoice-table, .invoice-summary {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.invoice-bill.payment-receipt .table tbody  tr:nth-child(odd) {
    background-color: #E8E1CC;
}


/* .invoice-table th, .invoice-table td, .invoice-summary td {
    border: 1px solid #1F1F1F;
    padding: 5px 10px;
    text-align: left;
} */

.table.invoice.invoice-table th {
    background-color: #00B050;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 18px;
    border: 1px solid #1F1F1F;
    padding: 5px 10px;
}

.table.invoice.invoice-table tbody td{
    font-size: 10px;
    color: #1F1F1F;
    border: 1px solid #1F1F1F;
    padding: 5px 10px;
}

.invoice-table td{
    font-size: 10px;
    font-weight: 500;
    line-height: 20px;
    color: #1F1F1F;
}

.invoice-table .custom-td {
    background-color: transparent !important;
    color: #686868;
}
.invoice-table .custom-td.text {
    color: #686868 !important;
}
.invoice-table .custom-td.total {
   font-weight: 600;
}

.invoice-table .custom-total-td{
    font-weight: 600;
    background-color: transparent;
}

.invoice.invoice-table td {
    background-color:  #DDF4F9;
}

.invoice-summary {
    max-width: 300px;
    float: right;
}

.invoice-summary td {
    background-color: #fff;
    border-color: #ccc;
    font-weight: bold;
}

.invoice-summary tr:last-child td {
    background-color: #e0f7fa;
}
.colspan6{
    border-left: 0px !important;
    border-top: 0px !important;
    border-bottom: 0px !important;
    background-color: white !important;

}
/* --------------- invoicetable css end ---------------*/

/* ------------------payslip css start------------------------ */
.customer_info.payslip_info h2{
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    color: #212121;
}
.invoice-bill .customer_info.payslip_info .details_info p:first-child{
    width: 72px;
}
.invoice-bill .customer_info.payslip_customer .details_info p:first-child{
    width: 106px;
}
.invoice-bill .invoice_info.payslip_invoice .details_info p:last-child {
    text-align: right;
    width: 96px;
}
.invoice-bill .customer_info.payslip_info .details_info p:first-child, .invoice-bill .customer_info.payslip_info .details_info p:last-child{

    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color:  #1F1F1F;
}

.table.payslip-table.invoice-table th {
    background-color: #00B050;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 18px;
    border: 1px solid #1F1F1F;
    padding: 5px 10px;
}

.table.payslip-table.invoice-table tbody td{
    font-size: 10px;
    color: #1F1F1F;
    border: 1px solid #1F1F1F;
    padding: 5px 10px;
    line-height: 20px;
    height: 32px;
    text-align: center;
}


/* payment-receipt css start */

.invoice-bill.payment-receipt .invoice_info.bill-invoice .details_info p:first-child{
    width: 85px;
}

.invoice-bill.payment-receipt .invoice_info.bill-invoice .details_info p:last-child {
    width: 118px;

}

.remitance h2{
    font-size: 20px;
    font-weight: 600;
    line-height: 30px;
    color: #5B5B5B;
}

.customer_info.remitance .details_info p:first-child{
    width: 135px;

}
.customer_info.remitance .details_info{
    margin-bottom: 8px;
}

.invoice-bill .footer-top p:first-child{
    font-size: 20px;
    font-weight: 600;
    color: #000000;
    line-height: 25px;
    margin-bottom: 8px;
}

.invoice-bill .footer-top p:last-child{
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    color: #5B5B5B;
}

/* .invoice-bill.payment-receipt .invoice_info .details_info p:last-child{
    text-align: right;
} */

@media print {

    @page {
      size: A4; /* Adjust according to your thermal printer's paper size */


    }
    .header-button {
      display: none !important;
    }
    .print-max-w {
        max-width: 100% !important;
      }

      .table.payslip-table.invoice-table th, .invoice-content .table-container .styled-table thead tr, .invoice-content .table-container .styled-table td{
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
      }

      .table.invoice.invoice-table th{
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;

      }

      .invoice-bill.payment-receipt .table tbody tr:nth-child(odd){
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
      }


  }
