/* Food Tree Calculator CSS */
.ftc-calculator-wrapper {
  max-width: 600px;
  margin: 2rem auto;
  background: #f8fafc;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(60,60,60,0.08);
  padding: 2rem 2.5rem 2.5rem 2.5rem;
  font-family: 'Inter', Arial, sans-serif;
  position: relative;
}
.ftc-title {
  color: #256029;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
}
.ftc-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2rem;
}
.ftc-input-group {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.ftc-input-group label {
  min-width: 180px;
  font-weight: 500;
  color: #333;
}
.ftc-slider-value {
  min-width: 40px;
  font-weight: 600;
  color: #4caf50;
  text-align: right;
}
input[type="range"] {
  flex: 1;
  accent-color: #4caf50;
  height: 4px;
  background: #e0e0e0;
  border-radius: 2px;
}
input[type="range"]:hover {
  box-shadow: 0 0 0 3px #c8e6c9;
  transition: box-shadow 0.2s;
}
.ftc-results {
  background: #e8f5e9;
  border-radius: 12px;
  padding: 1.5rem 1.2rem 1.2rem 1.2rem;
  margin-top: 1rem;
}
.ftc-summary {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.2rem;
}
.ftc-summary-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.ftc-summary-item:hover {
  box-shadow: 0 2px 12px rgba(76,175,80,0.10);
  background: #f1f8e9;
  transition: box-shadow 0.2s, background 0.2s;
  cursor: pointer;
}
.ftc-summary-label {
  color: #555;
  font-size: 0.98rem;
}
.ftc-summary-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: #333;
}
.ftc-green {
  color: #4caf50 !important;
}
.ftc-red {
  color: #e53935 !important;
}
.ftc-arrow {
  font-size: 1.2rem;
  color: #bdbdbd;
  margin: 0 0.3rem;
}
#ftc-revenue-chart {
  display: block;
  margin: 0 auto 1.2rem auto;
  max-width: 95%;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(60,60,60,0.04);
}
.ftc-details {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}
.ftc-kpis {
  display: flex;
  justify-content: space-between;
  gap: 1.2rem;
  margin-top: 1.2rem;
}
.ftc-kpi {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(60,60,60,0.04);
  padding: 1rem 1.2rem;
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.ftc-kpi:hover {
  box-shadow: 0 2px 12px rgba(76,175,80,0.10);
  background: #f1f8e9;
  transition: box-shadow 0.2s, background 0.2s;
  cursor: pointer;
}
.ftc-kpi-label {
  color: #888;
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}
.ftc-kpi-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #256029;
  margin-top: auto;
}
.ftc-subtext {
  font-size: 0.98rem;
  color: #555;
  text-align: center;
  margin-bottom: 1.2rem;
  margin-top: -1rem;
}
.ftc-info {
  display: inline-flex;
  align-items: center;
  margin-left: 0.3em;
  font-size: 0.95em;
  color: #256029;
  cursor: pointer;
  position: relative;
}
.ftc-info[data-tooltip]:hover:after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 120%;
  background: #333;
  color: #fff;
  padding: 0.35em 0.7em;
  border-radius: 6px;
  white-space: nowrap;
  font-size: 0.92em;
  z-index: 10;
  opacity: 1;
  pointer-events: none;
}
.ftc-info[data-tooltip]:hover {
  color: #388e3c;
}
.ftc-version {
  font-size: 0.75rem;
  color: #aaa;
  position: absolute;
  right: 18px;
  bottom: 10px;
  z-index: 2;
  pointer-events: none;
}
.ftc-number-input {
  width: 70px;
  margin-left: 0.5em;
  padding: 0.2em 0.4em;
  border: 1px solid #c8e6c9;
  border-radius: 6px;
  font-size: 1em;
  text-align: right;
  background: #fff;
  color: #256029;
  box-sizing: border-box;
  transition: border 0.2s;
}
.ftc-number-input:focus {
  outline: 2px solid #4caf50;
  border-color: #4caf50;
}
@media (max-width: 700px) {
  .ftc-calculator-wrapper {
    padding: 1rem 0.5rem;
  }
  .ftc-summary, .ftc-details, .ftc-kpis {
    flex-direction: column;
    gap: 0.7rem;
  }
} 