/* BMI Calculator — component styles */

/* ── History List ──────────────────────────────────────── */
.bmi-history {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.bmi-history-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}

.bmi-history-item:last-child {
  border-bottom: none;
}

.bmi-history-item__bmi {
  font-weight: 700;
}

.bmi-history-item__category {
  color: var(--slate);
}

.bmi-history-item__meta {
  color: var(--slate);
  font-size: 0.75rem;
  white-space: nowrap;
}

/* ── Recommendations ───────────────────────────────────── */
.bmi-recommendations {
  margin: 0.5rem 0;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bmi-recommendations__item {
  font-size: 0.9rem;
  line-height: 1.5;
}

.bmi-recommendations__item--success {
  color: #16a34a;
}

.bmi-recommendations__item--warning {
  color: #d97706;
}

.bmi-recommendations__item--danger {
  color: #dc2626;
}

.bmi-recommendations__item--info {
  color: #2563eb;
}
