@media print {
    /* pdf accettazione in stampa */

    body:has(.pdf-accettazione-container) {
        background: unset !important;
    }

    .pdf-accettazione-container {
        padding: 0 !important;
    }

    .pdf-accettazione-container {
        --base-font: 11px !important;
        --bs-border-color: #cbd1d7 !important;
        width: 100%;
    }

    /* table */
    .pdf-accettazione-container table thead tr th {
        padding: 2px 4.8px !important;
    }

        .pdf-accettazione-container table tbody tr td {
            font-size: 12px !important;
            height: 21px !important;
            padding: 2px 4.8px !important;
        }

            .pdf-accettazione-container table tbody tr td.checklist-item-check {
                position: relative;
            }

                .pdf-accettazione-container table tbody tr td.checklist-item-check svg {
                    display: none;
                    position: absolute;
                    height: 18px;
                    width: 18px;
                    right: 50%;
                    top: 50%;
                    transform: translate(50%,-50%);
                }

                .pdf-accettazione-container table tbody tr td.checklist-item-check.checked svg {
                    display: block;
                }

                /* option box */

        .pdf-accettazione-container .option-with-box .option {
            /*height: 20px !important;*/
            height: 17.5px !important;
            /*width: 30px !important;*/
            width: 27.5px !important;
        }

            .pdf-accettazione-container .option-with-box .option:has(svg) {
                position: relative;
            }

            .pdf-accettazione-container .option-with-box .option svg {
                color: #495057;
                font-size: calc(var(--base-font) + 4px);
                height: 18px !important;
                position: absolute;
                right: 50%;
                top: 50%;
                transform: translate(50%,-50%);
            }
}

.pdf-accettazione-container {
    --base-font: 14px;
    padding: 0.5cm;
    display: flex;
    flex-direction: column;
    font-size: var(--base-font);
    gap: 16px;
    justify-self: center;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 21cm;
}

    .pdf-accettazione-container .option-with-box {
        align-items: center;
        display: flex;
        flex-direction: row;
        gap: 8px;
        justify-content: end;
    }

        .pdf-accettazione-container .option-with-box .title {
            font-size: var(--base-font);
            font-weight: bold;
        }

        .pdf-accettazione-container .option-with-box .option {
            align-content: center;
            border: 2px solid #495057;
            font-size: calc(var(--base-font) - 2px);
            line-height: 14px;
            height: 26px;
            width: 26px;
            text-align: center;
        }

            .pdf-accettazione-container .option-with-box .option:has(.fa.fa-x) {
                position: relative;
            }

            .pdf-accettazione-container .option-with-box .option .fa.fa-x {
                color: #495057;
                font-size: calc(var(--base-font) + 4px);
                position: absolute;
                right: 50%;
                top: 50%;
                transform: translate(50%,-50%);
            }

    .pdf-accettazione-container table {
        margin-bottom: 0px;
    }

        .pdf-accettazione-container table thead tr th, .pdf-accettazione-container table .table-header {
            font-size: var(--base-font);
            color: #495057 !important;
            /*line-height: 23px;*/
        }

        .pdf-accettazione-container table tbody tr td {
            white-space: nowrap;
            font-size: calc(var(--base-font) - 2px);
            height: 30.1px;
        }

    .pdf-accettazione-container .pdf-row-input {
        background: transparent;
        border: 1px solid lightgrey;
        color: var(--bs-table-color);
        width: 100%;
        outline-color: transparent;
        outline-width: 1px;
    }

        .pdf-accettazione-container .pdf-row-input:focus, .pdf-accettazione-container .pdf-row-input:focus-visible {
            border: 1px solid lightgrey;
            outline-color: lightgrey;
            outline-width: 1px;
        }

    .pdf-accettazione-container .sigla-operatore-accettazione {
        border: 2px solid black;
        height: 35px;
        width: 90px;
    }
