.transaction-main-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.transaction-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.type-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.type-dot.expense { background: #f87171; }
.type-dot.income  { background: #00c284; }

.transaction-category-icon {
  display: flex;
  align-items: center;
  color: #666;
  flex-shrink: 0;
}

.transaction-category-icon svg {
  width: 24px;
  height: 24px;
}

.transaction-category {
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #666;
}

.transaction-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.transaction-date {
  font-size: 14px;
  white-space: nowrap;
}

.financial-transaction-footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 10px;
}

.amount {
  text-align: center;
  white-space: nowrap;
}

.amount-main {
  font-weight: 500;
}

.amount-decimal {
  font-size: 0.6em;
  font-weight: 400;
  opacity: 0.65;
}

.amount-percentage {
  font-size: 0.7em;
  font-weight: 400;
  opacity: 0.7;
}

/* Clickable transaction card */
.transaction-card-link {
  border-bottom: 1px solid #e0e0e0;
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}

.container:has(.transaction-card-link):hover {
  box-shadow: 0 4px 6px rgba(0,0,0,0.15);
  transform: translateY(-2px);
  transition: all 0.15s ease;
}

.transaction-note {
  border-top: 1px solid #f3f4f6;
  padding: 8px 0 0;
  font-size: 14px;
  color: #6b7280;
}

.transaction-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1;
}

.transaction-tag {
  font-size: 12px;
  color: #6b7280;
  background: #f3f4f6;
  padding: 2px 8px;
  border-radius: 10px;
}

.transaction-actions {
  display: flex;
  gap: 12px;
}

.transaction-actions a,
.transaction-actions button {
  color: #a0a0a0;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.15s ease;
}

.transaction-actions a:hover {
  color: #6b7280;
}

.transaction-actions button:hover {
  color: #ef4444;
}