#nutrilabel-container { max-width: 900px; margin: 20px auto; padding: 20px; background: #fff; }
.main-wrapper { display: flex; gap: 30px; flex-wrap: wrap; align-items: flex-start; }
.input-area, .preview-area { flex: 1; min-width: 320px; }
.preview-area { text-align: center; }

/* Improved FDA design */
.nutrition-fact-box {
  width: 280px;
  border: 1px solid black;
  padding: 12px;
  background: white;
  color: black;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.15;
  margin: 0 auto;
}
.facts-title {
  font-size: 32px;
  font-weight: 900;
  text-align: center;
  margin: 8px 0 4px;
  text-transform: uppercase;
  letter-spacing: -1px;
}
.header-section {
  border-bottom: 12px solid black;
  margin-bottom: 4px;
}
.serving-info {
  border-bottom: 6px solid black;
  padding-bottom: 4px;
  margin-bottom: 4px;
}
.serving-size {
  display: flex;
  justify-content: space-between;
  font-weight: 900;
  font-size: 16px;
}
.calories-section {
  border-bottom: 12px solid black;
  padding: 4px 0;
}
.calories-value {
  font-size: 42px;
  font-weight: 900;
  float: right;
}
.amount-label {
  font-size: 12px;
  margin-bottom: 4px;
}
.dv-header {
  text-align: right;
  font-weight: 900;
  font-size: 10px;
  border-bottom: 1px solid black;
  padding: 2px 0;
}
.nutrient-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid black;
  padding: 4px 0;
  font-size: 14px;
}
.nutrient-row.sub { padding-left: 16px; }
.nutrient-row.sub-indent { padding-left: 32px; }
.nutrient-row.thick-bottom { border-bottom: 6px solid black; }
.micro-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #ddd;
  padding: 4px 0;
  font-size: 12px;
}
.footer-note {
  font-size: 10px;
  font-style: italic;
  padding-top: 8px;
  line-height: 1.2;
}

#export-btn {
    margin-bottom: 15px;
    background: #00c389;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 6px;
}