/* Finance calculator widgets */
.fc-widget {
  font-family: Inter, system-ui, sans-serif;
  color: #111827;
}

.fc-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.fc-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}

.fc-form input,
.fc-form select {
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 15px;
  background: #fff;
}

.fc-btn {
  grid-column: 1 / -1;
  padding: 12px 20px;
  border: 0;
  border-radius: 10px;
  background: #4f46e5;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.fc-btn:hover {
  background: #4338ca;
}

.fc-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.fc-kpi {
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  border-radius: 10px;
  padding: 14px;
}

.fc-kpi label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6366f1;
  margin-bottom: 6px;
  font-weight: 700;
}

.fc-kpi strong {
  font-size: 1.25rem;
  line-height: 1.2;
}

.fc-note {
  margin: 16px 0 0;
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
}

html[data-theme="dark"] .fc-widget { color: #f1f5f9; }
html[data-theme="dark"] .fc-form input,
html[data-theme="dark"] .fc-form select {
  background: #1e293b;
  border-color: #334155;
  color: #f1f5f9;
}
html[data-theme="dark"] .fc-kpi {
  background: #312e81;
  border-color: #4338ca;
}

.fc-compare-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.fc-compare-widget .fc-form {
  margin-top: 16px;
}
