body{
    /* font-family: sans-serif; */
    margin: 0;
    padding: 20px;
}
h1 {
    text-align: center;
    color:black;
}
h4 {
text-align: center;
}
#generate-sheet-button{
    background-color: orange;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;

}
#generate-text-area{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 20px;
}
textarea{
    max-width: 500px;
    margin-bottom: 10px;
}
#generate-sheet-button, #clear-sheet-button { /* Style both buttons */
    margin: 5px; /* Add some space between the buttons */
 }


 #barcode-container {
  display: grid;
  gap: 5px;
  background-color: #ffffff;
  padding: 5px;
}

#barcode-container.code128-layout {
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 15px;
  justify-content: stretch;
  padding: 0;
}

#barcode-container.datamatrix-layout {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

 #barcode-container > div { 
  background-color: rgba(255, 255, 255, 0.8);
  text-align: center;
}

#barcode-container.code128-layout > div {
  /* Font styling now handled by bwip-js canvas */
}

#barcode-container.datamatrix-layout > div {
  font-family: monospace;
  font-size: 12px;
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 4px;
} 

footer {
  text-align: center;
}