/* Date-grouped transactions timeline */
/* Shared by the dashboard and the account / debt / goal detail pages. */

.transactions-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.transaction-group__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
  padding: 0 0.25rem;
}

.transaction-group__date {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* The day's net of real flows (transfers and neutral lines excluded). */
.transaction-group__total {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
}

.transaction-group__total--muted {
  color: var(--text-muted);
  font-weight: 500;
}

/* One block per day: rows sit inside a single card, separated internally. */
.transaction-group__items {
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-resting);
  overflow: hidden;
}
