body {
    font-family: sans-serif;
    padding: 30px;
    line-height: 1.6;
}

.header {
    text-align: center;
    border-bottom: 2px solid #000;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.judul {
    font-size: 18px;
    font-weight: bold;
    text-decoration: underline;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th,
td {
    text-align: left;
    padding: 10px;
    border: 1px solid #000;
    vertical-align: top;
}

th {
    background-color: #f2 f2 f2;
    width: 30%;
}

.footer {
    margin-top: 50px;
    text-align: right;
}

.ttd {
    margin-top: 70px;
}

@media print {
    .no-print {
        display: none;
    }

    /* Perkecil ukuran font tabel dikit biar hemat ruang */
    table {
        font-size: 16px;
    }

    td,
    th {
        padding: 4px !important;
        /* Kurangi jarak antar tulisan */
    }

    /* Paksa container TTD supaya tidak ganti halaman kalau tidak terpaksa banget */
    .ttd-container {
        page-break-inside: avoid;
        margin-top: 20px !important;
        /* Kurangi margin top dari 50px ke 20px */
    }

    page {
        margin: 5cm;
    }

    img {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .table-report {
        width: 100%;
        border-collapse: collapse;
        margin-top: 20px;
    }

    .table-report th,
    .table-report td {
        border: 1px solid #000;
        padding: 8px;
        text-align: left;
    }

    .badge-urgensi {
        padding: 3px 8px;
        border-radius: 4px;
        color: white;
        font-weight: bold;
    }

    @media print {
        .no-print {
            display: none;
        }
    }
}
