table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 13px;
}

th, td {
    border: 1px solid #000; /* darker for print */
    padding: 6px;
    text-align: left;
}

th {
    background-color: #eaeaea; /* Dompdf safe (avoid dark colors) */
    color: #000;
    font-weight: bold;
}

/* Total row highlight */
.total-row td {
    font-weight: bold;
    background: #f5f5f5;
}

/* Section spacing */
.challan {
    margin-bottom: 15px;
    page-break-inside: avoid;
}

/* Header styling */
h2, h3 {
    text-align: center;
    margin: 5px 0;
}

/* Print optimization */
@media print {
    body {
        margin: 0;
    }
}
}