/* Bake Costing Calculator Specific Styles */
.bake-calculator {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #e7c9e5;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  margin: 0 auto;
}

.bake-calculator h1 {
  text-align: center;
  color: #2c3e50;
  font-size: 1.8rem;
  margin-bottom: 30px;
}

.bake-calculator .section {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.bake-calculator .section h2 {
  color: #34495e;
  font-size: 1.2rem; /* Reduced font size */
  margin-bottom: 15px;
}

.bake-calculator input,
.bake-calculator button 
{
  margin-right: 12px; /* Adjust the space between inputs */
  padding: 8px;
  font-size: 0.9rem; /* Keep input/button font size the same */
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  margin-bottom: 15px;
}
.note {
  font-size: 1rem; /* Adjust the font size as needed */
}

/* Adjusted ingredient input fields */
.bake-calculator .ingredient-inputs {
  flex: 1; /* Ensures input fields take up equal space */
  flex-direction: column;
  align-items: center;
}

/* Specific widths for ingredient input fields */
.bake-calculator .ingredient-name {
  max-width: 180px; /* Set a fixed width for ingredient name */
}

.bake-calculator .ingredient-cost {
  max-width: 120px; /* Set a fixed width for cost input */
}

.bake-calculator .ingredient-quantity {
  max-width: 120px; /* Set a fixed width for quantity input */
}

.bake-calculator button {
  background-color: #28a745;
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border-radius: 5px;
  padding: 10px 15px;
}

.bake-calculator .remove-ingredient {
  background-color: #dc3545;
  color: white;
  margin-left: 10px;
  padding: 10px 15px;
}

.bake-calculator .remove-ingredient:hover {
  background-color: #c82333;
  color: white;
}

.bake-calculator select {
  padding: 8px;
  font-size: 0.9rem; /* Reduced font size */
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-bottom: 15px;
}

/* Tabs for Common Ingredients */
.bake-calculator .tabs {
  background-color: #f5f5f5;
  border: 1px solid #dcdcdc;
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.bake-calculator .tabs h2 {
  width: 100%;
  font-size: 1rem; /* Keep tab font size the same */
  color: #34495e;
}

.bake-calculator .common-ingredient-btn {
  background-color: #b84888;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 0.9rem; /* Keep button font size the same */
  max-width: 100px;
}

.bake-calculator .common-ingredient-btn:hover {
  background-color: #000000;
}
