body{
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.calculator-container {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.calculator-container h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  color: #111827;
}

.intro {
  color: #4b5563;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.rate-benchmarks {
  background: #F3F7FF;
  border: 1px solid #D2E3FF;
  padding: 1.6rem 1.8rem;
  border-radius: 12px;
  margin-bottom: 2.5rem;
}

.rate-benchmarks h2 {
  color: #1E3A8A;
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}

.benchmark-list li strong {
  color: #1E40AF;
}

.calculator-grid {
  display: flex;
  gap: 2rem;
  align-items: stretch;
}

.calculator-grid > * {
  display: flex;
  flex-direction: column;
}

.result-summary {
  margin-top: 1.5rem;
  background: #f3f4f6;
  padding: 1rem;
  border-radius: 8px;
  line-height: 1.5;
  color: #374151;
  font-size: 0.95rem;
}

.calculator-form {
  flex: 1;
  background: #ffffff;
  padding: 1.8rem;
  border-radius: 12px;
  border: 1px solid #E5E7EB;
  box-shadow: 0 4px 10px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.calculator-form label {
  font-weight: 600;
  font-size: 0.95rem;
  color: #374151;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.calculator-form input {
  padding: 0.75rem;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  font-size: 1.1rem;
  transition: border 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.calculator-form input:focus {
  border-color: #2563EB;
  outline: none;
}

.calculate-button {
  padding: 0.9rem 1rem;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.5rem;
  width: 100%;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.calculate-button:hover {
  background: #1E40AF;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.calculator-results {
  flex: 1;
  background: #ffffff;
  padding: 1.8rem;
  border-radius: 12px;
  border: 1px solid #E5E7EB;
  box-shadow: 0 4px 10px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
}

.calculator-results h2 {
  margin-top: 0;
  color: #111827;
  font-weight: 700;
}

.result-line {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid #E5E7EB;
  color: #374151;
}

.results-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
}

.results-table th {
  background: #F3F4F6;
  padding: 0.7rem;
  font-size: 0.9rem;
  color: #111827;
  border-bottom: 2px solid #E5E7EB;
}

.results-table td {
  padding: 0.7rem;
  border-bottom: 1px solid #E5E7EB;
  font-size: 0.9rem;
  color: #374151;
  text-align: center;
}

@media (max-width: 800px) {
  .calculator-grid {
    flex-direction: column;
  }
  body > section > div.rate-benchmarks > ul {
    padding-left: 15px;
  }
}

.chart-wrapper {
  width: 100%;
  height: 350px;
  margin-top: 2rem;
}

#growthChart {
  width: 100% !important;
  height: 100% !important;
}

/* Tooltip styles for charts */
.benchmark-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
}

.benchmark-table thead {
  background: #E8EFFD;
}

.benchmark-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: #1E3A8A;
  font-weight: 700;
  border-bottom: 2px solid #D2E3FF;
}

.benchmark-table td {
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
  color: #374151;
  border-bottom: 1px solid #E5E7EB;
}

.benchmark-table tr:last-child td {
  border-bottom: none;
}

.bench-disclaimer {
  margin-top: 1rem;
  background: #F0F4FF;
  border-left: 4px solid #1E40AF;
  padding: 0.9rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  color: #374151;
  line-height: 1.5;
}



