onClick(device.id)}
+ className={`cursor-pointer rounded-xl border-2 bg-[var(--color-surface)] p-3 shadow-md transition-transform hover:scale-105 hover:shadow-lg min-w-[120px] max-w-[160px]${isPulsing ? " animate-pulse" : ""}`}
+ style={{ borderColor: borderColour }}
+ title={`${displayName} — ${device.ip_address}`}
+ >
+
+
+ {device.is_gateway ? "🌐" : icon}
+
+
+
+ {displayName}
+
+
+ {device.ip_address}
+
+
+
+ {device.highest_severity && (
+
+ {device.highest_severity}
+
+ )}
+ {!device.highest_severity && (
+
+ clean
+
+ )}
+
+