body {
    min-height: 100vh;
}

.cert-input {
    max-width: 12rem;
}

.pdf-frame {
    width: 100%; /* Ensures the parent container is also flexible */
    /* min-height: 24rem; */
    /* max-height: 42rem; */
    max-height: 24rem; /* need 24rem to guarantee landscape mode */
    overflow-y: auto;
    /* border: 1px solid var(--bs-border-color); */
    /* border-radius: 0.375rem; */
    border: none;
    background: #fff;
}

.pdf-frame img {
    display: block;
    width: 100%;
    height: auto;
}

#UserId {
      text-transform: uppercase;
}

/* for pdf display */
iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 767.98px) {
    .audit-table table,
    .audit-table thead,
    .audit-table tbody,
    .audit-table th,
    .audit-table td,
    .audit-table tr {
        display: block;
    }

    .audit-table thead {
        display: none;
    }

    .audit-table tr {
        border-bottom: 1px solid var(--bs-border-color);
        padding: .75rem;
    }

    .audit-table td {
        border: 0;
        display: flex;
        justify-content: space-between;
        gap: 1rem;
        padding: .35rem 0;
        text-align: right;
    }

    .audit-table td::before {
        color: var(--bs-secondary-color);
        content: attr(data-label);
        font-weight: 600;
        text-align: left;
    }
}

@media print {
    .print-hidden,
    .btn,
    footer,
    header {
        display: none !important;
    }

    body {
        background: #fff !important;
    }

    .card {
        border: 0 !important;
        box-shadow: none !important;
    }

    .audit-table {
        overflow: visible !important;
    }

    .audit-table table {
        display: table !important;
        width: 100% !important;
        table-layout: fixed;
    }

    .audit-table thead {
        display: table-header-group !important;
    }

    .audit-table tbody {
        display: table-row-group !important;
    }

    .audit-table tr {
        display: table-row !important;
        border-bottom: 0;
        padding: 0;
    }

    .audit-table th,
    .audit-table td {
        display: table-cell !important;
        border: 1px solid #dee2e6;
        padding: .25rem .35rem;
        text-align: left;
        vertical-align: top;
        word-break: break-word;
    }

    .audit-table th.print-hidden,
    .audit-table td.print-hidden {
        display: none !important;
    }

    .audit-table td::before {
        content: none !important;
    }

    .table {
        font-size: 12px;
    }
}
