.same-height-widget {
    height: 300px;
    /* Set the desired uniform height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.table {

    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    border: 1px solid #ddd;
    padding: 8px;
}

.table th {
    background-color: #f2f2f2;
    text-align: left;
}

.table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.py-1 {
    padding-top: 5px;
    padding-bottom: 5px;
}

.pt-1 {
    padding-top: 5px;
}

.pb-1 {
    padding-bottom: 5px;
}

.pb-2 {
    padding-bottom: 10px;
}

@media print {

    /* @page {
        size: A4 landscape;
        margin: 0 0 10px 0;

    } */


    /* Hide layout UI */
    .fi-topbar,
    aside,
    .overflox-x-clip,
    header,
    .fi-sidebar-close-overlay,
    .fi-ta-header-toolbar {
        display: none !important;
    }


    /* Make sure table content stays visible */
    .fi-ta {
        color: black !important;
        background: white !important;
        position: absolute;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
    }

    table {
        page-break-after: auto;
    }

    tr,
    td {
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }

    thead {
        display: table-header-group;
    }

    tfoot {
        display: table-footer-group;
    }

    /* Optional: force white background */
    body,
    html {
        font-size: 10pt ! important;
        /* background: white !important; */
    }
}