/* Style the table */
table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    margin-top: 1px;
}

/* Style the table header */
thead {
    background-color: #f1f1f1;
}

th, td {
    border: 1px solid #ddd;
    text-align: center;
    padding: 1px;
}

/* Style the table body */
tbody tr:nth-child(even) {
    background-color: #f6f6f6;
}

tbody tr:hover {
    background-color: #f1f1f1;
}

/* Bold text for subtotals and overall total */
.bold-text {
    font-weight: bold;
}

/* Red text for special conditions */
.red-text {
    color: red;
}

/* Your regular styles go here */

/* Print Styles */
@media print {
    #upload, button {
      display: none;
    }
  
    #preview table {
      width: 100%;
      font-size: 12px;
    }
  
    @page {
      size: auto;
      margin: 20mm; /* Adjust the margin as needed */
    }
  }
    