.ticket-invoice {
    max-width: 300px;
    padding: 16px 8px;
    margin-inline: auto;
    color: #000 !important;
    background-color: #fff;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
.ticket-invoice * {
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
    line-height: 180%;
    color: inherit;
}
.ticket-header h2{
    font-size: 20px;
    line-height: 0px;
}
.m-0 {
    margin: 0 !important;
}
.mt-0 {
    margin-top: 0 !important;
}
.text-center {
    text-align: center;
}
.d-block{
    display: block;
}
.ticket-logo {
    margin: 0 auto;
}
.ticket-logo img{
    max-width: 150px;
    display: block;
    text-align: center;
    margin: 0 auto;
}

.fw-bold {
    font-weight: bold;
}

.ticket-invoice hr {
    border-top: 1px solid #000;
    opacity: 1;
    margin: 0;
}

.ticket-invoice hr:not(:last-child) {
    margin-bottom: 4px;
}

.ticket-invoice__sitename {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 0;
    text-align: center;
    line-height: 100%;
    border-block: 1px solid #000;
    padding: 6px 0px;
}


.ticket-invoice__barcode p {
    font-weight: 700;
    text-decoration-line: underline;
    text-decoration-thickness: 1px;
    text-align: center;
    margin-bottom: 4px;
}

.ticket-invoice__barcode img {
    max-width: 150px;
    display: block;
    margin-inline: auto;
}

.ticket-invoice table {
    width: 100%;
}

.ticket-invoice table thead tr>th:nth-child(3) {
    width: 50px;
}

.ticket-invoice table thead tr>th:nth-child(4),
.ticket-invoice table thead tr>th:nth-child(5) {
    width: 50px;
}

.ticket-invoice table thead tr>th:not(:first-child),
.ticket-invoice table tbody tr>td:not(:first-child) {
    white-space: nowrap;
}

.ticket-invoice table thead>tr:last-child {
    border-bottom: 2px solid #000;
}

.ticket-invoice table tbody tr.amount-row td> :first-child {
    border-top: 1px solid #000;
    margin-top: 8px;
}

.ticket-invoice table tbody>tr.amount-row td> :last-child {
    border-top: 1px dashed black;
    margin-top: 8px;
}

.ticket-invoice table tbody>tr.amount-row td> :last-child span {
    font-size: 18px;
    font-weight: 700;
}

.ticket-invoice table th,
.ticket-invoice table td {
    line-height: 100%;
}

.ticket-invoice table th:not(:first-child):not(:last-child),
.ticket-invoice table td:not(:first-child):not(:last-child) {
    text-align: center;
}

.ticket-invoice table th:first-child,
.ticket-invoice table td:first-child {
    text-align: left;
}

.ticket-invoice table th:last-child,
.ticket-invoice table td:last-child {
    text-align: right;
}

.ticket-invoice table th {
    padding-bottom: 6px;
}

.ticket-invoice table th span {
    font-size: 6px;
    line-height: 1;
    display: block;
}

/* invoice css goes here */
@media print {
    body {
        -webkit-print-color-adjust: exact;
    }

    .modal-backdrop,
    .navbar-wrapper,
    .sidebar,
    .ticket-details-wrapper,
    .iziToast-wrapper,
    .page-title {
        visibility: hidden !important;
        display: none !important;
    }
}