body {
  font-family: Arial, sans-serif;
  background-color: #fff;
  padding: 20px;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
}

.controls {
  text-align: center;
  margin-bottom: 20px;
}

.product-selection {
  margin-bottom: 15px;
}

.product-selection label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  color: #333;
}

.product-dropdown {
  padding: 8px 12px;
  border: 2px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
  background-color: #fff;
  min-width: 250px;
  margin-bottom: 10px;
}

.product-dropdown:focus {
  border-color: #ff4c1e;
  outline: none;
}

.btn {
  background-color: #ff4c1e;
  color: white;
  border: none;
  padding: 10px 20px;
  margin: 5px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
}

.btn:hover {
  background-color: #e03e1a;
}

.btn-secondary {
  background-color: #6c757d;
}

.btn-secondary:hover {
  background-color: #545b62;
}

.btn-danger {
  background-color: #dc3545;
}

.btn-danger:hover {
  background-color: #c82333;
}

.nutrition-table {
  width: 100%;
  max-width: 900px;
  margin: 20px auto;
  border-collapse: collapse;
  position: relative;
  text-align: center;
}

.nutrition-table tbody {
  background: url('../images/600px.png') center center no-repeat;
  background-size: 60%;
}

.nutrition-table th {
  background-color: #000;
  color: #ff4c1e;
  text-align: center;
  padding: 20px;
  font-weight: bold;
}

.nutrition-table td {
  border: 1px solid #333;
  padding: 8px 10px;
  background-color: rgba(255, 255, 255, 0.9);
  position: relative;
  text-align: center;
}

.nutrition-table tr {
  height: 40px;
  text-align: center;
}

.nutrition-table th:first-child,
.nutrition-table td:first-child {
  width: 45%;
  text-align: center;
}

.nutrition-table th:nth-child(2),
.nutrition-table td:nth-child(2) {
  width: 45%;
  text-align: center;
}

.nutrition-table th:last-child {
  display: none;
}

.nutrition-table td:last-child {
  width: 10%;
  text-align: center;
}

.editable-cell {
  background: transparent;
  border: none;
  width: 100%;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  outline: none;
  text-align: center;
}

.editable-cell:focus {
  background-color: rgba(255, 76, 30, 0.1);
}

.remove-btn {
  background-color: #dc3545;
  color: white;
  border: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 5px;
}

.remove-btn:hover {
  background-color: #c82333;
}

.insert-btn {
  background-color: #28a745;
  color: white;
  border: none;
  padding: 4px 8px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 5px;
}

.insert-btn:hover {
  background-color: #218838;
}

.empty-row {
  opacity: 0.7;
}

.table-actions {
  text-align: center;
  margin-top: 20px;
}

.exceptional-row {
  background-color: #f8f9fa !important;
}

.exceptional-row td {
  background-color: rgba(248, 249, 250, 0.95) !important;
  border: 2px solid #333;
  font-style: italic;
}

.exceptional-cell {
  font-style: italic;
  text-align: left;
  color: #666;
}

.exceptional-cell:focus {
  background-color: rgba(255, 76, 30, 0.05);
}
