/* ── Activity ── */

/* Activity card uses row-based padding via items, reset card padding */
.card:has(> .activity-item) { padding: 0; }
.activity-item:first-child { border-radius: var(--radius-md) var(--radius-md) 0 0; }
.activity-item:last-child { border-radius: 0 0 var(--radius-md) var(--radius-md); }
.activity-item:only-child { border-radius: var(--radius-md); }

/* Scan entries — clean list with comfortable spacing */
.activity-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  transition: background 0.1s;
}
.activity-item:last-child {
  border-bottom: none;
}
.activity-item:nth-child(even) {
  background: color-mix(in srgb, var(--gray-100) 53%, transparent);
}
.activity-item:hover {
  background: var(--gray-100);
}

/* Status dot */
.activity-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

/* Info block */
.activity-info {
  flex: 1;
  min-width: 0;
}
.activity-product {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 2px;
}
.activity-meta {
  font-size: 11px;
  color: var(--text-muted);
}
.activity-short {
  font-size: 11px;
  color: var(--accent-primary);
  font-weight: 500;
}

/* Timestamp — subtle/muted */
.activity-time {
  font-size: 12px;
  color: var(--text-muted);
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Device icon */
.activity-device-icon {
  flex-shrink: 0;
  color: var(--text-muted);
  display: flex;
  align-items: center;
}

/* Device detail (OS · Browser) */
.activity-device-detail {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 1px;
}

/* Location in meta */
.activity-location {
  color: var(--text-muted);
}

/* Empty state */
.activity-empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-muted);
  font-size: 14px;
}
