/* ============================================================================
   專案名稱: IRVault - 統一交易記錄頁面專屬樣式表 (history-page.css)
   視覺規範: Cyberpunk / Modern Dark | 繼承自 css/vault.css 與 css/addresses-page.css
   ============================================================================ */

.history-filter-tabs .segmented-tab-btn {
  font-size: 12px;
  padding: 8px 6px;
}

.history-empty-state {
  font-size: 12px;
  color: var(--text-sub);
  text-align: center;
  padding: 24px 8px;
  line-height: 1.6;
}

.history-key-hint {
  display: block;
  font-size: 12px;
  line-height: 1.6;
  color: var(--c-warn);
  background: var(--c-warn-soft);
  border: 1px solid var(--c-warn-line);
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 8px;
  text-decoration: none;
}

.history-list-container {
  gap: 0;
}

.history-row {
  text-decoration: none;
  color: inherit;
  gap: 10px;
}

.history-row-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
}

.history-icon-send {
  background: var(--c-danger-soft);
  color: var(--c-danger);
  border: 1px solid var(--c-danger-line);
}

.history-icon-receive {
  background: var(--c-accent-soft);
  color: var(--c-accent);
  border: 1px solid var(--c-accent-line);
}

.history-icon-swap {
  background: var(--c-info-soft);
  color: var(--c-info);
  border: 1px solid var(--c-info-line);
}

.history-row-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.history-row-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
}

.history-row-sub {
  font-size: 11.5px;
  color: var(--text-sub);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history-row-time {
  font-size: 10.5px;
  color: var(--c-text-3);
}

.history-row-amount {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}

.history-row-amount.amount-out {
  color: var(--c-danger);
}

.history-row-amount.amount-in {
  color: var(--c-accent);
}
