/* Print Styles */


.header {
    display: flex;
    justify-content: space-between;
}

.header-part {
    width: 30%;
}

.header-part img {
    width: 200px;
    height: 200px;
}



.company-details p {
    margin: 0
}

.center {
    text-align: center;
}

.logo {
    margin: 0;
}

.to-right {
    text-align: right;
}

.to-left {
    text-align: left;
}

@media print {
    @page {
        size: A4;
        margin: 1cm;
    }

    body {
        margin: 0;
        padding: 0;
        font-family: Arial, sans-serif;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }

   

    .content-wrapper {
        margin-top: 5px;
        margin-bottom: 16px;
        background-color: white;
    }

    /* Table Styles */
    table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 1rem;
        page-break-inside: auto;
    }

    thead {
        display: table-header-group;
    }

    tr {
        page-break-inside: avoid;
        page-break-after: auto;
    }

    th, td {
        border: 1px solid #e5e7eb;
        padding: 0.5rem;
        text-align: right;
    }

    thead tr {
        background-color: #f9fafb !important;
    }

    tbody tr:nth-child(even) {
        background-color: #f9fafb !important;
    }

    /* Page Breaks */
    .page-break {
        page-break-after: always;
    }

    .accounting-entry {
        page-break-inside: avoid;
    }

        .accounting-entry:last-child + .page-break {
            display: none;
        }

    /* Company Logo */
    .company-logo {
        max-height: 60px;
        width: auto;
        object-fit: contain;
    }

    /* Utilities */
    .print\:shadow-none {
        box-shadow: none !important;
    }

    .print\:bg-white {
        background-color: white !important;
    }

    .print\:p-4 {
        padding: 1rem !important;
    }
}

/* Regular Styles */


.bg-gray-50 {
    background-color: #F9FAFB;
}

.bg-white {
    background-color: #FFFFFF;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-sm {
    font-size: 0.875rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-2 {
    padding: 0.5rem;
}

.p-4 {
    padding: 1rem;
}

.pt-4 {
    padding-top: 1rem;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.grid {
    display: grid;
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-end {
    justify-content: flex-end;
}

.flex-wrap {
    flex-wrap: wrap;
}

.border {
    border: 1px solid #E5E7EB;
}

.border-t {
    border-top: 1px solid #E5E7EB;
}

.border-b-2 {
    border-bottom: 2px solid #E5E7EB;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.text-gray-600 {
    color: #4B5563;
}

.text-red-600 {
    color: #DC2626;
}

.text-green-600 {
    color: #059669;
}

.overflow-hidden {
    overflow: hidden;
}

.overflow-x-auto {
    overflow-x: auto;
}
