.roi-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.input-section {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

.problem-scenarios {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.scenario-card {
  background: #fff;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 15px;
  transition: border-color 0.3s;
}

.scenario-card:hover {
  border-color: #2E3280;
}

.scenario-card h4 {
  margin-top: 0;
  color: #dc3545;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.form-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}

.range-input {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.range-input input[type="range"] {
  flex: 1;
}

.range-value {
  min-width: 80px;
  font-weight: bold;
  color: #2E3280;
}

.time-breakdown {
  font-size: 0.9em;
  color: #666;
  margin-top: 5px;
}

.lost-report-options {
  display: flex;
  gap: 15px;
  margin-top: 10px;
  align-items: center;
}

.lost-report-options label {
  font-size: 0.9em;
  margin-bottom: 0;
}

.lost-report-options input[type="number"] {
  width: 80px;
  padding: 5px;
}

.results-section {
  border-radius: 8px;
  padding: 25px;
  margin: 20px 0;
}

/* 3-Column ROI Comparison Layout */
.roi-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin: 20px 0;
}

.comparison-column {
  background: #fff;
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  border: 2px solid #ddd;
}

.comparison-column h3 {
  color: #333;
  margin-bottom: 20px;
  font-size: 1.1em;
}

/* Current Costs Column */
.current-costs {
  border-color: #6c757d;
}

/* ServiceZoid Costs Column */
.servicezoid-costs {
  border-color: #6c757d;
}

/* Result Savings Column - Only Green */
.result-savings {
  border-color: #28a745;
}

.result-savings h3 {
  color: #28a745;
}

/* Simple Time Display */
.time-display {
  margin-bottom: 20px;
}

.time-value {
  font-size: 2.5em;
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
}

.time-label {
  font-size: 0.9em;
  color: #666;
}

/* Simple Cost Display */
.total-cost {
  margin-top: 20px;
}

.cost-value {
  font-size: 2.2em;
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
}

.cost-period {
  font-size: 0.9em;
  color: #666;
}

/* Calculation Line */
.calculation {
  margin: 15px 0;
}

.calc-line {
  font-size: 0.9em;
  color: #666;
}

/* Cost Breakdown */
.cost-breakdown {
  margin: 15px 0;
}

.cost-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.9em;
  color: #666;
}

/* Savings Display - Green Only Here */
.savings-display, .roi-display {
  margin-bottom: 20px;
}

.savings-label, .roi-label {
  font-size: 0.9em;
  color: #666;
  margin-bottom: 5px;
}

.savings-value, .roi-value {
  font-size: 2.5em;
  font-weight: bold;
  color: #28a745;
  margin-bottom: 5px;
}

/* Time and Cost Values */
.time-total {
  margin-bottom: 20px;
}

.time-value {
  display: block;
  font-size: 2.5em;
  font-weight: bold;
  color: #2E3280;
  margin-bottom: 5px;
}

.time-label {
  font-size: 0.9em;
  color: #666;
}

.cost-calculation {
  margin-top: 20px;
}

.calculation-line {
  font-size: 0.9em;
  color: #666;
  margin-bottom: 10px;
}

.cost-result .cost-amount {
  display: block;
  font-size: 2.2em;
  font-weight: bold;
  color: #dc3545;
}

.cost-period {
  font-size: 0.9em;
  color: #666;
}

/* ServiceZoid Costs */
.servicezoid-costs {
  margin-bottom: 20px;
}

.cost-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding: 8px;
  background: #f8f9fa;
  border-radius: 6px;
}

.cost-label {
  font-size: 0.9em;
  color: #666;
}

.cost-value {
  font-weight: bold;
  color: #007bff;
}

.with-servicezoid .cost-result .cost-amount {
  color: #007bff;
}

/* Savings Highlight */
.savings-highlight {
  margin-bottom: 25px;
}

.savings-amount {
  margin-bottom: 15px;
}

.savings-value {
  display: block;
  font-size: 3em;
  font-weight: bold;
  color: #28a745;
  text-shadow: 2px 2px 4px rgba(40, 167, 69, 0.2);
}

.savings-period {
  font-size: 1em;
  color: #666;
}

.savings-calculation {
  font-size: 0.9em;
  color: #666;
  margin-top: 10px;
}

/* ROI Display */
.roi-display {
  margin-bottom: 20px;
}

.roi-value {
  font-size: 2.5em;
  font-weight: bold;
  color: #28a745;
  margin-bottom: 5px;
}

.roi-label {
  font-size: 0.9em;
  color: #666;
}

/* Success Badge */
.success-badge {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
  padding: 15px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1em;
}


/* Mobile Responsive */
@media (max-width: 768px) {
  .roi-comparison {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .comparison-column {
    padding: 20px;
  }
  
  .result-savings {
    order: -1; /* Show result first on mobile */
  }
  
  .time-value, .cost-value, .savings-value, .roi-value {
    font-size: 2em;
  }
}

.cost-breakdown {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.cost-item {
  text-align: center;
  padding: 15px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
}

.cost-value {
  display: block;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 5px;
}

.servicezoid-savings {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  margin: 20px 0;
}

.payback-time {
  font-size: 1.5em;
  font-weight: bold;
  color: #28a745;
  margin: 10px 0;
}

.cta-section {
  background: #2E3280;
  color: white;
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  margin-top: 20px;
}

.cta-button {
  background: #28a745;
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  margin: 10px;
}

.cta-button:hover {
  background: #218838;
}

.hidden {
  display: none;
}