body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #f0f2f5;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 1000px;
  margin: 30px auto;
  background: #fff;
  padding: 25px 30px;
  /* border-radius: 12px; */
  /* box-shadow: 0 5px 20px rgba(0,0,0,0.1); */
}

h2 {
  text-align: center;
  margin-bottom: 25px;
  color: #333;
}

.settings,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 25px;
  justify-content: center;
}

.settings input[type="text"] {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  width: 250px;
}

.settings input[type="file"] {
  border: none;
}

.settings img {
  height: 60px;
  width: 60px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid #ccc;
}

button {
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  background: #1976d2;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background: #135ba1;
}

#labels {
  display: grid;
  grid-template-columns: repeat(2, 400px);
  gap: 15px;
  justify-content: center;
}

.label {
  width: 400px;
  height: 100px;
  border: 1px solid #000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  box-sizing: border-box;
  page-break-inside: avoid;
  font-family: Arial, sans-serif;
  /* border-radius: 8px; */
  /* box-shadow: 0 2px 8px rgba(0,0,0,0.1); */
}

.left {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 120px;
}

.left img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 6px;
}

.company-name {
  font-weight: bold;
  margin-top: 5px;
  font-size: 14px;
  text-align: center;
}

.center {
  flex: 1;
  text-align: center;
  padding-right: 30px;
}

.plant-name {
  font-size: 35px;
  font-weight: 600;
}

.botanical-name {
  font-size: 16px;
  font-style: italic;
  color: #555;
}

@media print {
  .actions,
  h2,
  .settings {
    display: none;
  }
  #labels {
    grid-template-columns: repeat(2, 400px);
    justify-content: center;
    gap: 15px;
  }
}
