/* Loan Calculator specific styles */

.split-bar {
  display: flex;
  height: 18px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--border-color);
  margin-top: 1rem;
}

.split-principal {
  background: var(--primary-color);
}

.split-interest {
  background: #f59e0b;
}

.split-legend {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: #6b7280;
  margin-top: 0.5rem;
}

.split-legend .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 0.35rem;
}

.dot.principal {
  background: var(--primary-color);
}

.dot.interest {
  background: #f59e0b;
}

.table-title {
  margin-top: 1.5rem;
  font-size: 1.1rem;
}

.results-card .table-wrapper {
  max-height: 400px;
  overflow-y: auto;
}

.results-card .data-table thead th {
  position: sticky;
  top: 0;
}
