@media print {
  /* Hide image during print */
  #image-upload, 
  #image-preview {
    /* display: none; */
  }
  #invoice-image{
    display: none;
  }
  /* label{
    display: none;
  } */
   #upload{
    display: none;
   }
  #invoice-table1{
    display: none;
  }
  h3{
    display: none;
  }
  button,
  th:last-child,
  td:last-child {
    display: none;
  }

  /* Hide the form for adding new items */
  #item-form {
    display: none;
  }

  /* Hide the print button */
  #print-invoice {
    display: none;
  }

  /* Show total amount and items during print */
  .summary {
    display: block;
  }

  /* Set the print color dynamically */
  body {
    background-color: inherit;
    color: var(--print-color, black); /* Default to black if no color is chosen */
  }

  .container {
    background-color: inherit; /* Remove background color when printing */
  }

  table th, table td {
    color: var(--print-color, black); /* Set print text color */
  }
}
@media print {
  /* Hide image during print */
  #image-upload,
  #image-preview,
  #uploaded-image {
    /* display: none; */
  }

  /* Hide other elements that are not needed for printing */
  button,
  th:last-child,
  td:last-child {
    display: none;
  }

  /* Hide the form for adding new items */
  #item-form {
    display: none;
  }

  /* Hide the print button */
  #print-invoice {
    display: none;
  }

  /* Show total amount and items during print */
  .summary {
    display: block;
  }

  /* Set the print color dynamically */
  body {
    background-color: inherit;
    color: var(--print-color, black); /* Default to black if no color is chosen */
  }

  .container {
    background-color: inherit; /* Remove background color when printing */
    color:inherit;
  }

  table th, table td {
    color: var(--print-color, black); /* Set print text color */
  }
  .invoice{
    color:inherit;
  }
textarea{
  color:inherit;
}
#invoiceDate{
  color:inherit;
}
}
