/* Light Theme CSS for Grow a Garden Calculator with Greenish Vibe */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f5f9f0 !important;
  color: #2c3e2e !important;
  padding: 5px;
}

.container {
  background: #ffffff !important;
  padding: 1.5vw;
  border-radius: 15px;
  max-width: 100%;
  margin: auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e8e0;
}

.top-controls {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 15px 0;
}

#layoutToggleBtn {
  font-size: 16px;
  text-decoration: none;
  background: linear-gradient(145deg, #4a9f5a, #3d8a4e);
  color: #ffffff !important;
  padding: 10px 15px;
  border-radius: 8px;
  border: 1px solid #3d8a4e !important;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  font-weight: 500;
}

#layoutToggleBtn:hover {
  background: linear-gradient(145deg, #55b366, #4a9f5a);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.top-controls a {
  font-size: 16px;
  text-decoration: none;
  background: linear-gradient(145deg, #3d8a4e, #347542);
  color: #ffffff !important;
  padding: 10px 15px;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border: 1px solid #347542;
  font-weight: 500;
}

.top-controls a:hover {
  background: linear-gradient(145deg, #4a9f5a, #3d8a4e);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.section-title {
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 15px;
  color: #2c5e3e;
  border-bottom: 1px solid #d0e8d0;
  padding-bottom: 8px;
}

input[type="number"], input[type="text"] {
  padding: 12px;
  font-size: 18px;
  width: 150px;
  background: #f5f9f0 !important;
  color: #2c3e2e !important;
  border: 1px solid #b8d8b8 !important;
  border-radius: 8px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

#plantSearch {
  padding: 12px;
  font-size: 16px;
  width: 100%;
  max-width: 400px;
  margin-bottom: 15px;
  border-radius: 8px;
  background: #f5f9f0 !important;
  color: #2c3e2e !important;
  border: 1px solid #b8d8b8 !important;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

#plantSearch:focus {
  border-color: #4a9f5a !important;
  box-shadow: 0 0 8px rgba(74, 159, 90, 0.3), inset 0 1px 3px rgba(0, 0, 0, 0.05);
  outline: none;
}

input[type="number"]:focus, input[type="text"]:focus {
  border-color: #4a9f5a !important;
  box-shadow: 0 0 8px rgba(74, 159, 90, 0.3), inset 0 1px 3px rgba(0, 0, 0, 0.05);
  outline: none;
}

.result {
  font-size: 64px;
  margin-top: 20px;
  color: #2c5e3e;
  text-shadow: 0 0 10px rgba(74, 159, 90, 0.2);
}

button {
  font-size: 16px;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  background: linear-gradient(145deg, #4a9f5a, #3d8a4e) !important;
  color: #ffffff !important;
  border: 1px solid #3d8a4e !important;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  font-weight: 500;
}

button:hover {
  background: linear-gradient(145deg, #55b366, #4a9f5a) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

button:active {
  transform: translateY(1px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 25px;
  margin-bottom: 20px;
}

.button-group button {
  flex: 1;
  min-width: 150px;
  text-align: center;
  padding: 12px 20px;
  font-weight: 500;
}

.category-toggle-button {
  font-size: 16px;
  padding: 12px 20px;
  background: linear-gradient(145deg, #f0f5eb, #e5eee0);
  border: 1px solid #d0e8d0;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #2c5e3e;
  font-weight: 500;
}

.category-toggle-button:hover {
  background: linear-gradient(145deg, #e5eee0, #d8e5d0);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.category-toggle-button.active {
  background: linear-gradient(145deg, #4a9f5a, #3d8a4e);
  border-color: #3d8a4e;
  box-shadow: 0 0 10px rgba(74, 159, 90, 0.3);
  color: #ffffff;
}

.fruit-button {
  transition: all 0.3s ease;
  border-radius: 10px;
  padding: 5px;
  background: #f5f9f0;
  border: 1px solid #e0e8e0;
}

.fruit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background: #e5eee0;
}

.fruit-button.active {
  box-shadow: 0 0 15px 5px rgba(74, 159, 90, 0.2);
  border: 2px solid #4a9f5a;
  background: #e5eee0;
}

.fruit-button img {
  transition: opacity 0.3s ease;
}

.fruit-button.active img {
  opacity: 1;
}

/* Headings Styling */
.input-heading {
  text-align: left;
  font-size: 24px;
  margin-top: 20px;
  margin-bottom: 15px;
  color: #2c5e3e;
  border-bottom: 1px solid #d0e8d0;
  padding-bottom: 8px;
  font-weight: 500;
}

/* Formula and Display Styling */
#selectedModifiersFormulaExplain {
  margin-top: 8px;
  font-size: 14px;
  color: #5a7a5a;
  font-style: italic;
  padding: 5px 10px;
  background: rgba(74, 159, 90, 0.05);
  border-radius: 5px;
  display: inline-block;
}

#selectedModifiersDisplay {
  margin-top: 15px;
  font-size: 18px;
  color: #2c5e3e;
  padding: 8px 12px;
  background: rgba(74, 159, 90, 0.1);
  border-radius: 8px;
  border-left: 3px solid #4a9f5a;
}

#mutationBreakdown {
  margin-top: 15px;
  font-size: 18px;
  color: #2c5e3e;
  padding: 8px 12px;
  background: rgba(74, 159, 90, 0.1);
  border-radius: 8px;
  border-left: 3px solid #4a9f5a;
}

/* Value to Weight Box Styling */
#valueToWeightBox {
  margin-top: 25px;
  padding: 20px;
  background: rgba(74, 159, 90, 0.05);
  border-radius: 10px;
  border: 1px solid #d0e8d0;
  display: none;
}

#valueToWeightBox .input-block {
  margin-bottom: 15px;
}

#valueToWeightBox label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #2c5e3e;
}

#valueToWeightBox button {
  margin-top: 10px;
  margin-bottom: 15px;
  background: linear-gradient(145deg, #3d8a4e, #347542) !important;
  border-color: #347542 !important;
}

#valueToWeightBox button:hover {
  box-shadow: 0 0 10px rgba(74, 159, 90, 0.3);
  background: linear-gradient(145deg, #4a9f5a, #3d8a4e) !important;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f5f9f0;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb {
  background: #4a9f5a;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #3d8a4e;
}

/* Modifier buttons */
.modifier-button {
  margin: 5px;
  padding: 10px;
  border-radius: 8px;
  background-color: #f0f5eb;
  color: #2c5e3e;
  border: 1px solid #d0e8d0;
  cursor: pointer;
  transition: all 0.3s;
}

.modifier-button.active {
  box-shadow: 0 0 10px 2px rgba(74, 159, 90, 0.3);
  background-color: #e5eee0;
  border-color: #4a9f5a;
  color: #2c5e3e;
}

.modifier-button.disabled {
  opacity: 0.3;
  pointer-events: none;
}

#togglePriceRangeBtn.active {
  background-color: #e5eee0;
  border-color: #4a9f5a;
  box-shadow: 0 0 10px 4px rgba(74, 159, 90, 0.3);
}