@media print {
    .not-print {
        display: none !important;
    }

    .ar {
        font-size: 18px !important;
    }

    .patientFile .row>* {
        width: 20%;
    }

    .patientFile .check {
        width: 50% !important;
    }

    .patientFile .data-content {
        display: flex;
        gap: 10px;
        align-items: center;
        width: 100%;
    }

    .patientFile .data-content div {
        width: 50%;
    }

    .patientFile .data-content div p {
        font-size: 10px;
        white-space: nowrap;
    }

    .patientFile .wrapper {
        display: flex;
    }

    .patientFile .wrapper .parent {
        display: flex;
        flex-direction: column;
    }

    .patientFile .wrapper .parent .data-content div {
        width: 100%;
    }

    .patientFile .wrapper .parent .data-content div textarea {
        min-height: 140px !important;
        width: 100%;
    }

    .data-content {
        display: flex;
        gap: 10px;
        align-items: center;
        width: 100% !important;
    }

    .data-content div {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        width: 100% !important;
    }

    .data-content div div {
        width: 50%;
    }

    .data-content div div p {
        font-size: 8px !important;
        white-space: wrap !important;
    }

    .data-content div div.holder {
        width: 100% !important;
    }

    .data-content div div.holder .special {
        width: 100% !important;
    }

    .data-content div div.holder .special textarea {
        width: 100% !important;
        min-height: 100px !important;
    }

    .casher-invoice .invoice-content .logo-holder .the_image {
        width: 10px !important;
    }

    .casher-invoice .invoice-content .invoice-name {
        font-size: 10px !important;
    }

    .casher-invoice .the_address p {
        font-size: 10px !important;
    }

    .casher-invoice .tax {
        font-size: 10px;
    }

    .casher-invoice .the_date {
        font-size: 10px;
    }

    .casher-invoice div b {
        font-size: 10px !important;
    }

    .casher-invoice .main-table tr th {
        font-size: 7px;
        padding: 4px;
    }

    .casher-invoice .main-table tr td {
        font-size: 7px;
        padding: 4px;
    }

    .casher-invoice .bototm-table .dd {
        font-size: 10px !important;
    }

    .casher-invoice .bototm-table .dd .nn {
        font-size: 10px !important;
    }

    .casher-invoice .wel {
        margin: auto !important;
        padding: 0 !important;
        font-size: 11px !important;
        text-align: center !important;
    }

    .casher-invoice .bar_code_holder {
        width: 40% !important;
    }

    .casher-invoice .bar_code_holder svg {
        width: 100% !important;
        height: 100% !important;
    }

    .casher-invoice .parent-boxes-info {
        margin-top: 10px !important;
        width: 60% !important;
    }
}

.casher-invoice {
    width: 100%;
    font-size: 13px;
    min-height: 100vh;
    background-color: var(--bg-f7f6fe);
}

@media print {
    .casher-invoice {
        padding: 0 !important;
        font-size: 12px;
    }

    .casher-invoice .container {
        width: 100% !important;
        padding: 0 !important;
        max-width: 100% !important;
    }

    .casher-invoice td,
    .casher-invoice th {
        padding: 2px !important;
    }
}

.casher-invoice .invoice-content .logo-holder .the_image {
    width: 125px;
    height: auto;
    max-width: 100%;
}

.casher-invoice .invoice-content .bototm-table b {
    font-size: 15px;
    color: var(--fg-444444);
    font-weight: 600;
}

@media print {
    .casher-invoice .invoice-content .bar_code_holder {
        width: 42% !important;
    }

    .casher-invoice .invoice-content .bar_code_holder svg {
        width: 100% !important;
    }
}

.casher-invoice .invoice-content .parent-boxes-info {
    width: 35%;
}

.casher-invoice .invoice-content .parent-boxes-info .box-info-border {
    border: 1px dotted var(--bd-000000);
    padding: 2px;
    display: flex;
    font-size: 14px !important;
    align-items: center;
    gap: 1px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.cover-holder {
    display: flex;
    flex-direction: column;
}

.cover-holder .img-parent {
    width: 220px;
    height: 220px;
    cursor: pointer;
}

.cover-holder .img-cover {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.holder-info {
    display: block;
    background-color: var(--bg-2d84cb);
    padding: 6px 8px;
    border-radius: 8px;
    margin-bottom: 6px;
    color: var(--fg-ffffff);
}

.table-invoice {
    border: 1px solid var(--bd-bbbbbb) !important;
}

.table-invoice .duble-border {
    border-bottom-width: 2px;
    border-bottom-color: var(--bd-000000);
}

.table-invoice td {
    border-bottom: 1px solid var(--bd-bbbbbb) !important;
    border-top: 1px solid var(--bd-bbbbbb) !important;
    border-right: 1px solid var(--bd-bbbbbb) !important;
    border-left: 1px solid var(--bd-bbbbbb) !important;
    vertical-align: middle;
    padding: 9px !important;
    font-size: 13px;
    font-weight: bold;
}

.table-invoice th {
    border-top: 1px solid var(--bd-bbbbbb) !important;
    background-color: var(--bg-f4f4f4);
    border-right: 1px solid var(--bd-bbbbbb) !important;
    font-size: 13px !important;
    padding: 9px !important;
    font-weight: bolder;
    border-bottom: 1px solid var(--bd-bbbbbb) !important;
    border-left: 1px solid var(--bd-bbbbbb) !important;
}

.table-invoice .td-head {
    background-color: var(--bg-f4f4f4);
    border-left: 1px solid var(--bd-bbbbbb) !important;
    text-align: right;
    font-size: 12px !important;
    font-weight: bold;
    width: 30%;
}

.barcode {
    max-width: 150px !important;
}

@media print {
    .content-print * {
        direction: rtl;
    }

    .printContract .col-lg-4 {
        flex: 0 0 33.333333% !important;
        max-width: 33.333333% !important;
    }

    .parent-barcode {
        width: 25%;
    }

    .table-invoice {
        margin: 0;
    }

    .table-invoice th {
        font-size: 10px !important;
    }

    .table-invoice td {
        font-size: 10px !important;
    }

    .dashboard-card {
        visibility: hidden;
    }

    .not-print {
        display: none !important;
    }

    .dashboard-content {
        width: 100% !important;
        margin-right: 0 !important;
    }
}

.inv-grand-total {
    font-weight: 700;
    color: var(--primary-deep);
}

.inv-lines-table td {
    vertical-align: top;
}

.inv-lines-table .form-control {
    min-width: 90px;
}

.inv-lines-table .inv-line-item,
.inv-lines-table .inv-line-item + .select2-container {
    min-width: 200px;
}

@media (max-width: 767.98px) {
    .inv-lines-table thead {
        display: none;
    }

    .inv-lines-table,
    .inv-lines-table tbody,
    .inv-lines-table tr,
    .inv-lines-table td {
        display: block;
        width: 100%;
    }

    .inv-lines-table tr {
        margin-bottom: 12px;
        padding: 10px 12px;
        border: 1px solid var(--bd-e3e2df);
        border-radius: 10px;
    }

    .inv-lines-table td {
        padding: 6px 0 !important;
        border: 0 !important;
        text-align: start !important;
    }

    .inv-lines-table td[data-label]::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 4px;
        font-size: 12px;
        font-weight: 700;
        color: var(--primary-deep);
    }

    .inv-lines-table .inv-line-item,
    .inv-lines-table .inv-line-item + .select2-container {
        min-width: 0;
    }
}
